LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Protected Member Functions | List of all members
LwpFnCellLayout Class Reference

VO_FNCELLLAYOUT object. More...

#include <lwpfnlayout.hxx>

Inheritance diagram for LwpFnCellLayout:
[legend]
Collaboration diagram for LwpFnCellLayout:
[legend]

Public Member Functions

 LwpFnCellLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpFnCellLayout () override
 
void RegisterStyle () override
 @descr Register footnote/endnote contents style More...
 
virtual void XFConvert (XFContentContainer *pCont) override
 @descr Do nothing More...
 
virtual LWP_LAYOUT_TYPE GetLayoutType () override
 
- Public Member Functions inherited from LwpCellLayout
 LwpCellLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpCellLayout () override
 
virtual LWP_LAYOUT_TYPE GetLayoutType () override
 
rtl::Reference< XFCellDoConvertCell (LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol)
 
sal_uInt16 GetRowID () const
 
sal_uInt8 GetColID () const
 
void RegisterStyle () override
 Register 4 types of cell style and register content styles. More...
 
LwpObjectIDGetNumericsObject ()
 
LwpObjectIDGetPreviousCellStory ()
 Get previous cell which used for bullet inside cell. More...
 
virtual LwpParaGetLastParaOfPreviousStory () override
 
LwpTableLayoutGetTableLayout ()
 Get table layout pointer, if default cell layout, return NULL. More...
 
virtual void SetCellMap ()
 Set current cell layout to cell layout map. More...
 
double GetActualWidth ()
 Get actual width of this cell layout. More...
 
const OUString & GetNumfmtName () const
 
- 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...
 
LwpBorderStuffGetBorderStuff ()
 @descr: Get the LwpBorderStuff object according to m_LayBorderStuff id. More...
 
LwpBackgroundStuffGetBackgroundStuff ()
 @descr: Get LwpBackgroundStuff object according to m_LayBackgroundStuff id; More...
 
LwpLayoutGeometryGetGeometry ()
 @descr: Get the geometry of current layout More...
 
enumXFTextDir GetTextDirection ()
 @descr: Get text direction settings. More...
 
std::unique_ptr< XFBordersGetXFBorders ()
 @descr: create xfborder. More...
 
LwpColorGetBackColor ()
 @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< LwpVirtualLayoutGetWaterMarkLayout ()
 @descr: Get watermark layout More...
 
std::unique_ptr< XFBGImageGetXFBGImage ()
 @descr: Create and return xfbgimage object for watermark More...
 
bool GetUsePrinterSettings ()
 @descr: Whether the page uses the printer setting More...
 
LwpLayoutScaleGetLayoutScale ()
 
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< XFBGImageGetFillPattern ()
 @descr: Get the fill pattern style. More...
 
virtual bool HasContent () override
 
LwpObjectIDGetContent ()
 
LwpTabOverrideGetTabOverride ()
 @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...
 
LwpUseWhenGetUseWhen ()
 @descr: Get usewhen pointer More...
 
virtual LwpUseWhenVirtualGetUseWhen ()
 
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 LwpParaGetLastParaOfPreviousStory ()
 
rtl::Reference< LwpVirtualLayoutGetParentLayout ()
 @descr: Get parent layout More...
 
virtual rtl::Reference< LwpVirtualLayoutGetContainerLayout ()
 
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 ()
 
LwpVirtualLayoutFindChildByType (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...
 
LwpPropListGetPropList ()
 
- Public Member Functions inherited from LwpDLNFVList
 LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpAtomHolderGetName ()
 
LwpObjectIDGetChildHead ()
 
LwpObjectIDGetChildTail ()
 
LwpObjectIDGetParent ()
 
- Public Member Functions inherited from LwpDLVList
 LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpObjectIDGetNext ()
 
LwpObjectIDGetPrevious ()
 
- 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)
 
LwpFoundryGetFoundry ()
 
void SetFoundry (LwpFoundry *pFoundry)
 
LwpObjectIDGetObjectID ()
 
sal_uInt32 GetTag () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

void Read () override
 @descr Read object info More...
 
- Protected Member Functions inherited from LwpCellLayout
void Read () override
 Read cell layout. More...
 
LwpTableGetTable ()
 Get table pointer, if default cell layout, return NULL. More...
 
void ApplyPadding (XFCellStyle *pCellStyle)
 Apply padding to cell style. More...
 
void ApplyBorders (XFCellStyle *pCellStyle)
 Apply border to cell style according to cell position, default cell layout won't use this function. More...
 
void ApplyPatternFill (XFCellStyle *pCellStyle)
 Apply pattern fill to cell style. More...
 
void ApplyBackGround (XFCellStyle *pCellStyle)
 Apply background to cell style. More...
 
void ApplyBackColor (XFCellStyle *pCellStyle)
 Apply back color to cell style. More...
 
void ApplyWatermark (XFCellStyle *pCellStyle)
 Apply watermark to cell style. More...
 
void ApplyProtect (XFCell *pCell, LwpObjectID aTableID)
 Apply protect attribute to cell of table. More...
 
void ApplyFmtStyle (XFCellStyle *pCellStyle)
 register style of cell layout More...
 
OUString const & GetCellStyleName (sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout)
 get style name according to cell position, only table default cells use this function More...
 
void RegisterDefaultCell ()
 Register table's default cell layout. More...
 
virtual LwpCellBorderType GetCellBorderType (sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout)
 judge border type by cell neighbour More...
 
virtual rtl::Reference< XFCellConvertCell (LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol)
 Make the XFCell. More...
 
virtual sal_uInt16 GetBelowRowID (sal_uInt16 nRow)
 
- 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< LwpObjectGetBasedOnStyle () 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
 

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)
 
- Protected Types inherited from LwpCellLayout
enum  LeaderDotType {
  LDT_NONE = 0 ,
  LDT_DOTS = 1 ,
  LDT_DASHES = 2 ,
  LDT_UNDERSCORES = 3
}
 
- Protected Types inherited from LwpMiddleLayout
enum  {
  DISK_GOT_STYLE_STUFF = 0x01 ,
  DISK_GOT_MISC_STUFF = 0x02
}
 
- Protected Types inherited from LwpVirtualLayout
enum  LWP_LAYOUT_TYPE {
  LWP_VIRTUAL_LAYOUT ,
  LWP_HEAD_LAYOUT ,
  LWP_PAGE_LAYOUT ,
  LWP_HEADER_LAYOUT ,
  LWP_FOOTER_LAYOUT ,
  LWP_FRAME_LAYOUT ,
  LWP_SUPERTABLE_LAYOUT ,
  LWP_TABLE_LAYOUT ,
  LWP_ROW_LAYOUT ,
  LWP_COLUMN_LAYOUT ,
  LWP_CELL_LAYOUT ,
  LWP_CONNECTED_CELL_LAYOUT ,
  LWP_HIDDEN_CELL_LAYOUT ,
  LWP_TABLE_HEADING_LAYOUT ,
  LWP_ROW_HEADING_LAYOUT ,
  LWP_DROPCAP_LAYOUT ,
  LWP_GROUP_LAYOUT ,
  LWP_TOC_SUPERTABLE_LAYOUT ,
  LWP_FOOTNOTE_LAYOUT ,
  LWP_FOOTNOTE_ROW_LAYOUT ,
  LWP_FOOTNOTE_CELL_LAYOUT ,
  LWP_ENDNOTE_LAYOUT ,
  LWP_ENDNOTE_SUPERTABLE_LAYOUT ,
  LWP_FOOTNOTE_SUPERTABLE_LAYOUT ,
  LWP_NOTE_LAYOUT ,
  LWP_NOTEHEADER_LAYOUT ,
  LWP_NOTETEXT_LAYOUT ,
  LWP_VIEWPORT_LAYOUT
}
 
enum  LayoutDirection {
  LAY_USEDIRECTION = 0x01 ,
  LAY_AUTOGROW = 0x02 ,
  LAY_AUTOSIZE = 0x04 ,
  LAY_TOCONTAINER = 0x08 ,
  LAY_DIRALLBITS = 0x0f
}
 
enum  {
  SHIFT_UP = 0 ,
  SHIFT_DOWN = 4 ,
  SHIFT_LEFT = 8 ,
  SHIFT_RIGHT =12
}
 
- Static Protected Member Functions inherited from LwpCellLayout
static LwpCellLayoutGetCellByRowCol (sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout)
 Get neighbour cell by specifying ROW+COL. More...
 
static sal_uInt16 GetLeftColID (sal_uInt16 nCol)
 
- Protected Attributes inherited from LwpCellLayout
bool m_bConvertCell
 
sal_uInt16 crowid
 
sal_uInt8 ccolid
 
LwpObjectID cLayNumerics
 
LwpObjectID cLayDiagonalLine
 
LeaderDotType cType
 
OUString m_CellStyleNames [enumCellBorderTopLimit]
 
OUString m_NumfmtName
 
- Protected Attributes inherited from LwpMiddleLayout
LwpObjectID m_Content
 
LwpObjectID m_TabPiece
 
LwpLayoutStyle m_aStyleStuff
 
LwpLayoutMisc m_aMiscStuff
 
LwpObjectID m_LayGeometry
 
LwpObjectID m_LayScale
 
LwpObjectID m_LayMargins
 
LwpObjectID m_LayBorderStuff
 
LwpObjectID m_LayBackgroundStuff
 
LwpObjectID m_LayExtBorderStuff
 
bool m_bGettingGeometry
 
bool m_bGettingBackgroundStuff
 
- Protected Attributes inherited from LwpVirtualLayout
bool m_bGettingHonorProtection
 
bool m_bGettingMarginsSameAsParent
 
bool m_bGettingHasProtection
 
bool m_bGettingIsProtected
 
bool m_bGettingIsAutoGrowDown
 
bool m_bGettingMarginsValue
 
bool m_bGettingExtMarginsValue
 
bool m_bGettingUsePrinterSettings
 
bool m_bGettingScaleCenter
 
bool m_bGettingBorderStuff
 
bool m_bGettingUseWhen
 
bool m_bGettingStyleLayout
 
bool m_bGettingAutoGrowUp
 
sal_uInt32 m_nAttributes
 
sal_uInt32 m_nAttributes2
 
sal_uInt32 m_nAttributes3
 
sal_uInt32 m_nOverrideFlag
 
sal_uInt16 m_nDirection
 
sal_uInt16 m_nEditorID
 
LwpObjectID m_NextEnumerated
 
LwpObjectID m_PreviousEnumerated
 
OUString m_StyleName
 
- Protected Attributes inherited from LwpDLNFVList
LwpObjectID m_ChildHead
 
LwpObjectID m_ChildTail
 
LwpObjectID m_Parent
 
LwpAtomHolder m_Name
 
- Protected Attributes inherited from LwpObject
LwpObjectHeader m_ObjHdr
 
std::unique_ptr< LwpObjectStreamm_pObjStrm
 
LwpFoundrym_pFoundry
 
LwpSvStreamm_pStrm
 
bool m_bRegisteringStyle
 
bool m_bParsingStyle
 
bool m_bConvertingContent
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

VO_FNCELLLAYOUT object.

Definition at line 105 of file lwpfnlayout.hxx.

Constructor & Destructor Documentation

◆ LwpFnCellLayout()

LwpFnCellLayout::LwpFnCellLayout ( LwpObjectHeader const &  objHdr,
LwpSvStream pStrm 
)

Definition at line 133 of file lwpfnlayout.cxx.

◆ ~LwpFnCellLayout()

LwpFnCellLayout::~LwpFnCellLayout ( )
overridevirtual

Definition at line 138 of file lwpfnlayout.cxx.

Member Function Documentation

◆ GetLayoutType()

virtual LWP_LAYOUT_TYPE LwpFnCellLayout::GetLayoutType ( )
inlineoverridevirtual

Reimplemented from LwpCellLayout.

Definition at line 112 of file lwpfnlayout.hxx.

References LwpVirtualLayout::LWP_FOOTNOTE_CELL_LAYOUT.

◆ Read()

void LwpFnCellLayout::Read ( )
overrideprotectedvirtual

@descr Read object info

Reimplemented from LwpCellLayout.

Definition at line 143 of file lwpfnlayout.cxx.

References LwpObject::m_pObjStrm, and LwpCellLayout::Read().

◆ RegisterStyle()

void LwpFnCellLayout::RegisterStyle ( )
overridevirtual

@descr Register footnote/endnote contents style

Reimplemented from LwpCellLayout.

Definition at line 152 of file lwpfnlayout.cxx.

References LwpMiddleLayout::m_Content, LwpObject::m_pFoundry, and LwpObjectID::obj().

◆ XFConvert()

void LwpFnCellLayout::XFConvert ( XFContentContainer pCont)
overridevirtual

@descr Do nothing

Reimplemented from LwpObject.

Definition at line 166 of file lwpfnlayout.cxx.


The documentation for this class was generated from the following files: