editeng/source/items/numitem.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit e0ff659e54822b909c427d7d731aaacf88c08bef Author: Miklos Vajna <[email protected]> AuthorDate: Mon Dec 15 08:43:08 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Dec 16 09:46:06 2025 +0100 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/+/195626 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 08c7f1429c01..a02cc575fcf5 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -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()));
