LibreOffice Module reportdesign (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rptxml::OReportStylesContext Class Reference

#include <xmlStyleImport.hxx>

Inheritance diagram for rptxml::OReportStylesContext:
[legend]
Collaboration diagram for rptxml::OReportStylesContext:
[legend]

Public Member Functions

 OReportStylesContext (ORptFilter &rImport, const bool bAutoStyles)
 
virtual ~OReportStylesContext () 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
 
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 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 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
 
- 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 bool InsertStyleFamily (XmlStyleFamily nFamily) const
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Private Member Functions

ORptFilterGetOwnImport () const
 
 OReportStylesContext (const OReportStylesContext &)=delete
 
void operator= (const OReportStylesContext &)=delete
 

Private Attributes

ORptFilterm_rImport
 
sal_Int32 m_nNumberFormatIndex
 
bool bAutoStyles: 1
 
rtl::Reference< SvXMLImportPropertyMapperm_xCellImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperm_xColumnImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperm_xRowImpPropMapper
 
rtl::Reference< SvXMLImportPropertyMapperm_xTableImpPropMapper
 
css::uno::Reference< css::container::XNameContainer > m_xCellStyles
 
css::uno::Reference< css::container::XNameContainer > m_xColumnStyles
 
css::uno::Reference< css::container::XNameContainer > m_xRowStyles
 
css::uno::Reference< css::container::XNameContainer > m_xTableStyles
 

Additional Inherited Members

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

Detailed Description

Definition at line 63 of file xmlStyleImport.hxx.

Constructor & Destructor Documentation

rptxml::OReportStylesContext::OReportStylesContext ( const OReportStylesContext )
privatedelete
rptxml::OReportStylesContext::OReportStylesContext ( ORptFilter rImport,
const bool  bAutoStyles 
)

Definition at line 149 of file xmlStyleImport.cxx.

References m_rImport.

rptxml::OReportStylesContext::~OReportStylesContext ( )
overridevirtual

Definition at line 160 of file xmlStyleImport.cxx.

Member Function Documentation

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

Reimplemented from SvXMLStylesContext.

Definition at line 233 of file xmlStyleImport.cxx.

References SvXMLImportContext::GetImport().

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

Reimplemented from SvXMLStylesContext.

Definition at line 247 of file xmlStyleImport.cxx.

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

void rptxml::OReportStylesContext::endFastElement ( sal_Int32  nElement)
overridevirtual
rtl::Reference< SvXMLImportPropertyMapper > rptxml::OReportStylesContext::GetImportPropertyMapper ( XmlStyleFamily  nFamily) const
overridevirtual
sal_Int32 rptxml::OReportStylesContext::GetIndex ( const sal_Int16  nContextID)
ORptFilter& rptxml::OReportStylesContext::GetOwnImport ( ) const
inlineprivate
OUString rptxml::OReportStylesContext::GetServiceName ( XmlStyleFamily  nFamily) const
overridevirtual
Reference< XNameContainer > rptxml::OReportStylesContext::GetStylesContainer ( XmlStyleFamily  nFamily) const
overridevirtual
void rptxml::OReportStylesContext::operator= ( const OReportStylesContext )
privatedelete

Member Data Documentation

bool rptxml::OReportStylesContext::bAutoStyles
private

Definition at line 67 of file xmlStyleImport.hxx.

Referenced by endFastElement().

sal_Int32 rptxml::OReportStylesContext::m_nNumberFormatIndex
private

Definition at line 66 of file xmlStyleImport.hxx.

Referenced by GetIndex().

ORptFilter& rptxml::OReportStylesContext::m_rImport
private

Definition at line 65 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper(), and GetOwnImport().

rtl::Reference< SvXMLImportPropertyMapper > rptxml::OReportStylesContext::m_xCellImpPropMapper
mutableprivate

Definition at line 70 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

css::uno::Reference< css::container::XNameContainer > rptxml::OReportStylesContext::m_xCellStyles
mutableprivate

Definition at line 75 of file xmlStyleImport.hxx.

Referenced by GetStylesContainer().

rtl::Reference< SvXMLImportPropertyMapper > rptxml::OReportStylesContext::m_xColumnImpPropMapper
mutableprivate

Definition at line 71 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

css::uno::Reference< css::container::XNameContainer > rptxml::OReportStylesContext::m_xColumnStyles
mutableprivate

Definition at line 76 of file xmlStyleImport.hxx.

Referenced by GetStylesContainer().

rtl::Reference< SvXMLImportPropertyMapper > rptxml::OReportStylesContext::m_xRowImpPropMapper
mutableprivate

Definition at line 72 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

css::uno::Reference< css::container::XNameContainer > rptxml::OReportStylesContext::m_xRowStyles
mutableprivate

Definition at line 77 of file xmlStyleImport.hxx.

Referenced by GetStylesContainer().

rtl::Reference< SvXMLImportPropertyMapper > rptxml::OReportStylesContext::m_xTableImpPropMapper
mutableprivate

Definition at line 73 of file xmlStyleImport.hxx.

Referenced by GetImportPropertyMapper().

css::uno::Reference< css::container::XNameContainer > rptxml::OReportStylesContext::m_xTableStyles
mutableprivate

Definition at line 78 of file xmlStyleImport.hxx.

Referenced by GetStylesContainer().


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