diff options
Diffstat (limited to 'include/xmloff/txtparae.hxx')
-rw-r--r-- | include/xmloff/txtparae.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx index ec07d1af8112..436c2d2b629e 100644 --- a/include/xmloff/txtparae.hxx +++ b/include/xmloff/txtparae.hxx @@ -114,8 +114,6 @@ class XMLOFF_DLLPUBLIC XMLTextParagraphExport : public XMLStyleExport struct DocumentListNodes; std::unique_ptr<DocumentListNodes> mpDocumentListNodes; - std::vector<sal_Int32> maDocumentNodeOrder; - bool bInDocumentNodeOrderCollection = false; o3tl::sorted_vector<css::uno::Reference<css::text::XTextFrame>> maFrameRecurseGuard; o3tl::sorted_vector<css::uno::Reference<css::drawing::XShape>> maShapeRecurseGuard; @@ -474,7 +472,9 @@ public: exportText( rText, rBaseSection, true, bIsProgress, true/*bExportParagraph*/ ); } - void collectTextAutoStylesAndNodeExportOrder(bool bIsProgress); + // It the model implements the xAutoStylesSupplier interface, the automatic + // styles can exported without iterating over the text portions + void collectTextAutoStylesOptimized( bool bIsProgress ); // This method exports all automatic styles that have been collected. void exportTextAutoStyles(); @@ -540,7 +540,6 @@ public: void PopTextListsHelper(); private: - void RecordNodeIndex(const css::uno::Reference<css::text::XTextContent>& xTextContent); bool ShouldSkipListId(const css::uno::Reference<css::text::XTextContent>& xTextContent); bool ExportListId() const; |