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 void SAL_CALL startFastElement (sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) 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
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void EndElement () override
 
void AddStyle (SvXMLStyleContext &rNew)
 
const SvXMLStyleContextFindStyleChildContext (XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex=false) 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 Clear ()
 
bool IsAutomaticStyle () const
 
- Public Member Functions inherited from SvXMLImportContext
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void Characters (const OUString &rChars)
 
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
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override
 
virtual void SAL_CALL release () 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_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
- Protected Member Functions inherited from SvXMLStylesContext
sal_uInt32 GetStyleCount () const
 
SvXMLStyleContextGetStyle (sal_uInt32 i)
 
const SvXMLStyleContextGetStyle (sal_uInt32 i) const
 
virtual SvXMLStyleContextCreateStyleChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &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
 
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 (const OUString &rFamily)
 

Detailed Description

Definition at line 119 of file xmlstyli.hxx.

Constructor & Destructor Documentation

XMLTableStylesContext::XMLTableStylesContext ( SvXMLImport rImport,
bool  bAutoStyles 
)

Definition at line 684 of file xmlstyli.cxx.

XMLTableStylesContext::~XMLTableStylesContext ( )
overridevirtual

Definition at line 695 of file xmlstyli.cxx.

Member Function Documentation

SvXMLStyleContext * XMLTableStylesContext::CreateDefaultStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_uInt16  nPrefix,
const OUString &  rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overrideprotectedvirtual

Reimplemented from SvXMLStylesContext.

Definition at line 653 of file xmlstyli.cxx.

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

SvXMLStyleContext * XMLTableStylesContext::CreateStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_uInt16  nPrefix,
const OUString &  rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overrideprotectedvirtual
void XMLTableStylesContext::endFastElement ( sal_Int32  nElement)
overridevirtual
rtl::Reference< SvXMLImportPropertyMapper > XMLTableStylesContext::GetImportPropertyMapper ( XmlStyleFamily  nFamily) const
overridevirtual
sal_Int32 XMLTableStylesContext::GetIndex ( const sal_Int16  nContextID)
const ScXMLImport& XMLTableStylesContext::GetScImport ( ) const
inlineprivate
ScXMLImport& XMLTableStylesContext::GetScImport ( )
inlineprivate

Definition at line 137 of file xmlstyli.hxx.

References SvXMLImportContext::GetImport().

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

Member Data Documentation

bool XMLTableStylesContext::bAutoStyles
private

Definition at line 129 of file xmlstyli.hxx.

Referenced by endFastElement().

sal_Int32 XMLTableStylesContext::nCellStyleIndex
private

Definition at line 127 of file xmlstyli.hxx.

Referenced by GetIndex().

sal_Int32 XMLTableStylesContext::nConditionalFormatIndex
private

Definition at line 126 of file xmlstyli.hxx.

Referenced by GetIndex().

sal_Int32 XMLTableStylesContext::nMasterPageNameIndex
private

Definition at line 128 of file xmlstyli.hxx.

Referenced by GetIndex().

sal_Int32 XMLTableStylesContext::nNumberFormatIndex
private

Definition at line 125 of file xmlstyli.hxx.

Referenced by GetIndex().

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

Definition at line 131 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

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

Definition at line 121 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

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

Definition at line 132 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

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

Definition at line 122 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

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

Definition at line 133 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

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

Definition at line 123 of file xmlstyli.hxx.

Referenced by GetStylesContainer().

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

Definition at line 134 of file xmlstyli.hxx.

Referenced by GetImportPropertyMapper().

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

Definition at line 124 of file xmlstyli.hxx.

Referenced by GetStylesContainer().


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