LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
SwXMLStylesContext_Impl Class Reference
Inheritance diagram for SwXMLStylesContext_Impl:
[legend]
Collaboration diagram for SwXMLStylesContext_Impl:
[legend]

Public Member Functions

 SwXMLStylesContext_Impl (SwXMLImport &rImport, const OUString &rLName, const uno::Reference< xml::sax::XAttributeList > &xAttrList, bool bAuto)
 
virtual bool InsertStyleFamily (sal_uInt16 nFamily) const override
 
virtual void EndElement () override
 
- Public Member Functions inherited from SvXMLStylesContext
 SvXMLStylesContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList, bool bAutomatic=false)
 
virtual ~SvXMLStylesContext () override
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
void AddStyle (SvXMLStyleContext &rNew)
 
const SvXMLStyleContextFindStyleChildContext (sal_uInt16 nFamily, const OUString &rName, bool bCreateIndex=false) const
 
css::uno::Reference< css::style::XAutoStyleFamily > GetAutoStyles (sal_uInt16 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
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 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 () 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_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual SvXMLStyleContextCreateStyleStyleChildContext (sal_uInt16 nFamily, sal_uInt16 nPrefix, const OUString &rLocalName, const uno::Reference< xml::sax::XAttributeList > &xAttrList) override
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (sal_uInt16 nFamily, sal_uInt16 nPrefix, const OUString &rLocalName, const uno::Reference< xml::sax::XAttributeList > &xAttrList) override
 
virtual rtl::Reference< SvXMLImportPropertyMapperGetImportPropertyMapper (sal_uInt16 nFamily) const override
 
virtual uno::Reference< container::XNameContainer > GetStylesContainer (sal_uInt16 nFamily) const override
 
virtual OUString GetServiceName (sal_uInt16 nFamily) const override
 
- Protected Member Functions inherited from SvXMLStylesContext
sal_uInt32 GetStyleCount () const
 
SvXMLStyleContextGetStyle (sal_uInt32 i)
 
const SvXMLStyleContextGetStyle (sal_uInt32 i) const
 
virtual SvXMLStyleContextCreateStyleStyleChildContext (sal_uInt16 nFamily, sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual SvXMLStyleContextCreateDefaultStyleStyleChildContext (sal_uInt16 nFamily, sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Private Member Functions

SwXMLImportGetSwImport ()
 
const SwXMLImportGetSwImport () const
 

Additional Inherited Members

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

Detailed Description

Definition at line 668 of file xmlfmt.cxx.

Constructor & Destructor Documentation

SwXMLStylesContext_Impl::SwXMLStylesContext_Impl ( SwXMLImport rImport,
const OUString &  rLName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList,
bool  bAuto 
)

Definition at line 798 of file xmlfmt.cxx.

Member Function Documentation

SvXMLStyleContext * SwXMLStylesContext_Impl::CreateDefaultStyleStyleChildContext ( sal_uInt16  nFamily,
sal_uInt16  nPrefix,
const OUString &  rLocalName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList 
)
overrideprotectedvirtual
SvXMLStyleContext * SwXMLStylesContext_Impl::CreateStyleChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overrideprotectedvirtual
SvXMLStyleContext * SwXMLStylesContext_Impl::CreateStyleStyleChildContext ( sal_uInt16  nFamily,
sal_uInt16  nPrefix,
const OUString &  rLocalName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList 
)
overrideprotectedvirtual
void SwXMLStylesContext_Impl::EndElement ( )
overridevirtual

Reimplemented from SvXMLStylesContext.

Definition at line 885 of file xmlfmt.cxx.

References GetSwImport(), SwXMLImport::InsertStyles(), and SvXMLStylesContext::IsAutomaticStyle().

rtl::Reference< SvXMLImportPropertyMapper > SwXMLStylesContext_Impl::GetImportPropertyMapper ( sal_uInt16  nFamily) const
overrideprotectedvirtual
OUString SwXMLStylesContext_Impl::GetServiceName ( sal_uInt16  nFamily) const
overrideprotectedvirtual
uno::Reference< container::XNameContainer > SwXMLStylesContext_Impl::GetStylesContainer ( sal_uInt16  nFamily) const
overrideprotectedvirtual
SwXMLImport& SwXMLStylesContext_Impl::GetSwImport ( )
inlineprivate
const SwXMLImport& SwXMLStylesContext_Impl::GetSwImport ( ) const
inlineprivate

Definition at line 671 of file xmlfmt.cxx.

References SvXMLImportContext::GetImport().

bool SwXMLStylesContext_Impl::InsertStyleFamily ( sal_uInt16  nFamily) const
overridevirtual

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