LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
XMLTableImport Class Referencefinal

#include <XMLTableImport.hxx>

Inheritance diagram for XMLTableImport:
[legend]
Collaboration diagram for XMLTableImport:
[legend]

Public Member Functions

 XMLTableImport (SvXMLImport &rImport, const rtl::Reference< XMLPropertySetMapper > &xCellPropertySetMapper, const rtl::Reference< XMLPropertyHandlerFactory > &xFactoryRef)
 
virtual ~XMLTableImport () override
 
SvXMLImportContextCreateTableContext (css::uno::Reference< css::table::XColumnRowRange > const &xColumnRowRange)
 
SvXMLStyleContextCreateTableTemplateContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
const rtl::Reference< SvXMLImportPropertyMapper > & GetCellImportPropertySetMapper () const
 
const rtl::Reference< SvXMLImportPropertyMapper > & GetRowImportPropertySetMapper () const
 
const rtl::Reference< SvXMLImportPropertyMapper > & GetColumnImportPropertySetMapper () const
 
void addTableTemplate (const OUString &rsStyleName, XMLTableTemplate &xTableTemplate)
 
void finishStyles ()
 Inserts all table templates. More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

SvXMLImport & mrImport
 
bool mbWriter
 
rtl::Reference< SvXMLImportPropertyMappermxCellImportPropertySetMapper
 
rtl::Reference< SvXMLImportPropertyMappermxRowImportPropertySetMapper
 
rtl::Reference< SvXMLImportPropertyMappermxColumnImportPropertySetMapper
 
XMLTableTemplateMap maTableTemplates
 

Friends

class XMLTableImportContext
 

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 salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 44 of file XMLTableImport.hxx.

Constructor & Destructor Documentation

◆ XMLTableImport()

XMLTableImport::XMLTableImport ( SvXMLImport &  rImport,
const rtl::Reference< XMLPropertySetMapper > &  xCellPropertySetMapper,
const rtl::Reference< XMLPropertyHandlerFactory > &  xFactoryRef 
)

◆ ~XMLTableImport()

XMLTableImport::~XMLTableImport ( )
overridevirtual

Definition at line 268 of file XMLTableImport.cxx.

Member Function Documentation

◆ addTableTemplate()

void XMLTableImport::addTableTemplate ( const OUString &  rsStyleName,
XMLTableTemplate xTableTemplate 
)

Definition at line 283 of file XMLTableImport.cxx.

References maTableTemplates.

◆ CreateTableContext()

SvXMLImportContext * XMLTableImport::CreateTableContext ( css::uno::Reference< css::table::XColumnRowRange > const &  xColumnRowRange)

Definition at line 272 of file XMLTableImport.cxx.

References XMLTableImportContext.

◆ CreateTableTemplateContext()

SvXMLStyleContext * XMLTableImport::CreateTableTemplateContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)

Definition at line 278 of file XMLTableImport.cxx.

References mrImport.

◆ finishStyles()

void XMLTableImport::finishStyles ( )

Inserts all table templates.

Definition at line 290 of file XMLTableImport.cxx.

References Any, Exception, maTableTemplates, mbWriter, mrImport, sTemplateName, TABLE_CELL, TOOLS_WARN_EXCEPTION, u, and xFactory.

◆ GetCellImportPropertySetMapper()

const rtl::Reference< SvXMLImportPropertyMapper > & XMLTableImport::GetCellImportPropertySetMapper ( ) const
inline

Definition at line 56 of file XMLTableImport.hxx.

◆ GetColumnImportPropertySetMapper()

const rtl::Reference< SvXMLImportPropertyMapper > & XMLTableImport::GetColumnImportPropertySetMapper ( ) const
inline

Definition at line 58 of file XMLTableImport.hxx.

◆ GetRowImportPropertySetMapper()

const rtl::Reference< SvXMLImportPropertyMapper > & XMLTableImport::GetRowImportPropertySetMapper ( ) const
inline

Definition at line 57 of file XMLTableImport.hxx.

Friends And Related Function Documentation

◆ XMLTableImportContext

friend class XMLTableImportContext
friend

Definition at line 46 of file XMLTableImport.hxx.

Referenced by CreateTableContext().

Member Data Documentation

◆ maTableTemplates

XMLTableTemplateMap XMLTableImport::maTableTemplates
private

Definition at line 71 of file XMLTableImport.hxx.

Referenced by addTableTemplate(), and finishStyles().

◆ mbWriter

bool XMLTableImport::mbWriter
private

Definition at line 66 of file XMLTableImport.hxx.

Referenced by finishStyles(), and XMLTableImport().

◆ mrImport

SvXMLImport& XMLTableImport::mrImport
private

Definition at line 65 of file XMLTableImport.hxx.

Referenced by CreateTableTemplateContext(), and finishStyles().

◆ mxCellImportPropertySetMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableImport::mxCellImportPropertySetMapper
private

Definition at line 67 of file XMLTableImport.hxx.

Referenced by XMLTableImport().

◆ mxColumnImportPropertySetMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableImport::mxColumnImportPropertySetMapper
private

Definition at line 69 of file XMLTableImport.hxx.

Referenced by XMLTableImport().

◆ mxRowImportPropertySetMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableImport::mxRowImportPropertySetMapper
private

Definition at line 68 of file XMLTableImport.hxx.

Referenced by XMLTableImport().


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