61#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCELLLAYOUT_HXX
62#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCELLLAYOUT_HXX
94 throw std::runtime_error(
"recursion in page divisions");
111 void Read()
override;
162 void Read()
override;
183 void Read()
override;
204 void Read()
override;
Stream wrapper for sax writer.
virtual ~LwpCellLayout() override
LwpTableLayout * GetTableLayout()
Get table layout pointer, if default cell layout, return NULL.
virtual void SetCellMap()
Set current cell layout to cell layout map.
void ApplyBorders(XFCellStyle *pCellStyle)
Apply border to cell style according to cell position, default cell layout won't use this function.
static sal_uInt16 GetLeftColID(sal_uInt16 nCol)
LwpObjectID * GetPreviousCellStory()
Get previous cell which used for bullet inside cell.
LwpObjectID cLayDiagonalLine
void Read() override
Read cell layout.
const OUString & GetNumfmtName() const
void ApplyPadding(XFCellStyle *pCellStyle)
Apply padding to cell style.
void RegisterDefaultCell()
Register table's default cell layout.
rtl::Reference< XFCell > DoConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol)
void ApplyPatternFill(XFCellStyle *pCellStyle)
Apply pattern fill to cell style.
void ApplyProtect(XFCell *pCell, LwpObjectID aTableID)
Apply protect attribute to cell of table.
void RegisterStyle() override
Register 4 types of cell style and register content styles.
sal_uInt8 GetColID() const
virtual LwpPara * GetLastParaOfPreviousStory() override
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
void ApplyFmtStyle(XFCellStyle *pCellStyle)
register style of cell layout
virtual rtl::Reference< XFCell > ConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol)
Make the XFCell.
sal_uInt16 GetRowID() const
OUString m_CellStyleNames[enumCellBorderTopLimit]
LwpObjectID & GetNumericsObject()
virtual LwpCellBorderType GetCellBorderType(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout)
judge border type by cell neighbour
double GetActualWidth()
Get actual width of this cell layout.
static LwpCellLayout * GetCellByRowCol(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout)
Get neighbour cell by specifying ROW+COL.
virtual LWP_LAYOUT_TYPE GetLayoutType() override
LwpCellLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
void ApplyWatermark(XFCellStyle *pCellStyle)
Apply watermark to cell style.
void ApplyBackColor(XFCellStyle *pCellStyle)
Apply back color to cell style.
virtual sal_uInt16 GetBelowRowID(sal_uInt16 nRow)
void ApplyBackGround(XFCellStyle *pCellStyle)
Apply background to cell style.
LwpTable * GetTable()
Get table pointer, if default cell layout, return NULL.
VO_CONNECTEDCELLLAYOUT object.
void Read() override
Read connected cell layout.
virtual LWP_LAYOUT_TYPE GetLayoutType() override
LwpConnectedCellLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
void SetNumrows(sal_uInt16 nVal)
virtual ~LwpConnectedCellLayout() override
virtual void Parse(IXFStream *pOutputStream) override
parse connected cell layout
virtual rtl::Reference< XFCell > ConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol) override
Make the XFCell.
sal_uInt16 m_nRealrowspan
virtual sal_uInt16 GetBelowRowID(sal_uInt16 nRow) override
sal_uInt8 GetNumcols() const
virtual LwpCellBorderType GetCellBorderType(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout *pTableLayout) override
judge border type by cell neighbour
virtual void SetCellMap() override
Set current connected cell layout to cell layout map.
sal_uInt16 GetNumrows() const
VO_HIDDENCELLLAYOUT object.
virtual LWP_LAYOUT_TYPE GetLayoutType() override
virtual ~LwpHiddenCellLayout() override
void Read() override
Read hidden cell layout.
LwpHiddenCellLayout(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
virtual void Parse(IXFStream *pOutputStream) override
parse hidden cell layout
void RegisterStyle() override
Register 4 types of cell style and register content styles.
virtual void SetCellMap() override
Set current hidden cell layout to cell layout map.
virtual rtl::Reference< XFCell > ConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uInt16 nCol) override
Convert hidden cell layout.
LwpObjectID cconnectedlayout
virtual ~LwpParallelColumnsBlock() override
LwpParallelColumnsBlock(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
void Read() override
Read cell layout.
encapsulate XInputStream to provide SvStream like interfaces
VO_TABLELAYOUT object and functions for registering styles and converting tables.
@ LWP_CONNECTED_CELL_LAYOUT
@descr Style object for cell.
@descr Table cell object.
@ enumNoLeftNoBottomBorder