editeng/source/items/numitem.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit f05a9f882c7d102c4e3875cd2591b8e6e654b297
Author:     Miklos Vajna <[email protected]>
AuthorDate: Mon Dec 15 08:43:08 2025 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Tue Dec 16 12:55:24 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/+/195696
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <[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()));

Reply via email to