LibreOffice Module reportdesign (master) 1
|
#include <xmlTable.hxx>
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 | |
ORptFilter & | GetOwnImport () |
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 | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 29 of file xmlTable.hxx.
|
privatedelete |
rptxml::OXMLTable::OXMLTable | ( | ORptFilter & | rImport, |
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
css::uno::Reference< css::report::XSection > | _xSection | ||
) |
|
overridevirtual |
Definition at line 111 of file xmlTable.cxx.
|
inline |
Definition at line 71 of file xmlTable.hxx.
References m_aAutoHeight.
Referenced by rptxml::OXMLRowColumn::fillStyle().
void rptxml::OXMLTable::addCell | ( | const css::uno::Reference< css::report::XReportComponent > & | _xElement | ) |
Definition at line 256 of file xmlTable.cxx.
References rptxml::OXMLTable::TCell::bAutoHeight, o3tl::make_unsigned(), rptxml::OXMLTable::TCell::nColSpan, rptxml::OXMLTable::TCell::nHeight, rptxml::OXMLTable::TCell::nRowSpan, rptxml::OXMLTable::TCell::nWidth, and rptxml::OXMLTable::TCell::xElements.
Referenced by rptxml::OXMLRowColumn::createFastChildContext(), and rptxml::OXMLFixedContent::endFastElement().
|
inline |
Definition at line 70 of file xmlTable.hxx.
References m_aHeight.
Referenced by rptxml::OXMLRowColumn::fillStyle().
|
inline |
Definition at line 72 of file xmlTable.hxx.
References m_aWidth.
Referenced by rptxml::OXMLRowColumn::fillStyle().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 152 of file xmlTable.cxx.
References rptxml::OXMLTable::TCell::bAutoHeight, Exception, XMLPropStyleContext::FillPropertySet(), SvXMLStylesContext::FindStyleChildContext(), SvXMLStylesContext::GetAutoStyles(), i, o3tl::make_unsigned(), MIN_HEIGHT, MIN_WIDTH, rptxml::OXMLTable::TCell::nColSpan, rptxml::OXMLTable::TCell::nHeight, nLeftMargin, rptxml::OXMLTable::TCell::nRowSpan, rptxml::OXMLTable::TCell::nWidth, PROPERTY_LEFTMARGIN, TOOLS_WARN_EXCEPTION, and rptxml::OXMLTable::TCell::xElements.
|
private |
Definition at line 147 of file xmlTable.cxx.
|
inline |
Definition at line 82 of file xmlTable.hxx.
References m_xSection.
|
inline |
Definition at line 78 of file xmlTable.hxx.
References m_nColumnIndex.
Referenced by rptxml::OXMLRowColumn::createFastChildContext().
void rptxml::OXMLTable::incrementRowIndex | ( | ) |
Definition at line 280 of file xmlTable.cxx.
Referenced by rptxml::OXMLRowColumn::createFastChildContext().
|
privatedelete |
|
inline |
Definition at line 74 of file xmlTable.hxx.
References m_nColSpan.
|
inline |
Definition at line 75 of file xmlTable.hxx.
References m_nRowSpan.
|
private |
Definition at line 45 of file xmlTable.hxx.
Referenced by addAutoHeight().
|
private |
Definition at line 43 of file xmlTable.hxx.
|
private |
Definition at line 44 of file xmlTable.hxx.
Referenced by addHeight().
|
private |
Definition at line 46 of file xmlTable.hxx.
Referenced by addWidth().
|
private |
Definition at line 49 of file xmlTable.hxx.
Referenced by setColumnSpanned().
|
private |
Definition at line 52 of file xmlTable.hxx.
Referenced by incrementColumnIndex().
|
private |
Definition at line 51 of file xmlTable.hxx.
|
private |
Definition at line 50 of file xmlTable.hxx.
Referenced by setRowSpanned().
|
private |
Definition at line 48 of file xmlTable.hxx.
|
private |
Definition at line 47 of file xmlTable.hxx.
Referenced by getSection().