LibreOffice Module lotuswordpro (master) 1
|
#include <lwplayout.hxx>
Public Member Functions | |
LwpMiddleLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual | ~LwpMiddleLayout () override |
double | GetGeometryHeight () |
@descr: Get layout height, measured by "cm" More... | |
double | GetGeometryWidth () |
@descr: Get layout width, measured by "cm" More... | |
LwpBorderStuff * | GetBorderStuff () |
@descr: Get the LwpBorderStuff object according to m_LayBorderStuff id. More... | |
LwpBackgroundStuff * | GetBackgroundStuff () |
@descr: Get LwpBackgroundStuff object according to m_LayBackgroundStuff id; More... | |
LwpLayoutGeometry * | GetGeometry () |
@descr: Get the geometry of current layout More... | |
enumXFTextDir | GetTextDirection () |
@descr: Get text direction settings. More... | |
std::unique_ptr< XFBorders > | GetXFBorders () |
@descr: create xfborder. More... | |
LwpColor * | GetBackColor () |
@descr: Get background color. More... | |
virtual bool | IsAutoGrow () override |
@descr: Whether the height and width of layout is auto grow More... | |
virtual bool | IsAutoGrowUp () override |
@descr: Whether the height of layout is auto grow up More... | |
virtual bool | IsAutoGrowLeft () override |
@descr: Whether the height of layout is auto grow down More... | |
virtual bool | IsAutoGrowRight () override |
@descr: Whether the height of layout is auto grow down More... | |
virtual sal_uInt8 | GetContentOrientation () override |
@descr: Get contents orientation More... | |
virtual bool | HonorProtection () override |
@descr: Whether it is honoring protection More... | |
virtual bool | IsProtected () override |
@descr: Whether it is protected More... | |
rtl::Reference< LwpVirtualLayout > | GetWaterMarkLayout () |
@descr: Get watermark layout More... | |
std::unique_ptr< XFBGImage > | GetXFBGImage () |
@descr: Create and return xfbgimage object for watermark More... | |
bool | GetUsePrinterSettings () |
@descr: Whether the page uses the printer setting More... | |
LwpLayoutScale * | GetLayoutScale () |
sal_uInt16 | GetScaleMode () |
@descr: Layscale for graphic & watermark More... | |
sal_uInt16 | GetScaleTile () |
sal_uInt16 | GetScaleCenter () |
bool | CanSizeRight () |
virtual double | GetWidth () override |
@descr: Get layout height More... | |
sal_Int32 | GetMinimumWidth () |
bool | IsSizeRightToContent () |
bool | IsSizeRightToContainer () |
sal_Int32 | DetermineWidth () |
virtual double | GetHeight () |
@descr: Get layout height More... | |
LwpPoint | GetOrigin () |
@descr: Get layout origin point More... | |
bool | IsPatternFill () |
@descr: Whether the fill is pattern fill or not More... | |
std::unique_ptr< XFBGImage > | GetFillPattern () |
@descr: Get the fill pattern style. More... | |
virtual bool | HasContent () override |
LwpObjectID & | GetContent () |
LwpTabOverride * | GetTabOverride () |
@descr: Add back color settings into xfpagemaster. More... | |
Public Member Functions inherited from LwpVirtualLayout | |
LwpVirtualLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual sal_uInt16 | GetNumCols () |
virtual double | GetColGap (sal_uInt16 nIndex) |
@descr: Get the gap between columns More... | |
virtual bool | IsAutoGrow () |
virtual bool | IsAutoGrowUp () |
virtual bool | IsAutoGrowLeft () |
virtual bool | IsAutoGrowRight () |
bool | IsFitGraphic () |
@descr: Whether the size of layout is fit the graphic More... | |
bool | IsAutoGrowWidth () |
@descr: Whether the width of layout is auto grow More... | |
bool | IsInlineToMargin () const |
@descr: Determine whether the layout width is to margin More... | |
virtual sal_uInt8 | GetContentOrientation () |
bool | GetHonorProtection () |
bool | GetMarginsSameAsParent () |
bool | GetIsProtected () |
bool | GetIsAutoGrowDown () |
bool | GetHasProtection () |
double | GetMarginsValue (sal_uInt8 nWhichSide) |
double | GetExtMarginsValue (sal_uInt8 nWhichSide) |
const OUString & | GetStyleName () const |
bool | IsComplex () const |
@descr: Whether it is a mirror layout More... | |
virtual bool | IsAnchorPage () |
virtual bool | IsAnchorFrame () |
virtual bool | IsAnchorCell () |
bool | IsPage () |
@descr: Whether this layout is page layout or not More... | |
bool | IsHeader () |
@descr: Whether this layout is header layout or not More... | |
bool | IsFooter () |
@descr: Whether this layout is footer layout or not More... | |
bool | IsFrame () |
@descr: Whether this layout is frame layout or not More... | |
bool | IsCell () |
@descr: Whether this layout is cell layout or not More... | |
bool | IsSuperTable () |
@descr: Whether this layout is supertable layout or not More... | |
bool | IsGroupHead () |
@descr: Whether this layout is group layout or not More... | |
virtual sal_uInt8 | GetRelativeType () |
@descr: get the relative type More... | |
bool | IsRelativeAnchored () |
@descr: whether it is relative anchored layout More... | |
LwpUseWhen * | GetUseWhen () |
@descr: Get usewhen pointer More... | |
virtual LwpUseWhen * | VirtualGetUseWhen () |
virtual bool | IsUseOnAllPages () |
virtual bool | IsUseOnAllEvenPages () |
virtual bool | IsUseOnAllOddPages () |
virtual bool | IsUseOnPage () |
virtual sal_Int32 | GetPageNumber (sal_uInt16) |
bool | IsMinimumHeight () const |
@descr: whether it is MinimumHeight layout More... | |
virtual bool | IsForWaterMark () |
virtual LwpPara * | GetLastParaOfPreviousStory () |
rtl::Reference< LwpVirtualLayout > | GetParentLayout () |
@descr: Get parent layout More... | |
virtual rtl::Reference< LwpVirtualLayout > | GetContainerLayout () |
void | RegisterChildStyle () |
@descr: Register child layout style More... | |
bool | NoContentReference () |
bool | IsStyleLayout () |
enumXFAlignType | GetVerticalAlignmentType () const |
void | SetStyleName (const OUString &str) |
virtual double | GetWidth () |
virtual bool | HasContent () |
virtual LWP_LAYOUT_TYPE | GetLayoutType () |
LwpVirtualLayout * | FindChildByType (LWP_LAYOUT_TYPE eType) |
@descr: Find child layout by layout type More... | |
Public Member Functions inherited from LwpDLNFPVList | |
LwpDLNFPVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
@descr ctor of LwpDLNFPVList from object stream Note that m_bHasProperties is initialized to true More... | |
virtual | ~LwpDLNFPVList () override |
@descr release property list More... | |
LwpPropList * | GetPropList () |
Public Member Functions inherited from LwpDLNFVList | |
LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpAtomHolder & | GetName () |
LwpObjectID & | GetChildHead () |
LwpObjectID & | GetChildTail () |
LwpObjectID & | GetParent () |
Public Member Functions inherited from LwpDLVList | |
LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpObjectID & | GetNext () |
LwpObjectID & | GetPrevious () |
Public Member Functions inherited from LwpObject | |
LwpObject (LwpObjectHeader objHdr, LwpSvStream *pStrm) | |
@descr construct lwpobject from stream More... | |
void | QuickRead () |
@descr QuickRead template More... | |
void | DoRegisterStyle () |
void | DoParse (IXFStream *pOutputStream) |
void | DoXFConvert (XFContentContainer *pCont) |
LwpFoundry * | GetFoundry () |
void | SetFoundry (LwpFoundry *pFoundry) |
LwpObjectID & | GetObjectID () |
sal_uInt32 | GetTag () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
virtual bool | MarginsSameAsParent () override |
@descr: Whether the margins is same as parent layout More... | |
virtual double | MarginsValue (sal_uInt8 nWhichSide) override |
@descr: Get margin More... | |
virtual double | ExtMarginsValue (sal_uInt8 nWhichSide) override |
@descr: Get extmargin value More... | |
virtual bool | IsAutoGrowDown () override |
@descr: Whether the height of layout is auto grow down More... | |
rtl::Reference< LwpObject > | GetBasedOnStyle () const |
Protected Member Functions inherited from LwpVirtualLayout | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
bool | HasProtection () |
@descr: Whether it has protection More... | |
virtual bool | HonorProtection () |
@descr: Whether it is honoring protection More... | |
virtual bool | IsProtected () |
@descr: Whether it is protected More... | |
virtual bool | IsAutoGrowDown () |
virtual double | MarginsValue (sal_uInt8) |
virtual double | ExtMarginsValue (sal_uInt8) |
virtual bool | MarginsSameAsParent () |
Protected Member Functions inherited from LwpDLNFPVList | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
void | ReadPropertyList (LwpObjectStream *pObjStrm) |
@descr Read property list More... | |
Protected Member Functions inherited from LwpDLNFVList | |
virtual | ~LwpDLNFVList () override |
void | Read () override |
@descr Read LwpDLNFVList data from object stream More... | |
void | ReadName (LwpObjectStream *pObjStrm) |
@descr Read name of LwpDLNFVList from object stream More... | |
Protected Member Functions inherited from LwpDLVList | |
virtual | ~LwpDLVList () override |
void | Read () override |
@descr Read LwpDLVList data from object stream More... | |
Protected Member Functions inherited from LwpObject | |
virtual | ~LwpObject () override |
@descr dtor() More... | |
virtual void | Read () |
@descr default read function More... | |
virtual void | RegisterStyle () |
@descr default register style function More... | |
virtual void | Parse (IXFStream *pOutputStream) |
@descr default parse function More... | |
virtual void | XFConvert (XFContentContainer *pCont) |
@descr default XFConvert function pCont is the XFContentContainer for the object conversion More... | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
LwpObjectID | m_BasedOnStyle |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Definition at line 342 of file lwplayout.hxx.
|
protected |
Enumerator | |
---|---|
DISK_GOT_STYLE_STUFF | |
DISK_GOT_MISC_STUFF |
Definition at line 395 of file lwplayout.hxx.
LwpMiddleLayout::LwpMiddleLayout | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 565 of file lwplayout.cxx.
|
overridevirtual |
Definition at line 572 of file lwplayout.cxx.
bool LwpMiddleLayout::CanSizeRight | ( | ) |
Definition at line 981 of file lwplayout.cxx.
References LwpVirtualLayout::GetRelativeType(), LwpLayoutRelativityGuts::LAY_INLINE, LwpLayoutRelativityGuts::LAY_INLINE_VERTICAL, and LwpLayoutRelativityGuts::LAY_PARA_RELATIVE.
Referenced by IsSizeRightToContainer(), and IsSizeRightToContent().
sal_Int32 LwpMiddleLayout::DetermineWidth | ( | ) |
Definition at line 1001 of file lwplayout.cxx.
References GetGeometry(), IsSizeRightToContainer(), IsSizeRightToContent(), LwpVirtualLayout::m_nAttributes3, and STYLE3_WIDTHVALID.
Referenced by GetMinimumWidth().
|
overrideprotectedvirtual |
@descr: Get extmargin value
nWhichSide - 0: left, 1: right, 2:top, 3: bottom | |
Reimplemented from LwpVirtualLayout.
Definition at line 751 of file lwplayout.cxx.
References LwpVirtualLayout::ExtMarginsValue(), GetBasedOnStyle(), LwpLayoutMargins::GetExtMargins(), LwpVirtualLayout::GetExtMarginsValue(), LwpMargins::GetMarginsValue(), m_LayMargins, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_MARGINS.
LwpColor * LwpMiddleLayout::GetBackColor | ( | ) |
@descr: Get background color.
Definition at line 894 of file lwplayout.cxx.
References GetBackgroundStuff(), LwpBackgroundStuff::GetFillColor(), LwpBackgroundStuff::IsTransparent(), and LwpColor::IsValidColor().
Referenced by LwpCellLayout::ApplyBackColor(), LwpFrame::ApplyBackColor(), LwpSuperTableLayout::ApplyBackColor(), LwpFrame::ApplyWrapType(), LwpFooterLayout::ParseBackColor(), LwpHeaderLayout::ParseBackColor(), and LwpPageLayout::ParseBackColor().
LwpBackgroundStuff * LwpMiddleLayout::GetBackgroundStuff | ( | ) |
@descr: Get LwpBackgroundStuff object according to m_LayBackgroundStuff id;
Definition at line 804 of file lwplayout.cxx.
References LwpLayoutBackground::GetBackgoudStuff(), GetBasedOnStyle(), m_bGettingBackgroundStuff, m_LayBackgroundStuff, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_BACKGROUND.
Referenced by LwpFrame::ApplyWatermark(), GetBackColor(), GetFillPattern(), and IsPatternFill().
|
protected |
Definition at line 619 of file lwplayout.cxx.
References m_BasedOnStyle, LwpObjectID::obj(), and SAL_WARN.
Referenced by LwpCellLayout::ApplyFmtStyle(), LwpCellLayout::ApplyProtect(), ExtMarginsValue(), GetBackgroundStuff(), LwpPlacableLayout::GetBaseLineOffset(), GetBorderStuff(), LwpLayout::GetColGap(), GetContentOrientation(), GetGeometry(), LwpLayout::GetNumCols(), LwpPlacableLayout::GetRelativityPiece(), GetScaleCenter(), GetScaleMode(), GetScaleTile(), LwpLayout::GetShadow(), GetTabOverride(), LwpLayout::GetUsePage(), GetUsePrinterSettings(), LwpPlacableLayout::GetWrapType(), HonorProtection(), IsAutoGrow(), IsAutoGrowDown(), IsAutoGrowLeft(), IsAutoGrowRight(), IsAutoGrowUp(), IsProtected(), IsSizeRightToContainer(), IsSizeRightToContent(), LwpLayout::IsUseOnAllEvenPages(), LwpLayout::IsUseOnAllOddPages(), LwpLayout::IsUseOnAllPages(), LwpLayout::IsUseOnPage(), MarginsSameAsParent(), MarginsValue(), and LwpLayout::VirtualGetUseWhen().
LwpBorderStuff * LwpMiddleLayout::GetBorderStuff | ( | ) |
@descr: Get the LwpBorderStuff object according to m_LayBorderStuff id.
Definition at line 774 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpLayoutBorder::GetBorderStuff(), LwpVirtualLayout::m_bGettingBorderStuff, m_LayBorderStuff, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_BORDERS.
Referenced by GetXFBorders().
|
inline |
Definition at line 415 of file lwplayout.hxx.
References m_Content.
Referenced by LwpFootnote::FindFootnoteContent(), LwpNoteLayout::GetAuthor(), GetXFBGImage(), LwpDocument::IsSkippedDivision(), LwpFrame::Parse(), LwpDocument::RegisterLayoutStyles(), LwpTableLayout::SearchCellStoryMap(), and LwpDocument::XFConvertFrameInPage().
|
overridevirtual |
@descr: Get contents orientation
Reimplemented from LwpVirtualLayout.
Definition at line 1240 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::GetContentOrientation(), LwpLayoutGeometry::GetContentOrientation(), LwpObjectID::IsNull(), m_LayGeometry, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_ROTATION.
Referenced by GetTextDirection().
std::unique_ptr< XFBGImage > LwpMiddleLayout::GetFillPattern | ( | ) |
@descr: Get the fill pattern style.
Data are saved in a XFBGImage object
Definition at line 1109 of file lwplayout.cxx.
References GetBackgroundStuff(), and LwpBackgroundStuff::GetFillPattern().
Referenced by LwpCellLayout::ApplyPatternFill(), LwpFrame::ApplyPatternFill(), LwpSuperTableLayout::ApplyPatternFill(), LwpFooterLayout::ParsePatternFill(), LwpHeaderLayout::ParsePatternFill(), and LwpPageLayout::ParsePatternFill().
LwpLayoutGeometry * LwpMiddleLayout::GetGeometry | ( | ) |
@descr: Get the geometry of current layout
Definition at line 634 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpObjectID::IsNull(), m_bGettingGeometry, m_LayGeometry, and LwpObjectID::obj().
Referenced by LwpSuperTableLayout::ApplyAlignment(), LwpGraphicObject::CreateGrafObject(), DetermineWidth(), GetGeometryHeight(), GetGeometryWidth(), LwpGraphicOleObject::GetGrafScaledSize(), GetMinimumWidth(), GetOrigin(), LwpPageLayout::GetWidthAndHeight(), LwpFrame::Parse(), and LwpFrame::ParseAnchorType().
double LwpMiddleLayout::GetGeometryHeight | ( | ) |
@descr: Get layout height, measured by "cm"
Definition at line 662 of file lwplayout.cxx.
References LwpTools::ConvertFromUnitsToMetric(), GetGeometry(), and LwpLayoutGeometry::GetHeight().
Referenced by GetHeight(), LwpPageLayout::GetWidthAndHeight(), LwpFrame::ParseAnchorType(), LwpFooterLayout::ParseMargins(), and LwpHeaderLayout::ParseMargins().
double LwpMiddleLayout::GetGeometryWidth | ( | ) |
@descr: Get layout width, measured by "cm"
Definition at line 677 of file lwplayout.cxx.
References LwpTools::ConvertFromUnitsToMetric(), GetGeometry(), and LwpLayoutGeometry::GetWidth().
Referenced by LwpCellLayout::GetActualWidth(), LwpPageLayout::GetMarginWidth(), GetWidth(), and LwpPageLayout::GetWidthAndHeight().
|
virtual |
@descr: Get layout height
Reimplemented in LwpPageLayout.
Definition at line 1061 of file lwplayout.cxx.
References GetGeometryHeight().
Referenced by LwpFrameLayout::ApplyGraphicSize(), and LwpFrame::Parse().
|
inline |
Definition at line 366 of file lwplayout.hxx.
References m_LayScale, and LwpObjectID::obj().
Referenced by LwpGraphicObject::CreateGrafObject(), LwpGraphicOleObject::GetGrafScaledSize(), GetScaleCenter(), GetScaleMode(), and GetScaleTile().
sal_Int32 LwpMiddleLayout::GetMinimumWidth | ( | ) |
Definition at line 989 of file lwplayout.cxx.
References DetermineWidth(), GetGeometry(), LwpLayoutGeometry::GetWidth(), LwpVirtualLayout::m_nAttributes3, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and STYLE3_WIDTHVALID.
Referenced by LwpSuperTableLayout::GetTableWidth().
LwpPoint LwpMiddleLayout::GetOrigin | ( | ) |
@descr: Get layout origin point
Definition at line 1072 of file lwplayout.cxx.
References LwpLayoutGeometry::GetAbsoluteOrigin(), GetGeometry(), LwpLayoutGeometry::GetOrigin(), LwpVirtualLayout::GetRelativeType(), LwpLayoutRelativityGuts::LAY_INLINE, LwpLayoutRelativityGuts::LAY_INLINE_NEWLINE, and nType.
Referenced by LwpFrameLayout::GetMaxWidth(), and LwpFrame::IsLeftWider().
sal_uInt16 LwpMiddleLayout::GetScaleCenter | ( | ) |
Definition at line 958 of file lwplayout.cxx.
References LwpLayoutScale::CENTERED, GetBasedOnStyle(), GetLayoutScale(), LwpLayoutScale::GetPlacement(), GetScaleCenter(), LwpVirtualLayout::m_bGettingScaleCenter, m_LayScale, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_SCALING.
Referenced by LwpGraphicObject::CreateGrafObject(), GetScaleCenter(), and GetXFBGImage().
sal_uInt16 LwpMiddleLayout::GetScaleMode | ( | ) |
@descr: Layscale for graphic & watermark
Definition at line 936 of file lwplayout.cxx.
References LwpLayoutScale::FIT_IN_FRAME, GetBasedOnStyle(), GetLayoutScale(), GetScaleMode(), LwpLayoutScale::GetScaleMode(), m_LayScale, LwpVirtualLayout::m_nOverrideFlag, LwpLayoutScale::MAINTAIN_ASPECT_RATIO, LwpObjectID::obj(), and OVER_SCALING.
Referenced by GetScaleMode(), and GetXFBGImage().
sal_uInt16 LwpMiddleLayout::GetScaleTile | ( | ) |
Definition at line 947 of file lwplayout.cxx.
References GetBasedOnStyle(), GetLayoutScale(), GetScaleTile(), m_LayScale, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), OVER_SCALING, and LwpLayoutScale::TILED.
Referenced by LwpGraphicObject::CreateGrafObject(), GetScaleTile(), and GetXFBGImage().
LwpTabOverride * LwpMiddleLayout::GetTabOverride | ( | ) |
@descr: Add back color settings into xfpagemaster.
Definition at line 911 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualPiece::GetOverride(), LwpObjectID::IsNull(), LwpVirtualLayout::m_nAttributes, m_TabPiece, LwpObjectID::obj(), and OVER_TABS.
Referenced by LwpPara::RegisterTabStyle().
enumXFTextDir LwpMiddleLayout::GetTextDirection | ( | ) |
@descr: Get text direction settings.
Definition at line 860 of file lwplayout.cxx.
References enumXFTextDirLR_TB, enumXFTextDirNone, enumXFTextDirTB_RL, GetContentOrientation(), TEXT_ORIENT_BTLR, TEXT_ORIENT_LRTB, TEXT_ORIENT_RLBT, and TEXT_ORIENT_TBRL.
Referenced by LwpFrame::ApplyTextDir(), LwpPageLayout::RegisterEndnoteStyle(), and LwpPageLayout::RegisterStyle().
bool LwpMiddleLayout::GetUsePrinterSettings | ( | ) |
@descr: Whether the page uses the printer setting
Definition at line 1437 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::m_bGettingUsePrinterSettings, LwpVirtualLayout::m_nAttributes3, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and STYLE3_USEPRINTERSETTINGS.
Referenced by LwpPageLayout::GetWidthAndHeight().
rtl::Reference< LwpVirtualLayout > LwpMiddleLayout::GetWaterMarkLayout | ( | ) |
@descr: Get watermark layout
Definition at line 1356 of file lwplayout.cxx.
References get(), LwpDLNFVList::GetChildHead(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert().
Referenced by LwpFrame::ApplyWatermark(), LwpFrame::ApplyWrapType(), and GetXFBGImage().
|
overridevirtual |
@descr: Get layout height
Reimplemented from LwpVirtualLayout.
Reimplemented in LwpFrameLayout, LwpPageLayout, and LwpSuperTableLayout.
Definition at line 1067 of file lwplayout.cxx.
References GetGeometryWidth().
Referenced by LwpFrameLayout::GetMaxWidth(), LwpFrameLayout::GetWidth(), LwpFrame::IsLeftWider(), LwpFrame::Parse(), and LwpTableLayout::RegisterColumns().
std::unique_ptr< XFBGImage > LwpMiddleLayout::GetXFBGImage | ( | ) |
@descr: Create and return xfbgimage object for watermark
Definition at line 1381 of file lwplayout.cxx.
References LwpTools::convertToFileUrl(), enumXFAlignStart, enumXFAlignTop, LwpLayoutScale::FIT_IN_FRAME, GetContent(), LwpGraphicObject::GetLinkedFilePath(), LwpGraphicObject::GetRawGrafData(), GetScaleCenter(), GetScaleMode(), GetScaleTile(), GetWaterMarkLayout(), LwpGraphicObject::IsLinked(), LwpLayoutScale::MAINTAIN_ASPECT_RATIO, LwpObjectID::obj(), and OUStringToOString().
Referenced by LwpCellLayout::ApplyWatermark(), LwpFrame::ApplyWatermark(), LwpSuperTableLayout::ApplyWatermark(), LwpFooterLayout::ParseWaterMark(), LwpHeaderLayout::ParseWaterMark(), and LwpPageLayout::ParseWaterMark().
std::unique_ptr< XFBorders > LwpMiddleLayout::GetXFBorders | ( | ) |
@descr: create xfborder.
Definition at line 834 of file lwplayout.cxx.
References LwpParaStyle::ApplySubBorder(), LwpBorderStuff::BOTTOM, GetBorderStuff(), LwpBorderStuff::GetSide(), LwpBorderStuff::HasSide(), LwpBorderStuff::LEFT, LwpBorderStuff::RIGHT, and LwpBorderStuff::TOP.
Referenced by LwpCellLayout::ApplyBorders(), LwpFrame::ApplyBorders(), LwpCellLayout::GetCellBorderType(), LwpConnectedCellLayout::GetCellBorderType(), LwpFooterLayout::ParseBorder(), LwpHeaderLayout::ParseBorder(), LwpPageLayout::ParseBorders(), and LwpCellLayout::RegisterDefaultCell().
|
overridevirtual |
Reimplemented from LwpVirtualLayout.
Definition at line 1463 of file lwplayout.cxx.
References m_Content, and LwpObjectID::obj().
|
overridevirtual |
@descr: Whether it is honoring protection
Reimplemented from LwpVirtualLayout.
Definition at line 1265 of file lwplayout.cxx.
References get(), GetBasedOnStyle(), LwpFoundry::GetDocument(), LwpDocument::GetHonorProtection(), LwpDLNFVList::GetParent(), LwpVirtualLayout::HonorProtection(), LwpVirtualLayout::m_nAttributes2, LwpVirtualLayout::m_nOverrideFlag, LwpObject::m_pFoundry, OVER_MISC, and STYLE2_HONORPROTECTION.
|
overridevirtual |
@descr: Whether the height and width of layout is auto grow
Reimplemented from LwpVirtualLayout.
Definition at line 1124 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::IsAutoGrow(), LwpVirtualLayout::LAY_AUTOGROW, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, LwpVirtualLayout::SHIFT_DOWN, LwpVirtualLayout::SHIFT_LEFT, LwpVirtualLayout::SHIFT_RIGHT, and LwpVirtualLayout::SHIFT_UP.
Referenced by LwpFrame::Parse().
|
overrideprotectedvirtual |
@descr: Whether the height of layout is auto grow down
Reimplemented from LwpVirtualLayout.
Definition at line 1148 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::IsAutoGrowDown(), LwpVirtualLayout::LAY_AUTOGROW, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_DOWN.
Referenced by LwpFrameLayout::ApplyGraphicSize().
|
overridevirtual |
@descr: Whether the height of layout is auto grow down
Reimplemented from LwpVirtualLayout.
Definition at line 1198 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::IsAutoGrowLeft(), LwpVirtualLayout::LAY_AUTOGROW, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_LEFT.
Referenced by LwpFrameLayout::ApplyGraphicSize().
|
overridevirtual |
@descr: Whether the height of layout is auto grow down
Reimplemented from LwpVirtualLayout.
Definition at line 1219 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::IsAutoGrowRight(), LwpVirtualLayout::LAY_AUTOGROW, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_RIGHT.
Referenced by LwpFrameLayout::ApplyGraphicSize().
|
overridevirtual |
@descr: Whether the height of layout is auto grow up
Reimplemented from LwpVirtualLayout.
Definition at line 1169 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::IsAutoGrowUp(), LwpVirtualLayout::LAY_AUTOGROW, LwpVirtualLayout::m_bGettingAutoGrowUp, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_UP.
Referenced by LwpFrameLayout::ApplyGraphicSize(), and LwpFooterLayout::ParseMargins().
bool LwpMiddleLayout::IsPatternFill | ( | ) |
@descr: Whether the fill is pattern fill or not
Definition at line 1094 of file lwplayout.cxx.
References GetBackgroundStuff(), and LwpBackgroundStuff::IsPatternFill().
Referenced by LwpCellLayout::ApplyBackGround(), LwpFrame::ApplyBackGround(), LwpSuperTableLayout::ApplyBackGround(), LwpFooterLayout::ParseBackGround(), LwpHeaderLayout::ParseBackGround(), and LwpPageLayout::ParseBackGround().
|
overridevirtual |
@descr: Whether it is protected
Reimplemented from LwpVirtualLayout.
Definition at line 1304 of file lwplayout.cxx.
References get(), GetBasedOnStyle(), LwpFoundry::GetDocument(), LwpDocument::GetHonorProtection(), LwpDLNFVList::GetParent(), LwpVirtualLayout::IsProtected(), LwpVirtualLayout::m_nAttributes, LwpVirtualLayout::m_nOverrideFlag, LwpObject::m_pFoundry, OVER_MISC, and STYLE_PROTECTED.
bool LwpMiddleLayout::IsSizeRightToContainer | ( | ) |
Definition at line 1018 of file lwplayout.cxx.
References CanSizeRight(), GetBasedOnStyle(), IsSizeRightToContainer(), LwpVirtualLayout::LAY_AUTOSIZE, LwpVirtualLayout::LAY_TOCONTAINER, LwpVirtualLayout::LAY_USEDIRECTION, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_RIGHT.
Referenced by DetermineWidth(), and IsSizeRightToContainer().
bool LwpMiddleLayout::IsSizeRightToContent | ( | ) |
Definition at line 1037 of file lwplayout.cxx.
References CanSizeRight(), GetBasedOnStyle(), IsSizeRightToContent(), LwpVirtualLayout::LAY_AUTOSIZE, LwpVirtualLayout::LAY_TOCONTAINER, LwpVirtualLayout::LAY_USEDIRECTION, LwpVirtualLayout::m_nDirection, LwpVirtualLayout::m_nOverrideFlag, OVER_SIZE, and LwpVirtualLayout::SHIFT_RIGHT.
Referenced by DetermineWidth(), IsSizeRightToContent(), and LwpSuperTableLayout::IsSizeRightToContent().
|
overrideprotectedvirtual |
@descr: Whether the margins is same as parent layout
Reimplemented from LwpVirtualLayout.
Definition at line 692 of file lwplayout.cxx.
References GetBasedOnStyle(), LwpVirtualLayout::m_nOverrideFlag, LwpVirtualLayout::MarginsSameAsParent(), and OVER_MARGINS.
|
overrideprotectedvirtual |
@descr: Get margin
nWhichSide - 0: left, 1: right, 2:top, 3: bottom |
Reimplemented from LwpVirtualLayout.
Definition at line 710 of file lwplayout.cxx.
References get(), GetBasedOnStyle(), LwpLayoutMargins::GetMargins(), LwpVirtualLayout::GetMarginsSameAsParent(), LwpVirtualLayout::GetMarginsValue(), LwpMargins::GetMarginsValue(), LwpDLNFVList::GetParent(), m_LayMargins, LwpVirtualLayout::m_nOverrideFlag, MARGIN_LEFT, MARGIN_RIGHT, LwpVirtualLayout::MarginsValue(), LwpObjectID::obj(), and OVER_MARGINS.
|
overrideprotectedvirtual |
@descr Read name of LwpDLNFVList from object stream
Reimplemented from LwpVirtualLayout.
Reimplemented in LwpLayout, LwpPlacableLayout, LwpNoteLayout, LwpNoteHeaderLayout, LwpNoteTextLayout, LwpViewportLayout, LwpPageLayout, LwpHeaderLayout, LwpFooterLayout, LwpTableLayout, LwpSuperTableLayout, LwpTableHeadingLayout, LwpSuperParallelColumnLayout, LwpParallelColumnsLayout, LwpSuperGlossaryLayout, and LwpTocSuperLayout.
Definition at line 574 of file lwplayout.cxx.
References LwpObjectStream::CheckExtra(), DISK_GOT_MISC_STUFF, DISK_GOT_STYLE_STUFF, m_aMiscStuff, m_aStyleStuff, m_BasedOnStyle, m_Content, m_LayBackgroundStuff, m_LayBorderStuff, m_LayExtBorderStuff, m_LayGeometry, m_LayMargins, m_LayScale, LwpFileHeader::m_nFileRevision, LwpObject::m_pObjStrm, m_TabPiece, LwpObjectStream::QuickReaduInt8(), LwpVirtualLayout::Read(), LwpAtomHolder::Read(), LwpLayoutStyle::Read(), LwpLayoutMisc::Read(), LwpObjectID::ReadIndexed(), and LwpObjectStream::SkipExtra().
Referenced by LwpCellLayout::Read(), and LwpLayout::Read().
|
protected |
Definition at line 405 of file lwplayout.hxx.
Referenced by Read().
|
protected |
Definition at line 404 of file lwplayout.hxx.
Referenced by Read().
|
private |
Definition at line 393 of file lwplayout.hxx.
Referenced by GetBasedOnStyle(), and Read().
|
protected |
Definition at line 413 of file lwplayout.hxx.
Referenced by GetBackgroundStuff().
|
protected |
Definition at line 412 of file lwplayout.hxx.
Referenced by GetGeometry().
|
protected |
Definition at line 401 of file lwplayout.hxx.
Referenced by LwpFrameLayout::ApplyGraphicSize(), LwpCellLayout::ConvertCell(), GetContent(), LwpRubyLayout::GetContentStory(), LwpTableLayout::GetTable(), HasContent(), LwpFrameLayout::IsForWaterMark(), LwpDropcapLayout::Parse(), LwpPageLayout::Parse(), Read(), LwpCellLayout::RegisterStyle(), LwpFnCellLayout::RegisterStyle(), LwpFrameLayout::RegisterStyle(), LwpNoteTextLayout::RegisterStyle(), LwpDropcapLayout::RegisterStyle(), LwpHeaderLayout::RegisterStyle(), LwpFooterLayout::RegisterStyle(), LwpDropcapLayout::XFConvert(), LwpNoteTextLayout::XFConvert(), and LwpFrameLayout::XFConvertFrame().
|
protected |
Definition at line 410 of file lwplayout.hxx.
Referenced by GetBackgroundStuff(), and Read().
|
protected |
Definition at line 409 of file lwplayout.hxx.
Referenced by GetBorderStuff(), and Read().
|
protected |
Definition at line 411 of file lwplayout.hxx.
Referenced by Read().
|
protected |
Definition at line 406 of file lwplayout.hxx.
Referenced by GetContentOrientation(), GetGeometry(), and Read().
|
protected |
Definition at line 408 of file lwplayout.hxx.
Referenced by ExtMarginsValue(), MarginsValue(), and Read().
|
protected |
Definition at line 407 of file lwplayout.hxx.
Referenced by GetLayoutScale(), GetScaleCenter(), GetScaleMode(), GetScaleTile(), and Read().
|
protected |
Definition at line 403 of file lwplayout.hxx.
Referenced by GetTabOverride(), and Read().