sw doc model xml dump: show SvxNumberFormat's 'label followed by' property

I'm looking at a weird numbering which has a tab portion but no actual
numbering, and this is part of the puzzle.

Change-Id: I840b535846bf20fa962423ddee7245ad81705c3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195696
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna
2025-12-16 12:55:24 +01:00
parent 0bff63fe4b
commit f05a9f882c
+5
View File
@@ -585,6 +585,11 @@ void SvxNumberFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
BAD_CAST(OString::number(mePositionAndSpaceMode).getStr()));
(void)xmlTextWriterEndElement(pWriter);
(void)xmlTextWriterStartElement(pWriter, BAD_CAST("label-followed-by"));
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"),
BAD_CAST(OString::number(meLabelFollowedBy).getStr()));
(void)xmlTextWriterEndElement(pWriter);
(void)xmlTextWriterStartElement(pWriter, BAD_CAST("first-line-offset"));
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"),
BAD_CAST(OString::number(nFirstLineOffset).getStr()));