AutoLayout value 33 is "AUTOLAYOUT_4CLIPART" according to comments
Change-Id: I082dd08c1caf6f1585e3e16b441ba3b5a0d137f1
This commit is contained in:
parent
5afef8d531
commit
1b3aa39339
@ -57,7 +57,7 @@ enum AutoLayout
|
|||||||
AUTOLAYOUT_TITLE_2VTEXT = 30, ///< Title, 2 Vertical Content
|
AUTOLAYOUT_TITLE_2VTEXT = 30, ///< Title, 2 Vertical Content
|
||||||
AUTOLAYOUT_HANDOUT9 = 31,
|
AUTOLAYOUT_HANDOUT9 = 31,
|
||||||
AUTOLAYOUT_ONLY_TEXT = 32, ///< Centered Text
|
AUTOLAYOUT_ONLY_TEXT = 32, ///< Centered Text
|
||||||
// 33 missing
|
AUTOLAYOUT_4CLIPART = 33,
|
||||||
AUTOLAYOUT_TITLE_6CONTENT = 34, ///< Title, 6 Content
|
AUTOLAYOUT_TITLE_6CONTENT = 34, ///< Title, 6 Content
|
||||||
AUTOLAYOUT_END
|
AUTOLAYOUT_END
|
||||||
};
|
};
|
||||||
|
@ -1108,7 +1108,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 33 : // AUTOLAYOUT_4CLIPART
|
case AUTOLAYOUT_4CLIPART :
|
||||||
{
|
{
|
||||||
Rectangle aTopLeft(pInfo->GetPresRectangle());
|
Rectangle aTopLeft(pInfo->GetPresRectangle());
|
||||||
aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477));
|
aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477));
|
||||||
|
@ -650,14 +650,14 @@ void SdXMLPresentationPageLayoutContext::EndElement()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mnTypeId = 33; // AUTOLAYOUT_4CLIPART
|
mnTypeId = AUTOLAYOUT_4CLIPART;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
case 7:
|
case 7:
|
||||||
{
|
{
|
||||||
mnTypeId = 33; // AUTOLAYOUT_6CLIPART (huh? 33 is not that)
|
mnTypeId = AUTOLAYOUT_4CLIPART; // FIXME: not AUTOLAYOUT_TITLE_6CONTENT?
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user