LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
XMLTableStylesContext Class Reference

#include <xmlstyli.hxx>

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

Public Member Functions

 XMLTableStylesContext (SvXMLImport &rImport, bool bAutoStyles)
 
virtual ~XMLTableStylesContext () override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
virtual rtl::Reference< SvXMLImportPropertyMapperGetImportPropertyMapper (XmlStyleFamily nFamily) const override
 
virtual css::uno::Reference< css::container::XNameContainer > GetStylesContainer (XmlStyleFamily nFamily) const override
 
virtual OUString GetServiceName (XmlStyleFamily nFamily) const override
 
sal_Int32 GetIndex (const sal_Int16 nContextID)
 
- Public Member Functions inherited from SvXMLStylesContext
 SvXMLStylesContext (SvXMLImport &rImport, bool bAutomatic=false)
 
virtual ~SvXMLStylesContext () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
 
void AddStyle (SvXMLStyleContext &rNew)
 
const SvXMLStyleContextFindStyleChildContext (XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex=false) const
 
virtual rtl::Reference< SvXMLImportPropertyMapperGetImportPropertyMapper (XmlStyleFamily nFamily) const
 
virtual css::uno::Reference< css::container::XNameContainer > GetStylesContainer (XmlStyleFamily nFamily) const
 
virtual OUString GetServiceName (XmlStyleFamily nFamily) const
 
css::uno::Reference< css::style::XAutoStyleFamily > GetAutoStyles (XmlStyleFamily nFamily) const
 
void CopyAutoStylesToDoc ()
 
void CopyStylesToDoc (bool bOverwrite, bool bFinish=true)
 
void FinishStyles (bool bOverwrite)
 
void dispose ()
 
bool IsAutomaticStyle () 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
 

Protected Member Functions

virtual SvXMLStyleContextCreateStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual SvXMLStyleContextCreateStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
- Protected Member Functions inherited from SvXMLStylesContext
sal_uInt32 GetStyleCount () const
 
SvXMLStyleContextGetStyle (sal_uInt32 i)
 
const SvXMLStyleContextGetStyle (sal_uInt32 i) const
 
virtual SvXMLStyleContextCreateStyleChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual SvXMLStyleContextCreateStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual bool InsertStyleFamily (XmlStyleFamily nFamily) const
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Private Member Functions

const ScXMLImportGetScImport () const
 
ScXMLImportGetScImport ()
 

Private Attributes

css::uno::Reference< css::container::XNameContainer > xCellStyles
 
css::uno::Reference< css::container::XNameContainer > xColumnStyles
 
css::uno::Reference< css::container::XNameContainer > xRowStyles
 
css::uno::Reference< css::container::XNameContainer > xTableStyles
 
css::uno::Reference< css::container::XNameContainer > xGraphicStyles
 
sal_Int32 nNumberFormatIndex
 
sal_Int32 nConditionalFormatIndex
 
sal_Int32 nCellStyleIndex
 
sal_Int32 nMasterPageNameIndex
 
bool bAutoStyles
 
rtl::Reference< SvXMLImportPropertyMapperxCellImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperxColumnImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperxRowImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperxTableImpPropMapper
 

Additional Inherited Members

- Static Public Member Functions inherited from SvXMLStylesContext
static XmlStyleFamily GetFamily (std::u16string_view rFamily)
 

Detailed Description

Definition at line 113 of file xmlstyli.hxx.

Constructor & Destructor Documentation

◆ XMLTableStylesContext()

XMLTableStylesContext::XMLTableStylesContext ( SvXMLImport rImport,
bool  bAutoStyles 
)

Definition at line 671 of file xmlstyli.cxx.

◆ ~XMLTableStylesContext()

XMLTableStylesContext::~XMLTableStylesContext ( )
overridevirtual

Definition at line 682 of file xmlstyli.cxx.

Member Function Documentation

◆ CreateDefaultStyleStyleChildContext() [1/2]

virtual SvXMLStyleContext * SvXMLStylesContext::CreateDefaultStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
protectedvirtual

Reimplemented from SvXMLStylesContext.

◆ CreateDefaultStyleStyleChildContext() [2/2]

SvXMLStyleContext * XMLTableStylesContext::CreateDefaultStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

Reimplemented from SvXMLStylesContext.

Definition at line 645 of file xmlstyli.cxx.

References SvXMLStylesContext::CreateDefaultStyleStyleChildContext(), and GetScImport().

◆ CreateStyleStyleChildContext() [1/2]

virtual SvXMLStyleContext * SvXMLStylesContext::CreateStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
protectedvirtual

Reimplemented from SvXMLStylesContext.

◆ CreateStyleStyleChildContext() [2/2]

SvXMLStyleContext * XMLTableStylesContext::CreateStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

◆ endFastElement()

void XMLTableStylesContext::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ GetImportPropertyMapper()

rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::GetImportPropertyMapper ( XmlStyleFamily  nFamily) const
overridevirtual

◆ GetIndex()

sal_Int32 XMLTableStylesContext::GetIndex ( const sal_Int16  nContextID)

◆ GetScImport() [1/2]

ScXMLImport & XMLTableStylesContext::GetScImport ( )
inlineprivate

Definition at line 132 of file xmlstyli.hxx.

References SvXMLImportContext::GetImport().

◆ GetScImport() [2/2]

const ScXMLImport & XMLTableStylesContext::GetScImport ( ) const
inlineprivate

◆ GetServiceName()

OUString XMLTableStylesContext::GetServiceName ( XmlStyleFamily  nFamily) const
overridevirtual

◆ GetStylesContainer()

uno::Reference< XNameContainer > XMLTableStylesContext::GetStylesContainer ( XmlStyleFamily  nFamily) const
overridevirtual

Member Data Documentation

◆ bAutoStyles

bool XMLTableStylesContext::bAutoStyles
private

Definition at line 124 of file xmlstyli.hxx.

Referenced by endFastElement().

◆ nCellStyleIndex

sal_Int32 XMLTableStylesContext::nCellStyleIndex
private

Definition at line 122 of file xmlstyli.hxx.

Referenced by GetIndex().

◆ nConditionalFormatIndex

sal_Int32 XMLTableStylesContext::nConditionalFormatIndex
private

Definition at line 121 of file xmlstyli.hxx.

Referenced by GetIndex().

◆ nMasterPageNameIndex

sal_Int32 XMLTableStylesContext::nMasterPageNameIndex
private

Definition at line 123 of file xmlstyli.hxx.

Referenced by GetIndex().

◆ nNumberFormatIndex

sal_Int32 XMLTableStylesContext::nNumberFormatIndex
private

Definition at line 120 of file xmlstyli.hxx.

Referenced by GetIndex().

◆ xCellImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::xCellImpPropMapper
private

Definition at line 126 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

◆ xCellStyles

css::uno::Reference< css::container::XNameContainer > XMLTableStylesContext::xCellStyles
private

Definition at line 115 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

◆ xColumnImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::xColumnImpPropMapper
private

Definition at line 127 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

◆ xColumnStyles

css::uno::Reference< css::container::XNameContainer > XMLTableStylesContext::xColumnStyles
private

Definition at line 116 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

◆ xGraphicStyles

css::uno::Reference< css::container::XNameContainer > XMLTableStylesContext::xGraphicStyles
private

Definition at line 119 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

◆ xRowImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::xRowImpPropMapper
private

Definition at line 128 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

◆ xRowStyles

css::uno::Reference< css::container::XNameContainer > XMLTableStylesContext::xRowStyles
private

Definition at line 117 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

◆ xTableImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::xTableImpPropMapper
private

Definition at line 129 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

◆ xTableStyles

css::uno::Reference< css::container::XNameContainer > XMLTableStylesContext::xTableStyles
private

Definition at line 118 of file xmlstyli.hxx.

Referenced by GetStylesContainer().


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