LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
dbaxml::OTableStylesContext Class Reference

#include <xmlStyleImport.hxx>

Inheritance diagram for dbaxml::OTableStylesContext:
[legend]
Collaboration diagram for dbaxml::OTableStylesContext:
[legend]

Public Member Functions

 OTableStylesContext (SvXMLImport &rImport, bool bAutoStyles)
 
virtual ~OTableStylesContext () override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
virtual rtl::Reference< SvXMLImportPropertyMapperGetImportPropertyMapper (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 SvXMLStyleContextCreateStyleStyleChildContext (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

ODBFilterGetOwnImport ()
 

Private Attributes

sal_Int32 m_nNumberFormatIndex
 
sal_Int32 m_nMasterPageNameIndex
 
bool bAutoStyles: 1
 
rtl::Reference< SvXMLImportPropertyMapperm_xTableImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperm_xColumnImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperm_xCellImpPropMapper
 

Additional Inherited Members

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

Detailed Description

Definition at line 61 of file xmlStyleImport.hxx.

Constructor & Destructor Documentation

◆ OTableStylesContext()

dbaxml::OTableStylesContext::OTableStylesContext ( SvXMLImport rImport,
bool  bAutoStyles 
)

Definition at line 132 of file xmlStyleImport.cxx.

◆ ~OTableStylesContext()

dbaxml::OTableStylesContext::~OTableStylesContext ( )
overridevirtual

Definition at line 142 of file xmlStyleImport.cxx.

Member Function Documentation

◆ 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 * dbaxml::OTableStylesContext::CreateStyleStyleChildContext ( XmlStyleFamily  nFamily,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

Reimplemented from SvXMLStylesContext.

Definition at line 193 of file xmlStyleImport.cxx.

References SvXMLStylesContext::CreateStyleStyleChildContext(), and GetOwnImport().

◆ endFastElement()

void dbaxml::OTableStylesContext::endFastElement ( sal_Int32  nElement)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 147 of file xmlStyleImport.cxx.

References bAutoStyles, and SvXMLImportContext::GetImport().

◆ GetImportPropertyMapper()

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

◆ GetIndex()

sal_Int32 dbaxml::OTableStylesContext::GetIndex ( const sal_Int16  nContextID)

◆ GetOwnImport()

ODBFilter & dbaxml::OTableStylesContext::GetOwnImport ( )
private

◆ GetServiceName()

OUString dbaxml::OTableStylesContext::GetServiceName ( XmlStyleFamily  nFamily) const
overridevirtual

Member Data Documentation

◆ bAutoStyles

bool dbaxml::OTableStylesContext::bAutoStyles
private

Definition at line 65 of file xmlStyleImport.hxx.

Referenced by endFastElement().

◆ m_nMasterPageNameIndex

sal_Int32 dbaxml::OTableStylesContext::m_nMasterPageNameIndex
private

Definition at line 64 of file xmlStyleImport.hxx.

Referenced by GetIndex().

◆ m_nNumberFormatIndex

sal_Int32 dbaxml::OTableStylesContext::m_nNumberFormatIndex
private

Definition at line 63 of file xmlStyleImport.hxx.

Referenced by GetIndex().

◆ m_xCellImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > dbaxml::OTableStylesContext::m_xCellImpPropMapper
mutableprivate

Definition at line 69 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

◆ m_xColumnImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > dbaxml::OTableStylesContext::m_xColumnImpPropMapper
mutableprivate

Definition at line 68 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

◆ m_xTableImpPropMapper

rtl::Reference< SvXMLImportPropertyMapper > dbaxml::OTableStylesContext::m_xTableImpPropMapper
mutableprivate

Definition at line 67 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().


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