enumclass SwFrameSize
{
Variable, ///< Frame is variable in Var-direction.
Fixed, ///< Frame cannot be moved in Var-direction.
Minimum /**< Value in Var-direction gives minimum
(can be exceeded but not be less). */
};
/** *DescribesthesizeofaWriterframe,forexampleatable,tablerow,tablecell,TextFrame, *page,etc. * *Theheightandwidthcanbeeitherrelativeorabsolute,seeSwFrameSize. * *Ifthesizeisrelative,thenthe"relation"decideswhat100%means,e.g.itmayberelativeto *thepagesizeoftheparentframesize.
*/ class SW_DLLPUBLIC SwFormatFrameSize final : public SvxSizeItem
{
SwFrameSize m_eFrameHeightType;
SwFrameSize m_eFrameWidthType;
sal_uInt8 m_nWidthPercent;
sal_Int16 m_eWidthPercentRelation;
sal_uInt8 m_nHeightPercent;
sal_Int16 m_eHeightPercentRelation;
// For tables: width can be given in percent.
// For frames: height and/or width may be given in percent. // If only one of these percentage values is given, the value 0xFF // used instead of the missing percentage value indicates this side // being proportional to the given one. // The calculation in this case is based upon the values in Size. // Percentages are always related to the environment in which // the object is placed (PrtArea) and to the screen width // minus borders in BrowseView if the environment is the page.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.