diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-01-26 08:00:46 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-01-26 09:01:28 +0100 |
commit | 8fc478308f680227d7253b4becfc698e289f2be1 (patch) | |
tree | a57b64b77537b445def276b4017ed208d6579121 /sw/inc | |
parent | e49653f440d8fced0414df93a85bb8adc6f9ffb4 (diff) |
sw layout xml dump: show if formatting marks are on
Because that influences the layout, and sometimes it's far from trivial
that it gets disabled, e.g. during printing/PDF export.
Change-Id: Icb6accf3cb8bacd02f7267d55fbf56a4b10550bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162591
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/viewopt.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index 95c547e5c691..a98da0dc3cdf 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -137,6 +137,8 @@ struct ViewOptFlags1 && bShowChangesInMargin == rOther.bShowChangesInMargin && bShowChangesInMargin2 == rOther.bShowChangesInMargin2; } + + void dumpAsXml(xmlTextWriterPtr pWriter) const; }; enum class ViewOptCoreFlags2 { @@ -854,6 +856,8 @@ public: sal_uInt8 GetIdxEntryLvl() const { return m_nIdxEntryLvl; } void SetIdxEntryLvl(sal_uInt8 n) { m_nIdxEntryLvl = n; } + void dumpAsXml(xmlTextWriterPtr pWriter) const; + // Useful for when getting the current view SwViewOption is not possible otherwise static const SwViewOption& GetCurrentViewOptions(); |