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 (sal_uInt16 nPrfx, const OUString &rLName, 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 insertTabletemplate (const OUString &rsStyleName, bool bOverwrite)
 Inserts to the doc template with given name. More...
 
void finishStyles ()
 Inserts all table templates. More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

SvXMLImportmrImport
 
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 voidoperator new (std::size_t nSize)
 
static voidoperator 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 41 of file XMLTableImport.hxx.

Constructor & Destructor Documentation

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

Definition at line 228 of file XMLTableImport.cxx.

Member Function Documentation

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

Definition at line 243 of file XMLTableImport.cxx.

References maTableTemplates.

SvXMLImportContext * XMLTableImport::CreateTableContext ( sal_uInt16  nPrfx,
const OUString &  rLName,
css::uno::Reference< css::table::XColumnRowRange > const &  xColumnRowRange 
)

Definition at line 232 of file XMLTableImport.cxx.

References XMLTableImportContext.

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

Definition at line 238 of file XMLTableImport.cxx.

References mrImport.

void XMLTableImport::finishStyles ( )

Inserts all table templates.

Definition at line 309 of file XMLTableImport.cxx.

References Any, Exception, SvXMLImport::GetModel(), maTableTemplates, mrImport, sTemplateName, TOOLS_WARN_EXCEPTION, and xFactory.

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

Definition at line 54 of file XMLTableImport.hxx.

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

Definition at line 56 of file XMLTableImport.hxx.

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

Definition at line 55 of file XMLTableImport.hxx.

void XMLTableImport::insertTabletemplate ( const OUString &  rsStyleName,
bool  bOverwrite 
)

Friends And Related Function Documentation

friend class XMLTableImportContext
friend

Definition at line 43 of file XMLTableImport.hxx.

Referenced by CreateTableContext().

Member Data Documentation

XMLTableTemplateMap XMLTableImport::maTableTemplates
private

Definition at line 70 of file XMLTableImport.hxx.

Referenced by addTableTemplate(), finishStyles(), and insertTabletemplate().

SvXMLImport& XMLTableImport::mrImport
private
rtl::Reference< SvXMLImportPropertyMapper > XMLTableImport::mxCellImportPropertySetMapper
private

Definition at line 66 of file XMLTableImport.hxx.

Referenced by XMLTableImport().

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

Definition at line 68 of file XMLTableImport.hxx.

Referenced by XMLTableImport().

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

Definition at line 67 of file XMLTableImport.hxx.

Referenced by XMLTableImport().


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