diff options
author | Michael Brauer <mib@openoffice.org> | 2000-12-02 09:57:15 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-12-02 09:57:15 +0000 |
commit | 89bbf41f22528a65b315c6e0e0d1ecfb0d6fe5ae (patch) | |
tree | f3f5c6c5f0c63695043f45db9c751507a2531f58 /sw/source/filter/xml/xmlfmte.cxx | |
parent | e6fe15be1d26c68a87107ff95c88db5e511deb02 (diff) |
#80795#: use packages
Diffstat (limited to 'sw/source/filter/xml/xmlfmte.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlfmte.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx index 6f426c1b93d5..329ac9fbcd67 100644 --- a/sw/source/filter/xml/xmlfmte.cxx +++ b/sw/source/filter/xml/xmlfmte.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlfmte.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: mib $ $Date: 2000-11-23 14:42:37 $ + * last change: $Author: mib $ $Date: 2000-12-02 10:57:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -453,12 +453,19 @@ void SwXMLExport::_ExportAutoStyles() pProgress->SetValue( nContentProgressStart ); GetTextParagraphExport()->SetProgress( nContentProgressStart ); } + + // The order in which styles are collected *MUST* be the same as + // the order in which they are exported. Otherwise, caching will + // fail. + // exported in _ExportMasterStyles + GetPageExport()->collectAutoStyles( sal_False ); + + // exported in _ExportContent Reference < XTextDocument > xTextDoc( GetModel(), UNO_QUERY ); Reference < XText > xText = xTextDoc->getText(); GetTextParagraphExport()->collectFrameBoundToPageAutoStyles( bShowProgress ); GetTextParagraphExport()->collectTextAutoStyles( xText, bShowProgress ); - GetPageExport()->collectAutoStyles( sal_False ); GetTextParagraphExport()->exportTextAutoStyles(); GetPageExport()->exportAutoStyles(); |