61#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRAMELAYOUT_HXX
62#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRAMELAYOUT_HXX
81 void RegisterStyle(std::unique_ptr<XFFrameStyle>& rFrameStyle);
137 bool bAll =
false)
override;
145 void Read()
override;
169 bool bAll =
false)
override;
172 void Read()
override;
191 void Read()
override;
210 void Read()
override;
235 void Read()
override;
Stream wrapper for sax writer.
Base class of all Lwp content objects.
void SetChars(sal_uInt32 nChars)
void RegisterStyle() override
@descr do nothing
LwpDropcapLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
virtual void Parse(IXFStream *pOutputStream) override
@descr default parse function
void Read() override
@descr read frame layout object
sal_uInt32 GetChars() const
virtual void XFConvert(XFContentContainer *pCont) override
@descr create a xfframe and add into content container
virtual LWP_LAYOUT_TYPE GetLayoutType() override
sal_uInt16 GetLines() const
virtual void XFConvert(XFContentContainer *pCont) override
@descr create a xfframe and add into content container
LwpFrameLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
virtual LWP_LAYOUT_TYPE GetLayoutType() override
void Read() override
@descr read frame layout object
bool IsForWaterMark() override
@descr whether current frame is for water mark.
double GetWidth() override
@descr Get frame width
double GetMaxWidth()
@descr Get frame width when the text field chooses maximize field length
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
virtual ~LwpFrameLayout() override
OUString GetNextLinkName()
@descr get the name of the frame that current frame links
void ApplyGraphicSize(XFFrame *pXFFrame)
@descr Set frame size according to graphic size
bool HasPreviousLinkLayout()
@descr whether current frame is linked by other frame
std::unique_ptr< LwpFrame > m_pFrame
virtual void RegisterStyle() override
@descr register frame style
LwpObjectID & GetNextLayout()
LwpObjectID m_PreviousLayout
LwpObjectID & GetPreviousLayout()
void Read(LwpObjectStream *pStrm)
@descr frame link information
For register frame style and parse frame.
LwpPlacableLayout * m_pLayout
void ParseAnchorType(XFFrame *pXFFrame)
@descr: set frame size, anchor type, anchored page number
void ApplyWrapType(XFFrameStyle *pFrameStyle)
@descr: set frame wrap type style
void ApplyProtect(XFFrameStyle *pFrameStyle)
@descr: set frame protect style
void XFConvert(XFContentContainer *pCont)
@descr: parse frame relative to page, frame or cell
void Parse(XFFrame *pXFFrame, sal_Int32 nPageNo)
@descr: parse frame and set frame properties
void ApplyBackGround(XFFrameStyle *pFrameStyle)
Apply background to frame style.
void ApplyBackColor(XFFrameStyle *pFrameStyle)
@descr: set frame back color style
void RegisterStyle(std::unique_ptr< XFFrameStyle > &rFrameStyle)
@descr: parse frame
void ApplyPosType(XFFrameStyle *pFrameStyle)
@descr: set frame position type style
void ApplyPadding(XFFrameStyle *pFrameStyle)
@descr: set padding border style
void ApplyShadow(XFFrameStyle *pFrameStyle)
@descr: set frame shadow style
bool IsLeftWider()
@descr Calculate the distance between the frame object and the page margins.
void ApplyWatermark(XFFrameStyle *pFrameStyle)
@descr: set frame watermark style
LwpFrame(LwpPlacableLayout *pLayout)
void ApplyMargins(XFFrameStyle *pFrameStyle)
@descr: set frame margins style
void ApplyBorders(XFFrameStyle *pFrameStyle)
@descr: set frame border style
void ApplyPatternFill(XFFrameStyle *pFrameStyle)
Apply pattern fill to frame style.
void ApplyColumns(XFFrameStyle *pFrameStyle)
@descr: set frame columns style
void ApplyTextDir(XFFrameStyle *pFrameStyle)
@descr: set frame text direction style
VO_GROUPFRAME object , information for frame group contents.
LwpGroupFrame(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
virtual ~LwpGroupFrame() override
virtual void XFConvert(XFContentContainer *pCont) override
@descr default XFConvert function pCont is the XFContentContainer for the object conversion
void Read() override
@descr default read function
virtual void RegisterStyle() override
@descr default register style function
VO_GROUPLAYOUT object , information for frame group layout.
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
virtual ~LwpGroupLayout() override
virtual void XFConvert(XFContentContainer *pCont) override
@descr create a xfframe and add into content container
virtual LWP_LAYOUT_TYPE GetLayoutType() override
void Read() override
@descr read group layout object
virtual void RegisterStyle() override
@descr register group frame style
LwpGroupLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
std::unique_ptr< LwpFrame > m_pFrame
stream class for LwpObject body data provide stream like interface to read object data
LwpStory * GetContentStory()
void Read() override
@descr read frame layout object
LwpRubyMarker * GetMarker()
void RegisterStyle() override
@descr register frame style
void ConvertContentText()
LwpObjectID m_objRubyMarker
LwpRubyLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
encapsulate XInputStream to provide SvStream like interfaces
Style for all frame objects.
Base class for all frame object,include drawing,image,text-box.