Kaydet (Commit) 18504a6b authored tarafından Miklos Vajna's avatar Miklos Vajna

sw doc model dump: handle content of SwFmtHori/VertOrient

Change-Id: I67237267be5ac4071ecdb480cacf51b4a2fb4f1f
üst 6971e5f3
......@@ -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:
......
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