|
LibreOffice Module lotuswordpro (master) 1
|
#include <xftable.hxx>
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 () |
| XFRow * | GetRow (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 |
| XFCell * | m_pOwnerCell |
| rtl::Reference< XFContentContainer > | m_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 |
Definition at line 70 of file xftable.hxx.
| XFTable::XFTable | ( | ) |
Definition at line 66 of file xftable.cxx.
References XFGlobal::GenTableName(), m_bSubTable, m_pOwnerCell, and m_strName.
|
overridevirtual |
Definition at line 73 of file xftable.cxx.
References m_aColumns, and m_aRows.
| void XFTable::AddHeaderRow | ( | XFRow * | pRow | ) |
Definition at line 136 of file xftable.cxx.
References m_aHeaderRows.
| void XFTable::AddRow | ( | rtl::Reference< XFRow > const & | rRow | ) |
Definition at line 108 of file xftable.cxx.
References XFCell::GetSubTable(), XFContentContainer::HierarchyContains(), i, and m_aRows.
|
private |
Definition at line 84 of file xftable.cxx.
References XFRow::GetCell(), XFRow::GetCellCount(), XFCell::GetSubTable(), XFContentContainer::HierarchyContains(), i, and m_aRows.
| sal_Int32 XFTable::GetColumnCount | ( | ) |
Definition at line 172 of file xftable.cxx.
References m_aColumns.
Referenced by LwpTableLayout::FindSplitColMark().
|
overridevirtual |
: return the content type.
Reimplemented from XFContent.
Definition at line 183 of file xftable.cxx.
References enumXFContentTable.
| XFRow * XFTable::GetRow | ( | sal_Int32 | row | ) |
Definition at line 167 of file xftable.cxx.
References m_aRows.
Referenced by LwpTableLayout::FindSplitColMark(), and LwpTableLayout::SplitRowToCells().
| sal_uInt16 XFTable::GetRowCount | ( | ) |
Definition at line 155 of file xftable.cxx.
References m_aRows.
Referenced by LwpTableLayout::FindSplitColMark(), and LwpTableLayout::SplitRowToCells().
| 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().
|
inline |
Definition at line 133 of file xftable.hxx.
References m_bSubTable.
Referenced by XFCell::GetCellName().
|
inline |
Definition at line 103 of file xftable.hxx.
References m_aRows.
Referenced by LwpTableLayout::SplitRowToCells().
| void XFTable::SetColumnStyle | ( | sal_Int32 | col, |
| const OUString & | style | ||
| ) |
Definition at line 79 of file xftable.cxx.
References col, and m_aColumns.
|
inline |
Definition at line 127 of file xftable.hxx.
References m_bSubTable, and m_pOwnerCell.
Referenced by XFCell::Add().
|
inline |
Definition at line 122 of file xftable.hxx.
|
overridevirtual |
Implements XFContent.
Definition at line 188 of file xftable.cxx.
References IXFAttrList::AddAttribute(), XFRow::AddCell(), IXFAttrList::Clear(), col, IXFStream::EndElement(), IXFStream::GetAttrList(), XFContent::GetStyleName(), m_aColumns, m_aHeaderRows, m_aRows, m_bSubTable, m_strDefCellStyle, m_strDefColStyle, m_strDefRowStyle, m_strName, XFRow::SetRepeated(), XFContent::SetStyleName(), IXFStream::StartElement(), and XFRow::ToXml().
|
private |
Definition at line 114 of file xftable.hxx.
Referenced by GetColumnCount(), SetColumnStyle(), ToXml(), and ~XFTable().
|
private |
Definition at line 112 of file xftable.hxx.
Referenced by AddHeaderRow(), and ToXml().
|
private |
Definition at line 113 of file xftable.hxx.
Referenced by AddRow(), ContainsTable(), GetRow(), GetRowCount(), RemoveRow(), ToXml(), and ~XFTable().
|
private |
Definition at line 110 of file xftable.hxx.
Referenced by GetTableName(), IsSubTable(), SetOwnerCell(), ToXml(), and XFTable().
|
private |
Definition at line 111 of file xftable.hxx.
Referenced by GetTableName(), SetOwnerCell(), and XFTable().
|
private |
Definition at line 115 of file xftable.hxx.
Referenced by ToXml().
|
private |
Definition at line 117 of file xftable.hxx.
Referenced by ToXml().
|
private |
Definition at line 116 of file xftable.hxx.
Referenced by ToXml().
|
private |
Definition at line 109 of file xftable.hxx.
Referenced by GetTableName(), SetTableName(), ToXml(), and XFTable().