diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-16 15:16:57 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:21 +0100 |
commit | 2e44c2b2b416469798c301ce1e6d6d1ee2a15d6c (patch) | |
tree | 453922aad1a07961cf1b0e3e61ff8d8c715578ed /sd/inc | |
parent | df38ccecea3429cb224aec1b9dfc88ab8ec8c009 (diff) |
sd: add SdDrawDocument::dumpAsXml()
SdDrawDocument inherits from SdrModel which already has an XML dumper,
so just add an sd method that can create the XML writer and then we get
the rest for free.
Change-Id: Iac9bfb779e111f9887f171db6f5bd5151dd7e447
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/drawdoc.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index 524dcba959ce..17d19fd5c6eb 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -591,6 +591,8 @@ public: SAL_DLLPRIVATE bool IsUsingEmbededFonts() { return mbUseEmbedFonts; } SAL_DLLPRIVATE void SetIsUsingEmbededFonts( bool bUse ) { mbUseEmbedFonts = bUse; } + void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE; + private: /** This member stores the printer independent layout mode. Please refer to <member>SetPrinterIndependentLayout()</member> for its |