LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XFTable Class Reference

#include <xftable.hxx>

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

Public Member Functions

 XFTable ()
 
virtual ~XFTable () override
 
void SetTableName (const OUString &name)
 
void SetColumnStyle (sal_Int32 col, const OUString &style)
 
void AddRow (rtl::Reference< XFRow > const &rRow)
 
void AddHeaderRow (XFRow *pRow)
 
void SetOwnerCell (XFCell *pCell)
 
OUString GetTableName ()
 
sal_uInt16 GetRowCount ()
 
XFRowGetRow (sal_Int32 row)
 
sal_Int32 GetColumnCount ()
 
bool IsSubTable () const
 
enumXFContent GetContentType () override
 : return the content type. More...
 
virtual void ToXml (IXFStream *pStrm) override
 
void RemoveRow (sal_uInt16 row)
 
- Public Member Functions inherited from XFContent
virtual enumXFContent GetContentType ()
 : return the content type. More...
 
virtual void SetStyleName (const OUString &style)
 : All content except XFTextContent can have a style. More...
 
const OUString & GetStyleName () const
 : return the style name. More...
 
void DoToXml (IXFStream *stream)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

bool ContainsTable (const XFTable *pTable) const
 

Private Attributes

OUString m_strName
 
bool m_bSubTable
 
XFCellm_pOwnerCell
 
rtl::Reference< XFContentContainerm_aHeaderRows
 
std::map< sal_uInt16, rtl::Reference< XFRow > > m_aRows
 
std::map< sal_Int32, OUString > m_aColumns
 
OUString m_strDefCellStyle
 
OUString m_strDefRowStyle
 
OUString m_strDefColStyle
 

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 Member Functions inherited from XFContent
 XFContent ()
 
virtual void ToXml (IXFStream *stream)=0
 
virtual ~XFContent () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from XFContent
OUString m_strStyleName
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 70 of file xftable.hxx.

Constructor & Destructor Documentation

◆ XFTable()

XFTable::XFTable ( )

Definition at line 66 of file xftable.cxx.

References XFGlobal::GenTableName(), m_bSubTable, m_pOwnerCell, and m_strName.

◆ ~XFTable()

XFTable::~XFTable ( )
overridevirtual

Definition at line 73 of file xftable.cxx.

References m_aColumns, and m_aRows.

Member Function Documentation

◆ AddHeaderRow()

void XFTable::AddHeaderRow ( XFRow pRow)

Definition at line 136 of file xftable.cxx.

References m_aHeaderRows.

◆ AddRow()

void XFTable::AddRow ( rtl::Reference< XFRow > const &  rRow)

◆ ContainsTable()

bool XFTable::ContainsTable ( const XFTable pTable) const
private

◆ GetColumnCount()

sal_Int32 XFTable::GetColumnCount ( )

Definition at line 172 of file xftable.cxx.

References m_aColumns.

Referenced by LwpTableLayout::FindSplitColMark().

◆ GetContentType()

enumXFContent XFTable::GetContentType ( )
overridevirtual

: return the content type.

Reimplemented from XFContent.

Definition at line 183 of file xftable.cxx.

References enumXFContentTable.

◆ GetRow()

XFRow * XFTable::GetRow ( sal_Int32  row)

Definition at line 167 of file xftable.cxx.

References m_aRows.

Referenced by LwpTableLayout::FindSplitColMark(), and LwpTableLayout::SplitRowToCells().

◆ GetRowCount()

sal_uInt16 XFTable::GetRowCount ( )

Definition at line 155 of file xftable.cxx.

References m_aRows.

Referenced by LwpTableLayout::FindSplitColMark(), and LwpTableLayout::SplitRowToCells().

◆ GetTableName()

OUString XFTable::GetTableName ( )

Definition at line 145 of file xftable.cxx.

References XFCell::GetCellName(), m_bSubTable, m_pOwnerCell, and m_strName.

Referenced by XFCell::GetCellName().

◆ IsSubTable()

bool XFTable::IsSubTable ( ) const
inline

Definition at line 133 of file xftable.hxx.

References m_bSubTable.

Referenced by XFCell::GetCellName().

◆ RemoveRow()

void XFTable::RemoveRow ( sal_uInt16  row)
inline

Definition at line 103 of file xftable.hxx.

References m_aRows.

Referenced by LwpTableLayout::SplitRowToCells().

◆ SetColumnStyle()

void XFTable::SetColumnStyle ( sal_Int32  col,
const OUString &  style 
)

Definition at line 79 of file xftable.cxx.

References col, and m_aColumns.

◆ SetOwnerCell()

void XFTable::SetOwnerCell ( XFCell pCell)
inline

Definition at line 127 of file xftable.hxx.

References m_bSubTable, and m_pOwnerCell.

Referenced by XFCell::Add().

◆ SetTableName()

void XFTable::SetTableName ( const OUString &  name)
inline

Definition at line 122 of file xftable.hxx.

References m_strName, and name.

◆ ToXml()

void XFTable::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aColumns

std::map<sal_Int32,OUString> XFTable::m_aColumns
private

Definition at line 114 of file xftable.hxx.

Referenced by GetColumnCount(), SetColumnStyle(), ToXml(), and ~XFTable().

◆ m_aHeaderRows

rtl::Reference<XFContentContainer> XFTable::m_aHeaderRows
private

Definition at line 112 of file xftable.hxx.

Referenced by AddHeaderRow(), and ToXml().

◆ m_aRows

std::map<sal_uInt16, rtl::Reference<XFRow> > XFTable::m_aRows
private

Definition at line 113 of file xftable.hxx.

Referenced by AddRow(), ContainsTable(), GetRow(), GetRowCount(), RemoveRow(), ToXml(), and ~XFTable().

◆ m_bSubTable

bool XFTable::m_bSubTable
private

Definition at line 110 of file xftable.hxx.

Referenced by GetTableName(), IsSubTable(), SetOwnerCell(), ToXml(), and XFTable().

◆ m_pOwnerCell

XFCell* XFTable::m_pOwnerCell
private

Definition at line 111 of file xftable.hxx.

Referenced by GetTableName(), SetOwnerCell(), and XFTable().

◆ m_strDefCellStyle

OUString XFTable::m_strDefCellStyle
private

Definition at line 115 of file xftable.hxx.

Referenced by ToXml().

◆ m_strDefColStyle

OUString XFTable::m_strDefColStyle
private

Definition at line 117 of file xftable.hxx.

Referenced by ToXml().

◆ m_strDefRowStyle

OUString XFTable::m_strDefRowStyle
private

Definition at line 116 of file xftable.hxx.

Referenced by ToXml().

◆ m_strName

OUString XFTable::m_strName
private

Definition at line 109 of file xftable.hxx.

Referenced by GetTableName(), SetTableName(), ToXml(), and XFTable().


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