Kaydet (Commit) 95034baf authored tarafından Miklos Vajna's avatar Miklos Vajna

sw doc model dump: handle SvxCharRotateItem

Change-Id: I981867bcf4ec5fa6be866b19f82805ab4ff9623f
üst f6f7fc44
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <swmodule.hxx> #include <swmodule.hxx>
#include <svl/itemiter.hxx> #include <svl/itemiter.hxx>
#include <svl/intitem.hxx> #include <svl/intitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <tools/datetimeutils.hxx> #include <tools/datetimeutils.hxx>
#include <libxml/encoding.h> #include <libxml/encoding.h>
...@@ -305,6 +306,7 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) ...@@ -305,6 +306,7 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case RES_CHRATR_CTL_POSTURE: pWhich = "character ctl posture"; break; case RES_CHRATR_CTL_POSTURE: pWhich = "character ctl posture"; break;
case RES_CHRATR_CTL_WEIGHT: pWhich = "character ctl weight"; break; case RES_CHRATR_CTL_WEIGHT: pWhich = "character ctl weight"; break;
case RES_CHRATR_RSID: pWhich = "character rsid"; break; case RES_CHRATR_RSID: pWhich = "character rsid"; break;
case RES_CHRATR_ROTATE: pWhich = "character rotation"; oValue = OString::number(static_cast<const SvxCharRotateItem*>(pItem)->GetValue()); break;
case RES_PARATR_OUTLINELEVEL: pWhich = "paragraph outline level"; oValue = OString::number(static_cast<const SfxUInt16Item*>(pItem)->GetValue()); break; case RES_PARATR_OUTLINELEVEL: pWhich = "paragraph outline level"; oValue = OString::number(static_cast<const SfxUInt16Item*>(pItem)->GetValue()); break;
case RES_PARATR_NUMRULE: pWhich = "paragraph numbering rule"; oValue = OUStringToOString(static_cast<const SwNumRuleItem*>(pItem)->GetValue(), RTL_TEXTENCODING_UTF8); break; case RES_PARATR_NUMRULE: pWhich = "paragraph numbering rule"; oValue = OUStringToOString(static_cast<const SwNumRuleItem*>(pItem)->GetValue(), RTL_TEXTENCODING_UTF8); break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment