LibreOffice Module lotuswordpro (master) 1
|
#include <lwplayout.hxx>
Public Types | |
enum | WrapType { LAY_WRAP_AROUND = 1 , LAY_NO_WRAP_BESIDE , LAY_NO_WRAP_AROUND , LAY_WRAP_LEFT , LAY_WRAP_RIGHT , LAY_WRAP_BOTH , LAY_WRAP_IRREG_BOTH , LAY_WRAP_IRREG_LEFT , LAY_WRAP_IRREG_RIGHT , LAY_WRAP_IRREG_BIGGEST } |
Public Types inherited from LwpLayout | |
enum | UseWhenType { StartWithinColume , StartWithinPage , StartOnNextPage , StartOnOddPage , StartOnEvenPage } |
Public Member Functions | |
LwpPlacableLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual | ~LwpPlacableLayout () override |
sal_uInt8 | GetWrapType () |
@descr: get wrap type More... | |
LwpLayoutRelativity * | GetRelativityPiece () |
@descr: get LayoutRelativity More... | |
virtual sal_uInt8 | GetRelativeType () override |
@descr: Get relative type More... | |
sal_Int32 | GetBaseLineOffset () |
@descr: Get offset from the baseline More... | |
virtual bool | IsAnchorPage () override |
@descr: whether the parent layout is page layout More... | |
virtual bool | IsAnchorFrame () override |
@descr: whether the parent layout is frame layout More... | |
virtual bool | IsAnchorCell () override |
@descr: whether the parent layout is cell layout More... | |
virtual void | XFConvertFrame (XFContentContainer *, sal_Int32=0, sal_Int32=0, bool=false) |
const rtl::Reference< XFFont > & | GetFont () const |
@descr: Get font style for setting position of frame More... | |
void | SetFont (rtl::Reference< XFFont > const &pFont) |
@descr: Set font style for setting position of frame More... | |
Public Member Functions inherited from LwpLayout | |
LwpLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual | ~LwpLayout () override |
XFColumns * | GetXFColumns () |
@descr: Create and return XFColumns object More... | |
XFColumnSep * | GetColumnSep () |
@descr: Create and return XFColumnSep object More... | |
LwpShadow * | GetShadow () |
@descr: Get the LwpShadow object according to m_LayShadow id. More... | |
XFShadow * | GetXFShadow () |
@descr: create xfshadow More... | |
LwpUseWhen * | VirtualGetUseWhen () override |
@descr: Get usewhen pointer More... | |
virtual sal_uInt16 | GetNumCols () override |
@descr: Get columns number More... | |
virtual double | GetColGap (sal_uInt16 nIndex) override |
@descr: Get gap between columns More... | |
sal_uInt16 | GetUsePage () |
@descr: Get use page More... | |
UseWhenType | GetUseWhenType () |
@descr: Get use when type More... | |
virtual bool | IsUseOnAllPages () override |
@descr: Whether it is use on all pages More... | |
virtual bool | IsUseOnAllEvenPages () override |
@descr: Whether it is use on all even pages More... | |
virtual bool | IsUseOnAllOddPages () override |
@descr: Whether it is use on all odd pages More... | |
virtual bool | IsUseOnPage () override |
@descr: Whether it is use on current page More... | |
LwpObjectID & | GetPosition () |
virtual rtl::Reference< LwpVirtualLayout > | GetContainerLayout () override |
@descr get the layout that containers the current frame layout More... | |
Public Member Functions inherited from LwpMiddleLayout | |
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... | |
void | Read () override |
@descr Read name of LwpDLNFVList from object stream More... | |
Protected Member Functions inherited from LwpMiddleLayout | |
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 |
Definition at line 464 of file lwplayout.hxx.
Enumerator | |
---|---|
LAY_WRAP_AROUND | |
LAY_NO_WRAP_BESIDE | |
LAY_NO_WRAP_AROUND | |
LAY_WRAP_LEFT | |
LAY_WRAP_RIGHT | |
LAY_WRAP_BOTH | |
LAY_WRAP_IRREG_BOTH | |
LAY_WRAP_IRREG_LEFT | |
LAY_WRAP_IRREG_RIGHT | |
LAY_WRAP_IRREG_BIGGEST |
Definition at line 483 of file lwplayout.hxx.
LwpPlacableLayout::LwpPlacableLayout | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 1924 of file lwplayout.cxx.
|
overridevirtual |
Definition at line 1934 of file lwplayout.cxx.
sal_Int32 LwpPlacableLayout::GetBaseLineOffset | ( | ) |
@descr: Get offset from the baseline
Definition at line 2046 of file lwplayout.cxx.
References LwpMiddleLayout::GetBasedOnStyle(), GetRelativeType(), LwpLayoutRelativityGuts::LAY_INLINE, m_nBaseLineOffset, LwpVirtualLayout::m_nOverrideFlag, and OVER_PLACEMENT.
Referenced by LwpFrame::ApplyPosType(), and LwpFrame::ParseAnchorType().
|
inline |
@descr: Get font style for setting position of frame
Definition at line 481 of file lwplayout.hxx.
References m_pFont.
Referenced by LwpFrame::ParseAnchorType().
|
overridevirtual |
@descr: Get relative type
Reimplemented from LwpVirtualLayout.
Definition at line 2033 of file lwplayout.cxx.
References LwpVirtualLayout::GetRelativeType(), LwpLayoutRelativityGuts::GetRelativeType(), GetRelativityPiece(), and LwpLayoutRelativity::GetRelGuts().
Referenced by LwpFrame::ApplyPosType(), LwpFrame::ApplyWrapType(), GetBaseLineOffset(), LwpFrameLayout::GetMaxWidth(), LwpSuperTableLayout::IsJustifiable(), LwpSuperTableLayout::IsSizeRightToContent(), LwpFrame::ParseAnchorType(), LwpTableLayout::RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFribTable::XFConvert(), and LwpSuperTableLayout::XFConvert().
LwpLayoutRelativity * LwpPlacableLayout::GetRelativityPiece | ( | ) |
@descr: get LayoutRelativity
Definition at line 2005 of file lwplayout.cxx.
References LwpMiddleLayout::GetBasedOnStyle(), LwpObjectID::IsNull(), m_bGettingLayoutRelativity, m_LayRelativity, LwpVirtualLayout::m_nOverrideFlag, LwpObjectID::obj(), and OVER_PLACEMENT.
Referenced by GetRelativeType().
sal_uInt8 LwpPlacableLayout::GetWrapType | ( | ) |
@descr: get wrap type
Definition at line 1981 of file lwplayout.cxx.
References LwpMiddleLayout::GetBasedOnStyle(), LAY_WRAP_AROUND, m_bGettingWrapType, LwpVirtualLayout::m_nOverrideFlag, m_nWrapType, and OVER_PLACEMENT.
Referenced by LwpFrame::ApplyWrapType().
|
overridevirtual |
@descr: whether the parent layout is cell layout
Reimplemented from LwpVirtualLayout.
Definition at line 2102 of file lwplayout.cxx.
References LwpVirtualLayout::GetParentLayout(), and LwpVirtualLayout::IsRelativeAnchored().
Referenced by LwpFrame::ApplyPosType(), and LwpFrame::ParseAnchorType().
|
overridevirtual |
@descr: whether the parent layout is frame layout
Reimplemented from LwpVirtualLayout.
Definition at line 2090 of file lwplayout.cxx.
References LwpVirtualLayout::GetParentLayout(), and LwpVirtualLayout::IsRelativeAnchored().
Referenced by LwpFrame::ApplyPosType(), and LwpFrame::ParseAnchorType().
|
overridevirtual |
@descr: whether the parent layout is page layout
Reimplemented from LwpVirtualLayout.
Definition at line 2078 of file lwplayout.cxx.
References LwpVirtualLayout::GetParentLayout(), and LwpVirtualLayout::IsRelativeAnchored().
Referenced by LwpFrame::ApplyPosType(), LwpFrame::ParseAnchorType(), and LwpFrame::XFConvert().
|
overrideprotectedvirtual |
@descr Read name of LwpDLNFVList from object stream
Reimplemented from LwpLayout.
Reimplemented in LwpNoteLayout, LwpNoteHeaderLayout, LwpNoteTextLayout, LwpViewportLayout, LwpHeaderLayout, LwpFooterLayout, LwpSuperTableLayout, LwpSuperParallelColumnLayout, LwpSuperGlossaryLayout, and LwpTocSuperLayout.
Definition at line 1936 of file lwplayout.cxx.
References LwpObjectStream::CheckExtra(), count, LAY_BUOYNEUTRAL, LAY_WRAP_AROUND, m_LayRelativity, m_nBaseLineOffset, m_nBuoyancy, LwpFileHeader::m_nFileRevision, m_nWrapType, LwpObject::m_pObjStrm, m_Script, LwpObjectStream::QuickReadInt32(), LwpObjectStream::QuickReaduInt16(), LwpObjectStream::QuickReaduInt8(), LwpLayout::Read(), LwpAtomHolder::Read(), LwpPoint::Read(), LwpObjectID::ReadIndexed(), and LwpObjectStream::SkipExtra().
Referenced by LwpContFromLayout::Read(), LwpContOnLayout::Read(), LwpFrameLayout::Read(), LwpGroupLayout::Read(), LwpViewportLayout::Read(), LwpHeaderLayout::Read(), LwpFooterLayout::Read(), and LwpSuperTableLayout::Read().
void LwpPlacableLayout::SetFont | ( | rtl::Reference< XFFont > const & | pFont | ) |
@descr: Set font style for setting position of frame
Definition at line 2115 of file lwplayout.cxx.
References m_pFont.
Referenced by LwpFribFrame::RegisterStyle().
|
inlinevirtual |
Reimplemented in LwpFrameLayout, LwpGroupLayout, LwpSuperTableLayout, and LwpTocSuperLayout.
Definition at line 476 of file lwplayout.hxx.
Referenced by LwpFrame::XFConvert().
|
protected |
Definition at line 500 of file lwplayout.hxx.
Referenced by GetRelativityPiece().
|
protected |
Definition at line 499 of file lwplayout.hxx.
Referenced by GetWrapType().
|
protected |
Definition at line 505 of file lwplayout.hxx.
Referenced by GetRelativityPiece(), and Read().
|
protected |
Definition at line 503 of file lwplayout.hxx.
Referenced by GetBaseLineOffset(), and Read().
|
protected |
Definition at line 502 of file lwplayout.hxx.
Referenced by LwpFrameLayout::IsForWaterMark(), and Read().
|
protected |
Definition at line 501 of file lwplayout.hxx.
Referenced by GetWrapType(), and Read().
|
protected |
Definition at line 506 of file lwplayout.hxx.
|
protected |
Definition at line 504 of file lwplayout.hxx.
Referenced by Read().