diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-10-21 17:24:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-21 21:18:03 +0200 |
commit | 6243ea0374aca5bf426a3a70428913166bc2cdc8 (patch) | |
tree | ffa74a4696927c4d02e61aefbf4ef3fa3662b0df /sw/inc/pagedesc.hxx | |
parent | 349386559c4283317321772018086e613a5a7b03 (diff) |
Related: tdf#124770 sw doc model xml dump: handle page descriptions
SwPageDesc is more or less just a named wrapper around one or more frame
formats, and we know how to dump them already.
This helps understanding cases where previously you could only (easily)
see the value of a page size at import time at UNO API level (in mm100)
and later the computed layout frame sizes (in twips), but not the doc
model sizes (in twips).
Change-Id: Iad7e8059b2c8d7785d33504c878f2d7ada6004b0
Reviewed-on: https://gerrit.libreoffice.org/81255
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/pagedesc.hxx')
-rw-r--r-- | sw/inc/pagedesc.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index 522986f87c1b..86e3fc075a7c 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -42,6 +42,7 @@ class SfxPoolItem; class SwTextFormatColl; class SwNode; class SwPageDescs; +typedef struct _xmlTextWriter* xmlTextWriterPtr; /// Footnote information. class SW_DLLPUBLIC SwPageFootnoteInfo @@ -273,6 +274,8 @@ public: SwPageDesc( const SwPageDesc& ); virtual ~SwPageDesc() override; + + void dumpAsXml(xmlTextWriterPtr pWriter) const; }; namespace std { @@ -431,6 +434,8 @@ public: bool contains( const value_type& x ) const { return x->m_pdList == this; } + + void dumpAsXml(xmlTextWriterPtr pWriter) const; }; #endif // INCLUDED_SW_INC_PAGEDESC_HXX |