sw/source/core/docnode/nodedump.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
New commits: commit d4ca8958859b96cb3dc067c0cdc048f35d4a24a6 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Nov 3 12:04:36 2014 +0100 sw doc model xml dump: handle RES_FRMATR*STYLE_NAME Change-Id: I7a131c00166a8930042415dbf90e4640ecfea64c diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 1e05423..122bcd4 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -613,11 +613,27 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) pWhich = "shadow"; break; case RES_PAGEDESC: + { pWhich = "page description"; const SwFmtPageDesc* pFmt = static_cast<const SwFmtPageDesc*>(pItem); if (pFmt->GetPageDesc()) oValue = "name: " + OUStringToOString(pFmt->GetPageDesc()->GetName(), RTL_TEXTENCODING_UTF8); break; + } + case RES_FRMATR_STYLE_NAME: + { + pWhich = "frame style name"; + const SfxStringItem* pStringItem = static_cast<const SfxStringItem*>(pItem); + oValue = "name: " + OUStringToOString(pStringItem->GetValue(), RTL_TEXTENCODING_UTF8); + break; + } + case RES_FRMATR_CONDITIONAL_STYLE_NAME: + { + pWhich = "frame conditional style name"; + const SfxStringItem* pStringItem = static_cast<const SfxStringItem*>(pItem); + oValue = "name: " + OUStringToOString(pStringItem->GetValue(), RTL_TEXTENCODING_UTF8); + break; + } } if (pWhich) writer.writeFormatAttribute("which", "%s", BAD_CAST(pWhich)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits