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);