LibreOffice Module xmloff (master)
1
|
#include <XMLTableImport.hxx>
Public Member Functions | |
XMLTableImport (SvXMLImport &rImport, const rtl::Reference< XMLPropertySetMapper > &xCellPropertySetMapper, const rtl::Reference< XMLPropertyHandlerFactory > &xFactoryRef) | |
virtual | ~XMLTableImport () override |
SvXMLImportContext * | CreateTableContext (css::uno::Reference< css::table::XColumnRowRange > const &xColumnRowRange) |
SvXMLStyleContext * | CreateTableTemplateContext (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... | |
![]() | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Friends | |
class | XMLTableImportContext |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
![]() | |
oslInterlockedCount | m_nCount |
Definition at line 41 of file XMLTableImport.hxx.
XMLTableImport::XMLTableImport | ( | SvXMLImport & | rImport, |
const rtl::Reference< XMLPropertySetMapper > & | xCellPropertySetMapper, | ||
const rtl::Reference< XMLPropertyHandlerFactory > & | xFactoryRef | ||
) |
Definition at line 196 of file XMLTableImport.cxx.
References XMLTextImportHelper::CreateParaExtPropMapper(), XMLTextImportHelper::CreateTableCellExtPropMapper(), Exception, comphelper::findValue(), getCellPropertiesMap(), getColumnPropertiesMap(), SvXMLImport::GetModel(), getRowPropertiesMap(), mxCellImportPropertySetMapper, mxColumnImportPropertySetMapper, mxRowImportPropertySetMapper, and SAL_WARN.
|
overridevirtual |
Definition at line 230 of file XMLTableImport.cxx.
void XMLTableImport::addTableTemplate | ( | const OUString & | rsStyleName, |
XMLTableTemplate & | xTableTemplate | ||
) |
Definition at line 245 of file XMLTableImport.cxx.
References maTableTemplates.
SvXMLImportContext * XMLTableImport::CreateTableContext | ( | css::uno::Reference< css::table::XColumnRowRange > const & | xColumnRowRange | ) |
Definition at line 234 of file XMLTableImport.cxx.
References XMLTableImportContext.
SvXMLStyleContext * XMLTableImport::CreateTableTemplateContext | ( | sal_Int32 | nElement, |
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList | ||
) |
Definition at line 240 of file XMLTableImport.cxx.
References mrImport.
void XMLTableImport::finishStyles | ( | ) |
Inserts all table templates.
Definition at line 311 of file XMLTableImport.cxx.
References Any, Exception, SvXMLImport::GetModel(), maTableTemplates, mrImport, sTemplateName, TOOLS_WARN_EXCEPTION, and xFactory.
|
inline |
Definition at line 53 of file XMLTableImport.hxx.
|
inline |
Definition at line 55 of file XMLTableImport.hxx.
|
inline |
Definition at line 54 of file XMLTableImport.hxx.
void XMLTableImport::insertTabletemplate | ( | const OUString & | rsStyleName, |
bool | bOverwrite | ||
) |
Inserts to the doc template with given name.
Definition at line 252 of file XMLTableImport.cxx.
References Any, SvXMLUnitConverter::encodeStyleName(), Exception, SvXMLImport::GetMM100UnitConverter(), SvXMLImport::GetModel(), i, maTableTemplates, mrImport, nCount, sTemplateName, TOOLS_WARN_EXCEPTION, and xFactory.
|
friend |
Definition at line 43 of file XMLTableImport.hxx.
Referenced by CreateTableContext().
|
private |
Definition at line 69 of file XMLTableImport.hxx.
Referenced by addTableTemplate(), finishStyles(), and insertTabletemplate().
|
private |
Definition at line 64 of file XMLTableImport.hxx.
Referenced by CreateTableTemplateContext(), finishStyles(), and insertTabletemplate().
|
private |
Definition at line 65 of file XMLTableImport.hxx.
Referenced by XMLTableImport().
|
private |
Definition at line 67 of file XMLTableImport.hxx.
Referenced by XMLTableImport().
|
private |
Definition at line 66 of file XMLTableImport.hxx.
Referenced by XMLTableImport().