From 8db006046085b103b8d48090f73459e21a57969c Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 30 Aug 2016 16:08:45 +0300 Subject: [PATCH] Hardcoded delete soft page breaks inside section\TOC --- source/java/writer2latex/xhtml/PageSplitter.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/java/writer2latex/xhtml/PageSplitter.java b/source/java/writer2latex/xhtml/PageSplitter.java index 7eac5aa..4acf852 100644 --- a/source/java/writer2latex/xhtml/PageSplitter.java +++ b/source/java/writer2latex/xhtml/PageSplitter.java @@ -477,6 +477,12 @@ public class PageSplitter { sectionFirstPart.appendChild(sectionChildFirstPart); dataMoved=true; } + } else if (nodeName.equals(XMLString.TEXT_TABLE_OF_CONTENT)) { + + //HACK + checkSoftPageBreak(sectionNode, true); + i++; + continue; } break; } else {