diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-02 11:45:37 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-03 07:57:40 +0100 |
commit | f807c8bbbc041a7896838fc213d30f2f30768b4a (patch) | |
tree | 9c34c34d529035d517c39ba7f7963a496982f88d /editeng | |
parent | 62b92a8973db0ecb1942a80d50b2c532b5d4d2f9 (diff) |
sw doc model xml dump: show numbering type
Change-Id: I6d2145469b8153c86294c40e1b3dfcc9d65ced60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89819
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/numitem.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 67b4dcadafd9..00af4303064a 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -152,6 +152,13 @@ OUString SvxNumberType::GetNumStr( sal_Int32 nNo, const css::lang::Locale& rLoca return OUString(); } +void SvxNumberType::dumpAsXml( xmlTextWriterPtr pWriter ) const +{ + xmlTextWriterStartElement(pWriter, BAD_CAST("SvxNumberType")); + xmlTextWriterWriteAttribute(pWriter, BAD_CAST("NumType"), BAD_CAST(OString::number(nNumType).getStr())); + xmlTextWriterEndElement(pWriter); +} + SvxNumberFormat::SvxNumberFormat( SvxNumType eType ) : SvxNumberType(eType), eNumAdjust(SvxAdjust::Left), |