LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
LwpTocSuperLayout Class Referencefinal

VO_TOCSUPERTABLELAYOUT object. More...

#include <lwptoc.hxx>

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

Public Member Functions

 LwpTocSuperLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpTocSuperLayout () override
 
void RegisterStyle () override
 Register style of TOC. More...
 
virtual void XFConvert (XFContentContainer *pCont) override
 Convert TOC. More...
 
virtual LWP_LAYOUT_TYPE GetLayoutType () override
 
virtual void XFConvertFrame (XFContentContainer *pCont, sal_Int32 nStart=0, sal_Int32 nEnd=0, bool bAll=false) override
 convert frame which anchor to page More...
 
- Public Member Functions inherited from LwpSuperTableLayout
 LwpSuperTableLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpSuperTableLayout () override
 
virtual LWP_LAYOUT_TYPE GetLayoutType () override
 
void RegisterNewStyle ()
 Register super table layout style. More...
 
void ApplyPatternFill (XFTableStyle *pTableStyle)
 Apply pattern fill to table style. More...
 
void ApplyBackGround (XFTableStyle *pTableStyle)
 Apply background to table style. More...
 
void ApplyBackColor (XFTableStyle *pTableStyle)
 Apply back color to table. More...
 
void ApplyShadow (XFTableStyle *pTableStyle)
 Apply shadow to table. More...
 
double GetWidth () override
 Get width of frame outside table. More...
 
double GetTableWidth ()
 Get width of table. More...
 
void ApplyWatermark (XFTableStyle *pTableStyle)
 Apply watermark to table. More...
 
void ApplyAlignment (XFTableStyle *pTableStyle)
 Apply alignment to table. More...
 
void XFConvert (XFContentContainer *pCont) override
 Add table to container. More...
 
virtual void XFConvertFrame (XFContentContainer *pCont, sal_Int32 nStart=0, sal_Int32 nEnd=0, bool bAll=false) override
 convert frame which anchor to page More...
 
void RegisterFrameStyle ()
 register frame style More...
 
LwpTableHeadingLayoutGetTableHeadingLayout ()
 Get effective heading table layout, the one just before table layout is the only one which is effective. More...
 
- Public Member Functions inherited from LwpPlacableLayout
 LwpPlacableLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual ~LwpPlacableLayout () override
 
sal_uInt8 GetWrapType ()
 @descr: get wrap type More...
 
LwpLayoutRelativityGetRelativityPiece ()
 @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
 
XFColumnsGetXFColumns ()
 @descr: Create and return XFColumns object More...
 
XFColumnSepGetColumnSep ()
 @descr: Create and return XFColumnSep object More...
 
LwpShadowGetShadow ()
 @descr: Get the LwpShadow object according to m_LayShadow id. More...
 
XFShadowGetXFShadow ()
 @descr: create xfshadow More...
 
LwpUseWhenVirtualGetUseWhen () 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...
 
LwpObjectIDGetPosition ()
 
virtual rtl::Reference< LwpVirtualLayoutGetContainerLayout () 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...
 
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 ()
 

Private Types

enum  { MAX_LEVELS = 9 }
 
enum  {
  TS_NOLEADERS = 0x01 ,
  TS_LEADERDOTS = 0x02 ,
  TS_LEADERDASHES = 0x04 ,
  TS_LEADERUNDERLINE = 0x08 ,
  TS_SEPARATORCOMMA = 0x10 ,
  TS_SEPARATORDOTS = 0x20 ,
  TS_PAGENUMBER = 0x40 ,
  TS_RIGHTALIGN = 0x80
}
 
enum  {
  NONE = 0 ,
  LEADERDOTS = 1 ,
  LEADERDASHES = 2 ,
  LEADERUNDERLINE = 3 ,
  SEPARATORCOMMA = 4 ,
  SEPARATORDOTS = 5
}
 
enum  {
  SELECTEDTEXT = 1 ,
  ENTIREDOCUMENT = 2 ,
  CURRENTLEVELDIVISION = 3 ,
  CURRENTDIVISION = 4 ,
  CURRENTSECTION = 5
}
 

Private Member Functions

void Read () override
 Read TOCSUPERTABLELAYOUT object. More...
 
bool GetRightAlignPageNumber (sal_uInt16 index)
 Get whether page number is right alignment. More...
 
bool GetUsePageNumber (sal_uInt16 index)
 Get whether page number is used in TOC entries. More...
 
sal_uInt16 GetSeparatorType (sal_uInt16 index)
 Get what is used for separator. More...
 
LwpTocLevelDataGetSearchLevelPtr (sal_uInt16 index)
 Get TOCLEVELDATA obj. More...
 
void AddSourceStyle (XFIndex *pToc, LwpTocLevelData *pLevel, LwpFoundry *pFoundry)
 Add source style into TOC. More...
 

Static Private Member Functions

static LwpTocLevelDataGetNextSearchLevelPtr (sal_uInt16 index, LwpTocLevelData *pCurData)
 Get next TOCLEVELDATA obj from current position. More...
 

Private Attributes

LwpAtomHolder m_TextMarker
 
LwpAtomHolder m_ParentName
 
LwpAtomHolder m_DivisionName
 
LwpAtomHolder m_SectionName
 
sal_uInt16 m_nFrom
 
LwpDLVListHeadTail m_SearchItems
 
LwpAtomHolder m_DestName [MAX_LEVELS]
 
LwpAtomHolder m_DestPGName [MAX_LEVELS]
 
sal_uInt32 m_nFlags [MAX_LEVELS]
 
OUString m_TabStyleName
 
XFContentContainerm_pCont
 

Additional Inherited Members

- 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
}
 
- 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 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
}
 
- Protected Member Functions inherited from LwpSuperTableLayout
void Read () override
 Read super table layout record. More...
 
LwpTableLayoutGetTableLayout ()
 Get child table layout. More...
 
bool IsSizeRightToContent ()
 Judge whether table size is according to content, borrowed from Word Pro code. More...
 
bool IsJustifiable ()
 Judge whether table is justifiable, borrowed from Word Pro code. More...
 
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< 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
 
- Protected Attributes inherited from LwpSuperTableLayout
std::unique_ptr< LwpFramem_pFrame
 
- Protected Attributes inherited from LwpPlacableLayout
bool m_bGettingWrapType
 
bool m_bGettingLayoutRelativity
 
sal_uInt8 m_nWrapType
 
sal_uInt8 m_nBuoyancy
 
sal_Int32 m_nBaseLineOffset
 
LwpAtomHolder m_Script
 
LwpObjectID m_LayRelativity
 
rtl::Reference< XFFontm_pFont
 
- 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_TOCSUPERTABLELAYOUT object.

Definition at line 70 of file lwptoc.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MAX_LEVELS 

Definition at line 90 of file lwptoc.hxx.

◆ anonymous enum

anonymous enum
private
Enumerator
TS_NOLEADERS 
TS_LEADERDOTS 
TS_LEADERDASHES 
TS_LEADERUNDERLINE 
TS_SEPARATORCOMMA 
TS_SEPARATORDOTS 
TS_PAGENUMBER 
TS_RIGHTALIGN 

Definition at line 94 of file lwptoc.hxx.

◆ anonymous enum

anonymous enum
private
Enumerator
NONE 
LEADERDOTS 
LEADERDASHES 
LEADERUNDERLINE 
SEPARATORCOMMA 
SEPARATORDOTS 

Definition at line 106 of file lwptoc.hxx.

◆ anonymous enum

anonymous enum
private
Enumerator
SELECTEDTEXT 
ENTIREDOCUMENT 
CURRENTLEVELDIVISION 
CURRENTDIVISION 
CURRENTSECTION 

Definition at line 117 of file lwptoc.hxx.

Constructor & Destructor Documentation

◆ LwpTocSuperLayout()

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

Definition at line 74 of file lwptoc.cxx.

◆ ~LwpTocSuperLayout()

LwpTocSuperLayout::~LwpTocSuperLayout ( )
overridevirtual

Definition at line 81 of file lwptoc.cxx.

Member Function Documentation

◆ AddSourceStyle()

void LwpTocSuperLayout::AddSourceStyle ( XFIndex pToc,
LwpTocLevelData pLevel,
LwpFoundry pFoundry 
)
private

Add source style into TOC.

Parameters
pToc- TOC pointer
pLevel- TOC level data
pFoundry- foundry pointer
Returns
sal_Bool

Definition at line 308 of file lwptoc.cxx.

References AddSourceStyle(), XFIndex::AddTocSource(), LwpFoundry::FindActualStyleName(), LwpFoundry::GetDocument(), LwpDocument::GetFirstDivision(), LwpDocument::GetFoundry(), LwpTocLevelData::GetLevel(), LwpDocument::GetNextDivision(), LwpTocLevelData::GetSearchStyle(), and LwpDocument::IsChildDoc().

Referenced by AddSourceStyle(), and XFConvert().

◆ GetLayoutType()

virtual LWP_LAYOUT_TYPE LwpTocSuperLayout::GetLayoutType ( )
inlineoverridevirtual

Reimplemented from LwpSuperTableLayout.

Definition at line 77 of file lwptoc.hxx.

References LwpVirtualLayout::LWP_TOC_SUPERTABLE_LAYOUT.

◆ GetNextSearchLevelPtr()

LwpTocLevelData * LwpTocSuperLayout::GetNextSearchLevelPtr ( sal_uInt16  index,
LwpTocLevelData pCurData 
)
staticprivate

Get next TOCLEVELDATA obj from current position.

Parameters
index- TOC level
pCurData- current LwpTocLevelData
Returns
LwpTocLevelData * - pointer to TOCLEVELDATA obj

Definition at line 414 of file lwptoc.cxx.

References LwpTocLevelData::GetLevel(), LwpDLVList::GetNext(), index, and LwpObjectID::obj().

Referenced by XFConvert().

◆ GetRightAlignPageNumber()

bool LwpTocSuperLayout::GetRightAlignPageNumber ( sal_uInt16  index)
private

Get whether page number is right alignment.

Parameters
index- TOC level
Returns
sal_Bool

Definition at line 342 of file lwptoc.cxx.

References index, m_nFlags, MAX_LEVELS, and TS_RIGHTALIGN.

Referenced by XFConvert().

◆ GetSearchLevelPtr()

LwpTocLevelData * LwpTocSuperLayout::GetSearchLevelPtr ( sal_uInt16  index)
private

Get TOCLEVELDATA obj.

Parameters
index- TOC level
Returns
LwpTocLevelData * - pointer to TOCLEVELDATA obj

Definition at line 390 of file lwptoc.cxx.

References LwpDLVListHeadTail::GetHead(), LwpTocLevelData::GetLevel(), LwpDLVList::GetNext(), index, m_SearchItems, and LwpObjectID::obj().

Referenced by XFConvert().

◆ GetSeparatorType()

sal_uInt16 LwpTocSuperLayout::GetSeparatorType ( sal_uInt16  index)
private

Get what is used for separator.

Parameters
index- TOC level
Returns
sal_uInt16 - separator type

Definition at line 364 of file lwptoc.cxx.

References index, LEADERDASHES, LEADERDOTS, LEADERUNDERLINE, m_nFlags, MAX_LEVELS, NONE, SEPARATORCOMMA, SEPARATORDOTS, TS_LEADERDASHES, TS_LEADERDOTS, TS_LEADERUNDERLINE, TS_SEPARATORCOMMA, and TS_SEPARATORDOTS.

Referenced by XFConvert().

◆ GetUsePageNumber()

bool LwpTocSuperLayout::GetUsePageNumber ( sal_uInt16  index)
private

Get whether page number is used in TOC entries.

Parameters
index- TOC level
Returns
sal_Bool

Definition at line 353 of file lwptoc.cxx.

References index, m_nFlags, MAX_LEVELS, and TS_PAGENUMBER.

Referenced by XFConvert().

◆ Read()

void LwpTocSuperLayout::Read ( )
overrideprivatevirtual

◆ RegisterStyle()

void LwpTocSuperLayout::RegisterStyle ( )
overridevirtual

◆ XFConvert()

void LwpTocSuperLayout::XFConvert ( XFContentContainer pCont)
overridevirtual

◆ XFConvertFrame()

void LwpTocSuperLayout::XFConvertFrame ( XFContentContainer pCont,
sal_Int32  nStart = 0,
sal_Int32  nEnd = 0,
bool  bAll = false 
)
overridevirtual

convert frame which anchor to page

Parameters
pCont-
Returns

Reimplemented from LwpSuperTableLayout.

Definition at line 258 of file lwptoc.cxx.

References XFContentContainer::Add(), LwpLayout::GetContainerLayout(), LwpSuperTableLayout::GetTableLayout(), m_pCont, LwpSuperTableLayout::m_pFrame, and LwpTableLayout::XFConvert().

Member Data Documentation

◆ m_DestName

LwpAtomHolder LwpTocSuperLayout::m_DestName[MAX_LEVELS]
private

Definition at line 132 of file lwptoc.hxx.

Referenced by Read().

◆ m_DestPGName

LwpAtomHolder LwpTocSuperLayout::m_DestPGName[MAX_LEVELS]
private

Definition at line 133 of file lwptoc.hxx.

Referenced by Read().

◆ m_DivisionName

LwpAtomHolder LwpTocSuperLayout::m_DivisionName
private

Definition at line 128 of file lwptoc.hxx.

Referenced by Read().

◆ m_nFlags

sal_uInt32 LwpTocSuperLayout::m_nFlags[MAX_LEVELS]
private

Definition at line 134 of file lwptoc.hxx.

Referenced by GetRightAlignPageNumber(), GetSeparatorType(), GetUsePageNumber(), and Read().

◆ m_nFrom

sal_uInt16 LwpTocSuperLayout::m_nFrom
private

Definition at line 130 of file lwptoc.hxx.

Referenced by Read().

◆ m_ParentName

LwpAtomHolder LwpTocSuperLayout::m_ParentName
private

Definition at line 127 of file lwptoc.hxx.

Referenced by Read().

◆ m_pCont

XFContentContainer* LwpTocSuperLayout::m_pCont
private

Definition at line 138 of file lwptoc.hxx.

Referenced by XFConvert(), and XFConvertFrame().

◆ m_SearchItems

LwpDLVListHeadTail LwpTocSuperLayout::m_SearchItems
private

Definition at line 131 of file lwptoc.hxx.

Referenced by GetSearchLevelPtr(), and Read().

◆ m_SectionName

LwpAtomHolder LwpTocSuperLayout::m_SectionName
private

Definition at line 129 of file lwptoc.hxx.

Referenced by Read().

◆ m_TabStyleName

OUString LwpTocSuperLayout::m_TabStyleName
private

Definition at line 136 of file lwptoc.hxx.

Referenced by RegisterStyle(), and XFConvert().

◆ m_TextMarker

LwpAtomHolder LwpTocSuperLayout::m_TextMarker
private

Definition at line 126 of file lwptoc.hxx.

Referenced by Read().


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