LibreOffice Module lotuswordpro (master) 1
|
#include <lwpframelayout.hxx>
Public Types | |
enum | { LEFT = 4 , RIGHT = 5 , CENTER = 2 , TOP = 1 , BOTTOM = 3 } |
Public Types inherited from LwpPlacableLayout | |
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 | |
LwpRubyLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpRubyMarker * | GetMarker () |
void | ConvertContentText () |
LwpStory * | GetContentStory () |
void | RegisterStyle () override |
@descr register frame style More... | |
Public Member Functions inherited from LwpFrameLayout | |
LwpFrameLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual | ~LwpFrameLayout () override |
virtual LWP_LAYOUT_TYPE | GetLayoutType () override |
virtual void | RegisterStyle () override |
@descr register frame style More... | |
virtual void | XFConvert (XFContentContainer *pCont) override |
@descr create a xfframe and add into content container More... | |
void | XFConvertFrame (XFContentContainer *pCont, sal_Int32 nStart=0, sal_Int32 nEnd=0, bool bAll=false) override |
@descr create a xfframe and add into content container, called by XFConvert More... | |
OUString | GetNextLinkName () |
@descr get the name of the frame that current frame links More... | |
bool | HasPreviousLinkLayout () |
@descr whether current frame is linked by other frame More... | |
bool | IsForWaterMark () override |
@descr whether current frame is for water mark. More... | |
double | GetWidth () override |
@descr Get frame width More... | |
void | ApplyGraphicSize (XFFrame *pXFFrame) |
@descr Set frame size according to graphic size More... | |
Public Member Functions inherited from LwpPlacableLayout | |
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 frame layout object More... | |
void | Read () override |
@descr read frame layout object More... | |
Protected Member Functions inherited from LwpPlacableLayout | |
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 |
Private Attributes | |
sal_uInt8 | m_nPlacement |
sal_uInt8 | m_nAlignment |
sal_uInt16 | m_nStateFlag |
sal_Int32 | m_nXOffset |
sal_Int32 | m_nYOffset |
LwpObjectID | m_objRubyMarker |
Definition at line 217 of file lwpframelayout.hxx.
anonymous enum |
Enumerator | |
---|---|
LEFT | |
RIGHT | |
CENTER | |
TOP | |
BOTTOM |
Definition at line 225 of file lwpframelayout.hxx.
LwpRubyLayout::LwpRubyLayout | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 1179 of file lwpframelayout.cxx.
void LwpRubyLayout::ConvertContentText | ( | ) |
Definition at line 1211 of file lwpframelayout.cxx.
References GetContentStory(), LwpStory::GetContentText(), GetMarker(), and LwpRubyMarker::SetRubyText().
Referenced by LwpFribRubyFrame::XFConvert().
LwpStory * LwpRubyLayout::GetContentStory | ( | ) |
Definition at line 1206 of file lwpframelayout.cxx.
References LwpMiddleLayout::m_Content, LwpObjectID::obj(), and VO_STORY.
Referenced by ConvertContentText(), and RegisterStyle().
LwpRubyMarker * LwpRubyLayout::GetMarker | ( | ) |
Definition at line 1201 of file lwpframelayout.cxx.
References m_objRubyMarker, LwpObjectID::obj(), and VO_RUBYMARKER.
Referenced by ConvertContentText(), and RegisterStyle().
|
overrideprotectedvirtual |
@descr read frame layout object
Reimplemented from LwpFrameLayout.
Definition at line 1189 of file lwpframelayout.cxx.
References m_nAlignment, m_nPlacement, m_nStateFlag, m_nXOffset, m_nYOffset, m_objRubyMarker, LwpObject::m_pObjStrm, LwpFrameLayout::Read(), and LwpObjectID::ReadIndexed().
|
overridevirtual |
@descr register frame style
Reimplemented from LwpFrameLayout.
Definition at line 1219 of file lwpframelayout.cxx.
References XFStyleManager::AddStyle(), BOTTOM, CENTER, enumXFRubyBottom, enumXFRubyCenter, enumXFRubyLeft, enumXFRubyRight, enumXFRubyTop, eType, GetContentStory(), LwpGlobalMgr::GetInstance(), GetMarker(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), LEFT, m_nAlignment, m_nPlacement, LwpObject::m_pFoundry, IXFStyleRet::m_pStyle, LwpStory::RegisterFirstFribStyle(), RIGHT, LwpObject::SetFoundry(), LwpRubyMarker::SetRubyStyleName(), LwpRubyMarker::SetTextStyleName(), and TOP.
Referenced by LwpFribRubyFrame::RegisterStyle().
|
private |
Definition at line 239 of file lwpframelayout.hxx.
Referenced by Read(), and RegisterStyle().
|
private |
Definition at line 238 of file lwpframelayout.hxx.
Referenced by Read(), and RegisterStyle().
|
private |
Definition at line 240 of file lwpframelayout.hxx.
Referenced by Read().
|
private |
Definition at line 241 of file lwpframelayout.hxx.
Referenced by Read().
|
private |
Definition at line 242 of file lwpframelayout.hxx.
Referenced by Read().
|
private |
Definition at line 243 of file lwpframelayout.hxx.
Referenced by GetMarker(), and Read().