summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-02-17 08:33:04 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-02-17 09:21:34 +0100
commit4e9a52c7f5ed12e4bb2a716d992edff7aa6c2a7d (patch)
treee3b29370e54626e6aca7c765d89a3be2848910f9 /include/svtools
parent8942956e05f2208ffb666a2118f5db092c30ce6a (diff)
svtools: extract EmbeddedObjectRef::dumpAsXml() from SwOLEObj
Because sw/ doesn't have access to the internals, but dumping should show the state as-is, without calling getters that change the state. Especially GetGraphic() is not a trivial wrapper around mpImpl->pGraphic. Change-Id: I2cf43130d4eeab63611e37b4a978bb7aa546c7f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130056 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/embedhlp.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 05b0b5644122..9ba2a0166c2b 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -37,6 +37,7 @@ namespace com::sun::star::embed {
}
class OutputDevice;
+typedef struct _xmlTextWriter* xmlTextWriterPtr;
namespace svt {
@@ -122,6 +123,8 @@ public:
// fetching the Graphic what would be too expensive e.g. for charts
sal_uInt32 getGraphicVersion() const;
void SetDefaultSizeForChart( const Size& rSizeIn_100TH_MM );//#i103460# charts do not necessarily have an own size within ODF files, in this case they need to use the size settings from the surrounding frame, which is made available with this method
+
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
}