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, const 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 startFastElement (sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) 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
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
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 endUnknownElement (const OUString &Namespace, const OUString &Name) 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 () final override
 
virtual void SAL_CALL release () 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

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

Definition at line 113 of file xmlTable.cxx.

Member Function Documentation

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

Definition at line 73 of file xmlTable.hxx.

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

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

Definition at line 72 of file xmlTable.hxx.

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

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

Definition at line 74 of file xmlTable.hxx.

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

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.

void rptxml::OXMLTable::endFastElement ( sal_Int32  nElement)
overridevirtual
ORptFilter & rptxml::OXMLTable::GetOwnImport ( )
private

Definition at line 149 of file xmlTable.cxx.

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

Definition at line 80 of file xmlTable.hxx.

References m_nColumnIndex.

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

void rptxml::OXMLTable::incrementRowIndex ( )

Definition at line 282 of file xmlTable.cxx.

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

void rptxml::OXMLTable::operator= ( const OXMLTable )
privatedelete
void rptxml::OXMLTable::setColumnSpanned ( sal_Int32  _nColSpan)
inline

Definition at line 76 of file xmlTable.hxx.

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

Definition at line 77 of file xmlTable.hxx.

virtual void SAL_CALL rptxml::OXMLTable::startFastElement ( sal_Int32  ,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &   
)
inlineoverridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 68 of file xmlTable.hxx.

Member Data Documentation

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

Definition at line 45 of file xmlTable.hxx.

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

Definition at line 43 of file xmlTable.hxx.

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

Definition at line 44 of file xmlTable.hxx.

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

Definition at line 46 of file xmlTable.hxx.

sal_Int32 rptxml::OXMLTable::m_nColSpan
private

Definition at line 49 of file xmlTable.hxx.

sal_Int32 rptxml::OXMLTable::m_nColumnIndex
private

Definition at line 52 of file xmlTable.hxx.

Referenced by incrementColumnIndex().

sal_Int32 rptxml::OXMLTable::m_nRowIndex
private

Definition at line 51 of file xmlTable.hxx.

sal_Int32 rptxml::OXMLTable::m_nRowSpan
private

Definition at line 50 of file xmlTable.hxx.

OUString rptxml::OXMLTable::m_sStyleName
private

Definition at line 48 of file xmlTable.hxx.

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: