summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-07-12 16:37:18 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-07-12 21:08:03 +0200
commit1a8435a23e84f3ceeee580eb9d4404a738d98888 (patch)
tree4f69a838844886417bd491f9cfd4dfc5b074151a /include/xmloff
parentRemove obsolete (cargo-cult copied) dependencies (diff)
downloadcore-1a8435a23e84f3ceeee580eb9d4404a738d98888.tar.gz
core-1a8435a23e84f3ceeee580eb9d4404a738d98888.zip
tdf#65353 separate autostyle collection and export
To be able to look which fonts are in use, we need to collect the autostyles which contains all styles that are used in a document. Previously the autostyles were collected in the same process as they were expoted, so with this commit we separate collaction and export. First we collacte the auto styles, then e can use them in embedded fonts export, the last we export the auto styles themselves. Change-Id: Ib939f1119f4af00a1e5d66fcd2e04b9d2add6881 Reviewed-on: https://gerrit.libreoffice.org/57348 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlexp.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index eeedd1bc09fa..2764516728e2 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -264,6 +264,7 @@ protected:
void SetDocHandler( const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler );
+ bool mbAutoStylesCollected;
public:
SvXMLExport(
@@ -291,6 +292,8 @@ public:
virtual ~SvXMLExport() override;
+ virtual void collectAutoStyles();
+
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
static SvXMLExport* getImplementation( const css::uno::Reference< css::uno::XInterface >& ) throw();