|
LibreOffice Module lotuswordpro (master) 1
|
VO_CELLLAYOUT object. More...
#include <lwpcelllayout.hxx>
Public Member Functions | |
| LwpCellLayout (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
| virtual | ~LwpCellLayout () override |
| virtual LWP_LAYOUT_TYPE | GetLayoutType () override |
| rtl::Reference< XFCell > | DoConvertCell (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... | |
| LwpObjectID & | GetNumericsObject () |
| LwpObjectID * | GetPreviousCellStory () |
| Get previous cell which used for bullet inside cell. More... | |
| virtual LwpPara * | GetLastParaOfPreviousStory () override |
| LwpTableLayout * | GetTableLayout () |
| 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... | |
| 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 |
| Read cell layout. More... | |
| LwpTable * | GetTable () |
| 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< XFCell > | ConvertCell (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< 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 |
Static Protected Member Functions | |
| static LwpCellLayout * | GetCellByRowCol (sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout) |
| Get neighbour cell by specifying ROW+COL. More... | |
| static sal_uInt16 | GetLeftColID (sal_uInt16 nCol) |
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) |
VO_CELLLAYOUT object.
Definition at line 85 of file lwpcelllayout.hxx.
|
protected |
| Enumerator | |
|---|---|
| LDT_NONE | |
| LDT_DOTS | |
| LDT_DASHES | |
| LDT_UNDERSCORES | |
Definition at line 135 of file lwpcelllayout.hxx.
| LwpCellLayout::LwpCellLayout | ( | LwpObjectHeader const & | objHdr, |
| LwpSvStream * | pStrm | ||
| ) |
Definition at line 77 of file lwpcelllayout.cxx.
|
overridevirtual |
Definition at line 86 of file lwpcelllayout.cxx.
|
protected |
Apply back color to cell style.
| pCellStyle | - pointer of XFCellStyle |
Definition at line 255 of file lwpcelllayout.cxx.
References LwpMiddleLayout::GetBackColor(), LwpColor::IsValidColor(), XFCellStyle::SetBackColor(), and LwpColor::To24Color().
Referenced by ApplyBackGround(), and RegisterDefaultCell().
|
protected |
Apply background to cell style.
| pCellStyle | - pointer of XFCellStyle |
Definition at line 239 of file lwpcelllayout.cxx.
References ApplyBackColor(), ApplyPatternFill(), and LwpMiddleLayout::IsPatternFill().
Referenced by RegisterStyle().
|
protected |
Apply border to cell style according to cell position, default cell layout won't use this function.
return pCellStyle - pointer of XFCellStyle
Definition at line 175 of file lwpcelllayout.cxx.
References ccolid, crowid, enumNoBottomBorder, enumNoLeftBorder, enumNoLeftNoBottomBorder, enumWholeBorder, enumXFBorderBottom, enumXFBorderLeft, eType, GetCellBorderType(), GetTableLayout(), LwpMiddleLayout::GetXFBorders(), and XFCellStyle::SetBorders().
Referenced by RegisterStyle().
|
protected |
register style of cell layout
| pCellStyle | The style of the cell, which would be applied to the cell. |
Definition at line 269 of file lwpcelllayout.cxx.
References XFStyleManager::AddStyle(), cLayNumerics, LwpLayoutNumerics::Convert(), LwpMiddleLayout::GetBasedOnStyle(), LwpGlobalMgr::GetInstance(), GetNumericsObject(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), m_NumfmtName, IXFStyleRet::m_pStyle, LwpObjectID::obj(), and XFCellStyle::SetDataStyle().
Referenced by RegisterDefaultCell(), and RegisterStyle().
|
protected |
Apply padding to cell style.
| pCellStyle | - pointer of XFCellStyle |
Definition at line 162 of file lwpcelllayout.cxx.
References LwpVirtualLayout::GetMarginsValue(), MARGIN_BOTTOM, MARGIN_LEFT, MARGIN_RIGHT, MARGIN_TOP, and XFCellStyle::SetPadding().
Referenced by RegisterDefaultCell(), and RegisterStyle().
|
protected |
Apply pattern fill to cell style.
| pCellStyle | - pointer of XFCellStyle |
Definition at line 225 of file lwpcelllayout.cxx.
References LwpMiddleLayout::GetFillPattern(), and XFCellStyle::SetBackImage().
Referenced by ApplyBackGround().
|
protected |
Apply protect attribute to cell of table.
| aTableID | - ID of the table which the cell belongs to |
return XFCell*
Definition at line 647 of file lwpcelllayout.cxx.
References LwpMiddleLayout::GetBasedOnStyle(), LwpVirtualLayout::GetIsProtected(), LwpTable::GetTableLayout(), LwpObjectID::obj(), and XFCell::SetProtect().
Referenced by ConvertCell().
|
protected |
Apply watermark to cell style.
| pCellStyle | - pointer of XFCellStyle |
Definition at line 211 of file lwpcelllayout.cxx.
References LwpMiddleLayout::GetXFBGImage(), and XFCellStyle::SetBackImage().
Referenced by RegisterDefaultCell(), and RegisterStyle().
|
protectedvirtual |
Make the XFCell.
| aTableID | - ID of the table which this cell belongs to |
| bIsTopRow | - whether current cell is top row |
| bIsRightCol | - whether current cell is the rightest column |
Reimplemented in LwpHiddenCellLayout, and LwpConnectedCellLayout.
Definition at line 313 of file lwpcelllayout.cxx.
References ApplyProtect(), GetCellStyleName(), LwpTable::GetDefaultCellStyle(), LwpObject::GetObjectID(), LwpTable::GetTableLayout(), LwpMiddleLayout::m_Content, LwpVirtualLayout::m_StyleName, LwpObjectID::obj(), and LwpStory::XFConvert().
Referenced by LwpConnectedCellLayout::ConvertCell(), and DoConvertCell().
|
inline |
Definition at line 91 of file lwpcelllayout.hxx.
References ConvertCell(), and m_bConvertCell.
Referenced by LwpHiddenCellLayout::ConvertCell(), LwpRowLayout::ConvertCommonRow(), and LwpTableLayout::ConvertDefaultRow().
| double LwpCellLayout::GetActualWidth | ( | ) |
Get actual width of this cell layout.
return width (cm)
Definition at line 135 of file lwpcelllayout.cxx.
References ccolid, XFStyleManager::FindStyle(), LwpTableLayout::GetColumnWidth(), LwpMiddleLayout::GetGeometryWidth(), LwpGlobalMgr::GetInstance(), GetTableLayout(), XFColStyle::GetWidth(), and LwpGlobalMgr::GetXFStyleManager().
|
inlineprotectedvirtual |
Reimplemented in LwpConnectedCellLayout.
Definition at line 127 of file lwpcelllayout.hxx.
Referenced by GetCellBorderType().
|
protectedvirtual |
judge border type by cell neighbour
| nRow | |
| nCol | |
| pTableLayout |
Reimplemented in LwpConnectedCellLayout.
Definition at line 427 of file lwpcelllayout.cxx.
References enumNoBottomBorder, enumNoLeftBorder, enumNoLeftNoBottomBorder, enumWholeBorder, GetBelowRowID(), GetCellByRowCol(), GetLeftColID(), and LwpMiddleLayout::GetXFBorders().
Referenced by ApplyBorders(), and GetCellStyleName().
|
staticprotected |
Get neighbour cell by specifying ROW+COL.
| nRow | |
| nCol |
Definition at line 501 of file lwpcelllayout.cxx.
References LwpTableLayout::GetCellByRowCol().
Referenced by GetCellBorderType(), and LwpConnectedCellLayout::GetCellBorderType().
|
protected |
get style name according to cell position, only table default cells use this function
| nRow | - default cell position row number |
| nCol | - default cell position col number |
Definition at line 300 of file lwpcelllayout.cxx.
References eType, GetCellBorderType(), and m_CellStyleNames.
Referenced by ConvertCell().
|
inline |
Definition at line 101 of file lwpcelllayout.hxx.
References ccolid.
Referenced by LwpRowLayout::ConvertCommonRow(), and LwpTableLayout::SearchCellStoryMap().
|
overridevirtual |
Reimplemented from LwpVirtualLayout.
Definition at line 345 of file lwpcelllayout.cxx.
References LwpStory::GetLastPara(), GetPreviousCellStory(), LwpObjectID::IsNull(), LwpObjectID::obj(), SAL_WARN, VO_PARA, and VO_STORY.
|
inlineoverridevirtual |
Reimplemented from LwpVirtualLayout.
Reimplemented in LwpHiddenCellLayout, LwpConnectedCellLayout, and LwpFnCellLayout.
Definition at line 90 of file lwpcelllayout.hxx.
References LwpVirtualLayout::LWP_CELL_LAYOUT.
Referenced by LwpRowLayout::CollectMergeInfo(), and LwpRowLayout::ConvertCommonRow().
|
inlinestaticprotected |
Definition at line 126 of file lwpcelllayout.hxx.
Referenced by GetCellBorderType(), and LwpConnectedCellLayout::GetCellBorderType().
|
inline |
Definition at line 103 of file lwpcelllayout.hxx.
References cLayNumerics.
Referenced by ApplyFmtStyle().
|
inline |
Definition at line 109 of file lwpcelllayout.hxx.
References m_NumfmtName.
Referenced by LwpTableLayout::PostProcessParagraph().
| LwpObjectID * LwpCellLayout::GetPreviousCellStory | ( | ) |
Get previous cell which used for bullet inside cell.
return LwpObjectID * - object ID of cell content story
Definition at line 369 of file lwpcelllayout.cxx.
References ccolid, crowid, LwpTable::GetColumn(), GetTable(), GetTableLayout(), LwpTable::IsNumberDown(), and LwpTableLayout::SearchCellStoryMap().
Referenced by GetLastParaOfPreviousStory().
|
inline |
Definition at line 100 of file lwpcelllayout.hxx.
References crowid.
Referenced by LwpHiddenCellLayout::ConvertCell(), and LwpTableLayout::SearchCellStoryMap().
|
protected |
Get table pointer, if default cell layout, return NULL.
| LwpTable | * |
Definition at line 109 of file lwpcelllayout.cxx.
References LwpTableLayout::GetTable(), and GetTableLayout().
Referenced by GetPreviousCellStory().
| LwpTableLayout * LwpCellLayout::GetTableLayout | ( | ) |
Get table layout pointer, if default cell layout, return NULL.
| LwpTableLayout | * |
Definition at line 94 of file lwpcelllayout.cxx.
References LwpDLNFVList::GetParent(), LwpRowLayout::GetParentTableLayout(), and LwpObjectID::obj().
Referenced by ApplyBorders(), GetActualWidth(), GetPreviousCellStory(), GetTable(), SetCellMap(), and LwpConnectedCellLayout::SetCellMap().
|
overrideprotectedvirtual |
Read cell layout.
return
Reimplemented from LwpObject.
Reimplemented in LwpHiddenCellLayout, LwpConnectedCellLayout, LwpParallelColumnsBlock, and LwpFnCellLayout.
Definition at line 612 of file lwpcelllayout.cxx.
References ccolid, cLayDiagonalLine, cLayNumerics, crowid, cType, LwpFileHeader::m_nFileRevision, LwpObject::m_pObjStrm, LwpObjectStream::QuickReaduInt16(), LwpMiddleLayout::Read(), LwpObjectID::ReadIndexed(), LwpObjectStream::SkipExtra(), and type.
Referenced by LwpHiddenCellLayout::Read(), LwpConnectedCellLayout::Read(), LwpParallelColumnsBlock::Read(), and LwpFnCellLayout::Read().
|
protected |
Register table's default cell layout.
return
Definition at line 510 of file lwpcelllayout.cxx.
References XFStyleManager::AddStyle(), ApplyBackColor(), ApplyFmtStyle(), ApplyPadding(), ApplyWatermark(), enumCellBorderTopLimit, enumNoBottomBorder, enumNoLeftBorder, enumNoLeftNoBottomBorder, enumWholeBorder, enumXFAlignNone, enumXFBorderBottom, enumXFBorderLeft, LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpVirtualLayout::GetVerticalAlignmentType(), LwpMiddleLayout::GetXFBorders(), LwpGlobalMgr::GetXFStyleManager(), m_CellStyleNames, and IXFStyleRet::m_pStyle.
Referenced by RegisterStyle().
|
overridevirtual |
Register 4 types of cell style and register content styles.
param
return
Reimplemented from LwpObject.
Reimplemented in LwpHiddenCellLayout, and LwpFnCellLayout.
Definition at line 572 of file lwpcelllayout.cxx.
References XFStyleManager::AddStyle(), ApplyBackGround(), ApplyBorders(), ApplyFmtStyle(), ApplyPadding(), ApplyWatermark(), enumXFAlignNone, get(), LwpGlobalMgr::GetInstance(), LwpDLNFVList::GetParent(), IXFStyle::GetStyleName(), LwpVirtualLayout::GetVerticalAlignmentType(), LwpGlobalMgr::GetXFStyleManager(), LwpVirtualLayout::LWP_ROW_LAYOUT, LwpMiddleLayout::m_Content, LwpObject::m_pFoundry, IXFStyleRet::m_pStyle, LwpVirtualLayout::m_StyleName, LwpObjectID::obj(), LwpVirtualLayout::RegisterChildStyle(), and RegisterDefaultCell().
Referenced by LwpFnRowLayout::RegisterStyle(), and LwpRowLayout::RegisterStyle().
|
virtual |
Set current cell layout to cell layout map.
return
Reimplemented in LwpHiddenCellLayout, and LwpConnectedCellLayout.
Definition at line 124 of file lwpcelllayout.cxx.
References ccolid, crowid, GetTableLayout(), and LwpTableLayout::SetWordProCellMap().
Referenced by LwpRowLayout::SetRowMap().
|
protected |
Definition at line 131 of file lwpcelllayout.hxx.
Referenced by ApplyBorders(), GetActualWidth(), GetColID(), GetPreviousCellStory(), Read(), SetCellMap(), and LwpConnectedCellLayout::SetCellMap().
|
protected |
Definition at line 133 of file lwpcelllayout.hxx.
Referenced by Read().
|
protected |
Definition at line 132 of file lwpcelllayout.hxx.
Referenced by ApplyFmtStyle(), GetNumericsObject(), and Read().
|
protected |
Definition at line 130 of file lwpcelllayout.hxx.
Referenced by ApplyBorders(), GetPreviousCellStory(), GetRowID(), Read(), SetCellMap(), and LwpConnectedCellLayout::SetCellMap().
|
protected |
Definition at line 142 of file lwpcelllayout.hxx.
Referenced by Read().
|
protected |
Definition at line 129 of file lwpcelllayout.hxx.
Referenced by DoConvertCell().
|
protected |
Definition at line 143 of file lwpcelllayout.hxx.
Referenced by GetCellStyleName(), and RegisterDefaultCell().
|
protected |
Definition at line 145 of file lwpcelllayout.hxx.
Referenced by ApplyFmtStyle(), and GetNumfmtName().