From 2ee1d5ff40a1e43b3ee8d91550609254b081da65 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 29 Jan 2020 12:24:23 +0100 Subject: [PATCH] Renamed page splitter --- .../xhtml/{PageSplitter.java => ODFPageSplitter.java} | 2 +- src/main/java/writer2latex/xhtml/content/TextParser.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/writer2latex/xhtml/{PageSplitter.java => ODFPageSplitter.java} (99%) diff --git a/src/main/java/writer2latex/xhtml/PageSplitter.java b/src/main/java/writer2latex/xhtml/ODFPageSplitter.java similarity index 99% rename from src/main/java/writer2latex/xhtml/PageSplitter.java rename to src/main/java/writer2latex/xhtml/ODFPageSplitter.java index 6013429..0a32395 100644 --- a/src/main/java/writer2latex/xhtml/PageSplitter.java +++ b/src/main/java/writer2latex/xhtml/ODFPageSplitter.java @@ -10,7 +10,7 @@ import writer2latex.office.StyleWithProperties; import static writer2latex.office.XMLString.*; import writer2latex.util.Misc; -public class PageSplitter { +public class ODFPageSplitter { static Node truncatedListItemNodeContent = null; static OfficeReader officeReader = null; diff --git a/src/main/java/writer2latex/xhtml/content/TextParser.java b/src/main/java/writer2latex/xhtml/content/TextParser.java index 35995f7..5f8a735 100644 --- a/src/main/java/writer2latex/xhtml/content/TextParser.java +++ b/src/main/java/writer2latex/xhtml/content/TextParser.java @@ -34,7 +34,7 @@ import org.w3c.dom.Element; import writer2latex.util.Misc; import writer2latex.xhtml.Converter; -import writer2latex.xhtml.PageSplitter; +import writer2latex.xhtml.ODFPageSplitter; import writer2latex.xhtml.Parser; import writer2latex.xhtml.StyleInfo; import writer2latex.xhtml.XhtmlConfig; @@ -171,7 +171,7 @@ public class TextParser extends Parser { } //Split pages if (!pageSeparator.equals("none")) { - onode = (Element) PageSplitter.splitSoftPageBreak(onode,ofr); + onode = (Element) ODFPageSplitter.splitSoftPageBreak(onode,ofr); } hnode = (Element)traverseBlockText(onode,hnode);