LibreOffice Module reportdesign (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
rptxml::OXMLTable Class Reference

#include <xmlTable.hxx>

Inheritance diagram for rptxml::OXMLTable:
[legend]
Collaboration diagram for rptxml::OXMLTable:
[legend]

Classes

struct  TCell
 

Public Member Functions

 OXMLTable (ORptFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::report::XSection > _xSection)
 
virtual ~OXMLTable () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
void addHeight (sal_Int32 _nHeight)
 
void addAutoHeight (bool _bAutoHeight)
 
void addWidth (sal_Int32 _nWidth)
 
void setColumnSpanned (sal_Int32 _nColSpan)
 
void setRowSpanned (sal_Int32 _nRowSpan)
 
void incrementRowIndex ()
 
void incrementColumnIndex ()
 
void addCell (const css::uno::Reference< css::report::XReportComponent > &_xElement)
 
const css::uno::Reference< css::report::XSection > & getSection () const
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Private Member Functions

ORptFilterGetOwnImport ()
 
 OXMLTable (const OXMLTable &)=delete
 
void operator= (const OXMLTable &)=delete
 

Private Attributes

::std::vector< ::std::vector< TCell > > m_aGrid
 
::std::vector< sal_Int32 > m_aHeight
 
::std::vector< bool > m_aAutoHeight
 
::std::vector< sal_Int32 > m_aWidth
 
css::uno::Reference< css::report::XSection > m_xSection
 
OUString m_sStyleName
 
sal_Int32 m_nColSpan
 
sal_Int32 m_nRowSpan
 
sal_Int32 m_nRowIndex
 
sal_Int32 m_nColumnIndex
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 29 of file xmlTable.hxx.

Constructor & Destructor Documentation

◆ OXMLTable() [1/2]

rptxml::OXMLTable::OXMLTable ( const OXMLTable )
privatedelete

◆ OXMLTable() [2/2]

rptxml::OXMLTable::OXMLTable ( ORptFilter rImport,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
css::uno::Reference< css::report::XSection >  _xSection 
)

◆ ~OXMLTable()

rptxml::OXMLTable::~OXMLTable ( )
overridevirtual

Definition at line 111 of file xmlTable.cxx.

Member Function Documentation

◆ addAutoHeight()

void rptxml::OXMLTable::addAutoHeight ( bool  _bAutoHeight)
inline

Definition at line 71 of file xmlTable.hxx.

References m_aAutoHeight.

Referenced by rptxml::OXMLRowColumn::fillStyle().

◆ addCell()

void rptxml::OXMLTable::addCell ( const css::uno::Reference< css::report::XReportComponent > &  _xElement)

◆ addHeight()

void rptxml::OXMLTable::addHeight ( sal_Int32  _nHeight)
inline

Definition at line 70 of file xmlTable.hxx.

References m_aHeight.

Referenced by rptxml::OXMLRowColumn::fillStyle().

◆ addWidth()

void rptxml::OXMLTable::addWidth ( sal_Int32  _nWidth)
inline

Definition at line 72 of file xmlTable.hxx.

References m_aWidth.

Referenced by rptxml::OXMLRowColumn::fillStyle().

◆ createFastChildContext()

virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL rptxml::OXMLTable::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

Reimplemented from SvXMLImportContext.

◆ endFastElement()

void rptxml::OXMLTable::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ GetOwnImport()

ORptFilter & rptxml::OXMLTable::GetOwnImport ( )
private

Definition at line 147 of file xmlTable.cxx.

◆ getSection()

const css::uno::Reference< css::report::XSection > & rptxml::OXMLTable::getSection ( ) const
inline

Definition at line 82 of file xmlTable.hxx.

References m_xSection.

◆ incrementColumnIndex()

void rptxml::OXMLTable::incrementColumnIndex ( )
inline

Definition at line 78 of file xmlTable.hxx.

References m_nColumnIndex.

Referenced by rptxml::OXMLRowColumn::createFastChildContext().

◆ incrementRowIndex()

void rptxml::OXMLTable::incrementRowIndex ( )

Definition at line 280 of file xmlTable.cxx.

Referenced by rptxml::OXMLRowColumn::createFastChildContext().

◆ operator=()

void rptxml::OXMLTable::operator= ( const OXMLTable )
privatedelete

◆ setColumnSpanned()

void rptxml::OXMLTable::setColumnSpanned ( sal_Int32  _nColSpan)
inline

Definition at line 74 of file xmlTable.hxx.

References m_nColSpan.

◆ setRowSpanned()

void rptxml::OXMLTable::setRowSpanned ( sal_Int32  _nRowSpan)
inline

Definition at line 75 of file xmlTable.hxx.

References m_nRowSpan.

Member Data Documentation

◆ m_aAutoHeight

::std::vector<bool> rptxml::OXMLTable::m_aAutoHeight
private

Definition at line 45 of file xmlTable.hxx.

Referenced by addAutoHeight().

◆ m_aGrid

::std::vector< ::std::vector<TCell> > rptxml::OXMLTable::m_aGrid
private

Definition at line 43 of file xmlTable.hxx.

◆ m_aHeight

::std::vector<sal_Int32> rptxml::OXMLTable::m_aHeight
private

Definition at line 44 of file xmlTable.hxx.

Referenced by addHeight().

◆ m_aWidth

::std::vector<sal_Int32> rptxml::OXMLTable::m_aWidth
private

Definition at line 46 of file xmlTable.hxx.

Referenced by addWidth().

◆ m_nColSpan

sal_Int32 rptxml::OXMLTable::m_nColSpan
private

Definition at line 49 of file xmlTable.hxx.

Referenced by setColumnSpanned().

◆ m_nColumnIndex

sal_Int32 rptxml::OXMLTable::m_nColumnIndex
private

Definition at line 52 of file xmlTable.hxx.

Referenced by incrementColumnIndex().

◆ m_nRowIndex

sal_Int32 rptxml::OXMLTable::m_nRowIndex
private

Definition at line 51 of file xmlTable.hxx.

◆ m_nRowSpan

sal_Int32 rptxml::OXMLTable::m_nRowSpan
private

Definition at line 50 of file xmlTable.hxx.

Referenced by setRowSpanned().

◆ m_sStyleName

OUString rptxml::OXMLTable::m_sStyleName
private

Definition at line 48 of file xmlTable.hxx.

◆ m_xSection

css::uno::Reference< css::report::XSection > rptxml::OXMLTable::m_xSection
private

Definition at line 47 of file xmlTable.hxx.

Referenced by getSection().


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