LibreOffice Module xmloff (master)  1
Public Member Functions | Public Attributes | List of all members
XMLTableImportContext Class Reference
Inheritance diagram for XMLTableImportContext:
[legend]
Collaboration diagram for XMLTableImportContext:
[legend]

Public Member Functions

 XMLTableImportContext (const rtl::Reference< XMLTableImport > &xThis, Reference< XColumnRowRange > const &xColumnRowRange)
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
void InitColumns ()
 
SvXMLImportContextRef ImportColumn (const Reference< XFastAttributeList > &xAttrList)
 
SvXMLImportContextImportRow (const Reference< XFastAttributeList > &xAttrList)
 
SvXMLImportContextRef ImportCell (sal_Int32 nElement, const Reference< XFastAttributeList > &xAttrList)
 
OUString GetDefaultCellStyleName () const
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 A contexts constructor does anything that is required if an element starts. More...
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
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 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
 This method is called for all characters that are contained in the current element. More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override throw ()
 
virtual void SAL_CALL release () final override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Public Attributes

css::uno::Reference< css::table::XTable > mxTable
 
Reference< XTableColumns > mxColumns
 
Reference< XTableRows > mxRows
 
std::vector< std::shared_ptr< ColumnInfo > > maColumnInfos
 
sal_Int32 mnCurrentRow
 
sal_Int32 mnCurrentColumn
 
OUString msDefaultCellStyleName
 
MergeInfoVector maMergeInfos
 

Additional Inherited Members

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

Detailed Description

Definition at line 97 of file XMLTableImport.cxx.

Constructor & Destructor Documentation

XMLTableImportContext::XMLTableImportContext ( const rtl::Reference< XMLTableImport > &  xThis,
Reference< XColumnRowRange > const &  xColumnRowRange 
)

Definition at line 365 of file XMLTableImport.cxx.

Member Function Documentation

css::uno::Reference< css::xml::sax::XFastContextHandler > XMLTableImportContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  AttrList 
)
overridevirtual
void XMLTableImportContext::endFastElement ( sal_Int32  Element)
overridevirtual

endFastElement is called before a context will be destructed, but after an elements context has been parsed.

It may be used for actions that require virtual methods. The default is to do nothing.

Reimplemented from SvXMLImportContext.

Definition at line 575 of file XMLTableImport.cxx.

References Exception, maMergeInfos, mxTable, and TOOLS_WARN_EXCEPTION.

OUString XMLTableImportContext::GetDefaultCellStyleName ( ) const

Definition at line 592 of file XMLTableImport.cxx.

References maColumnInfos, mnCurrentColumn, and msDefaultCellStyleName.

Referenced by ImportCell().

SvXMLImportContextRef XMLTableImportContext::ImportCell ( sal_Int32  nElement,
const Reference< XFastAttributeList > &  xAttrList 
)
SvXMLImportContextRef XMLTableImportContext::ImportColumn ( const Reference< XFastAttributeList > &  xAttrList)
SvXMLImportContext * XMLTableImportContext::ImportRow ( const Reference< XFastAttributeList > &  xAttrList)
void XMLTableImportContext::InitColumns ( )

Member Data Documentation

std::vector< std::shared_ptr< ColumnInfo > > XMLTableImportContext::maColumnInfos

Definition at line 120 of file XMLTableImport.cxx.

Referenced by GetDefaultCellStyleName(), ImportColumn(), and InitColumns().

MergeInfoVector XMLTableImportContext::maMergeInfos

Definition at line 127 of file XMLTableImport.cxx.

Referenced by endFastElement(), and ImportCell().

sal_Int32 XMLTableImportContext::mnCurrentColumn

Definition at line 122 of file XMLTableImport.cxx.

Referenced by GetDefaultCellStyleName(), ImportCell(), and ImportRow().

sal_Int32 XMLTableImportContext::mnCurrentRow

Definition at line 121 of file XMLTableImport.cxx.

Referenced by ImportCell(), ImportColumn(), and ImportRow().

OUString XMLTableImportContext::msDefaultCellStyleName

Definition at line 125 of file XMLTableImport.cxx.

Referenced by GetDefaultCellStyleName(), and ImportRow().

Reference< XTableColumns > XMLTableImportContext::mxColumns

Definition at line 117 of file XMLTableImport.cxx.

Referenced by ImportCell(), ImportColumn(), and InitColumns().

Reference< XTableRows > XMLTableImportContext::mxRows

Definition at line 118 of file XMLTableImport.cxx.

Referenced by ImportRow().

css::uno::Reference< css::table::XTable > XMLTableImportContext::mxTable

Definition at line 116 of file XMLTableImport.cxx.

Referenced by endFastElement(), and ImportCell().


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