summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-27 16:24:26 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-27 22:13:20 +0200
commit18504a6b0fba700423a0260b1af90ab73c51f1ad (patch)
tree228bfc6ecb9e092c76b4c10e10901c8ea695dd3c
parent6971e5f32d95361f6575f9fe75cbfd7b6d89ef60 (diff)
sw doc model dump: handle content of SwFmtHori/VertOrient
Change-Id: I67237267be5ac4071ecdb480cacf51b4a2fb4f1f
-rw-r--r--sw/source/core/docnode/nodedump.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index 2a2ae30a15c5..3266c1fad956 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -17,6 +17,7 @@
#include "txatbase.hxx"
#include "fmtautofmt.hxx"
#include "fmtcntnt.hxx"
+#include "fmtornt.hxx"
#include "charfmt.hxx"
#include "frmfmt.hxx"
#include "fmtanchr.hxx"
@@ -412,11 +413,15 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case RES_VERT_ORIENT:
{
pWhich = "frame vertical orientation";
+ const SwFmtVertOrient* pOrient = static_cast<const SwFmtVertOrient*>(pItem);
+ oValue = "orient: " + OString::number(pOrient->GetVertOrient()) + ", relation: " + OString::number(pOrient->GetRelationOrient()) + ", position: " + OString::number(pOrient->GetPos());
break;
}
case RES_HORI_ORIENT:
{
pWhich = "frame horizontal orientation";
+ const SwFmtHoriOrient* pOrient = static_cast<const SwFmtHoriOrient*>(pItem);
+ oValue = "orient: " + OString::number(pOrient->GetHoriOrient()) + ", relation: " + OString::number(pOrient->GetRelationOrient()) + ", position: " + OString::number(pOrient->GetPos());
break;
}
case RES_ANCHOR: