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

#include <xmlstyli.hxx>

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

Public Member Functions

 ScXMLMasterStylesContext (SvXMLImport &rImport)
 
virtual ~ScXMLMasterStylesContext () override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
- 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
 
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
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 SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
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 SvXMLStyleContextCreateStyleChildContext (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) override
 
virtual bool InsertStyleFamily (XmlStyleFamily nFamily) const override
 
- Protected Member Functions inherited from SvXMLStylesContext
sal_uInt32 GetStyleCount () const
 
SvXMLStyleContextGetStyle (sal_uInt32 i)
 
const SvXMLStyleContextGetStyle (sal_uInt32 i) const
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SvXMLStylesContext
static XmlStyleFamily GetFamily (const OUString &rFamily)
 

Detailed Description

Definition at line 164 of file xmlstyli.hxx.

Constructor & Destructor Documentation

ScXMLMasterStylesContext::ScXMLMasterStylesContext ( SvXMLImport rImport)

Definition at line 890 of file xmlstyli.cxx.

ScXMLMasterStylesContext::~ScXMLMasterStylesContext ( )
overridevirtual

Definition at line 895 of file xmlstyli.cxx.

Member Function Documentation

SvXMLStyleContext * ScXMLMasterStylesContext::CreateStyleChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

Reimplemented from SvXMLStylesContext.

Definition at line 899 of file xmlstyli.cxx.

References SvXMLImportContext::GetImport(), InsertStyleFamily(), STYLE, XML_ELEMENT, and XML_MASTER_PAGE.

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

Reimplemented from SvXMLStylesContext.

Definition at line 916 of file xmlstyli.cxx.

void ScXMLMasterStylesContext::endFastElement ( sal_Int32  nElement)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 924 of file xmlstyli.cxx.

References SvXMLStylesContext::FinishStyles().

bool ScXMLMasterStylesContext::InsertStyleFamily ( XmlStyleFamily  nFamily) const
overrideprotectedvirtual

Reimplemented from SvXMLStylesContext.

Definition at line 885 of file xmlstyli.cxx.

Referenced by CreateStyleChildContext().


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