diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-10 14:39:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-10 15:08:42 +0200 |
commit | 4e8bc6930972fb59cc22a74925071409fd50698e (patch) | |
tree | 4cd9faceddb90d7ab2dfea49efe89125f9779faa /sw | |
parent | 2bace4e9629cd0ee28ae6515bbceeef5c0b7ec1b (diff) |
SwNumRule::dumpAsXml: include IsAutoRule() and GetPoolFmtId() output
Change-Id: I8f3fbe00f472d694a7b9ea31fd251101c9ad73e3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index e9746538f5ae..0eaa082996bc 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -341,6 +341,9 @@ void SwNumRule::dumpAsXml(xmlTextWriterPtr w) writer.startElement("swnumrule"); OString aName = OUStringToOString(GetName(), RTL_TEXTENCODING_UTF8); writer.writeFormatAttribute("name", "%s", BAD_CAST(aName.getStr())); + writer.writeFormatAttribute("isautorule", TMP_FORMAT, IsAutoRule()); + if (GetPoolFmtId() != USHRT_MAX) + writer.writeFormatAttribute("poolfmtid", TMP_FORMAT, GetPoolFmtId()); writer.endElement(); } |