LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScMasterPageContext Class Reference

#include <xmlstyli.hxx>

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

Public Member Functions

 ScMasterPageContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, bool bOverwrite)
 
virtual ~ScMasterPageContext () override
 
virtual SvXMLImportContextCreateHeaderFooterContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const bool bFooter, const bool bLeft, const bool bFirst) override
 
virtual void Finish (bool bOverwrite) override
 
- Public Member Functions inherited from XMLTextMasterPageContext
 XMLTextMasterPageContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, bool bOverwrite)
 
virtual ~XMLTextMasterPageContext () 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 SvXMLImportContextCreateHeaderFooterContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const bool bFooter, const bool bLeft, const bool bFirst)
 
virtual void Finish (bool bOverwrite) override
 
- Public Member Functions inherited from SvXMLStyleContext
 SvXMLStyleContext (SvXMLImport &rImport, XmlStyleFamily nFamily=XmlStyleFamily::DATA_STYLE, bool bDefaultStyle=false)
 
virtual ~SvXMLStyleContext () override
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) override
 
const OUString & GetName () const
 
const OUString & GetDisplayName () const
 
const css::uno::Any & GetAutoName () const
 
const OUString & GetParentName () const
 
const OUString & GetFollow () const
 
const OUString & GetLinked () const
 
XmlStyleFamily GetFamily () const
 
bool IsValid () const
 
void SetValid (bool b)
 
bool IsNew () const
 
void SetNew (bool b)
 
bool IsHidden () const
 
virtual void SetDefaults ()
 
virtual void CreateAndInsert (bool bOverwrite)
 
virtual void CreateAndInsertLate (bool bOverwrite)
 
virtual void Finish (bool bOverwrite)
 
bool IsDefaultStyle () const
 
virtual bool IsTransient () 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
 

Private Member Functions

void ClearContent (const OUString &rContent)
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetxPropSet
 
bool bContainsRightHeader
 
bool bContainsRightFooter
 

Additional Inherited Members

- Protected Member Functions inherited from XMLTextMasterPageContext
const css::uno::Reference< css::style::XStyle > & GetStyle () const
 
- Protected Member Functions inherited from SvXMLStyleContext
virtual void SetAttribute (sal_Int32 nElement, const OUString &rValue)
 
void SetFamily (XmlStyleFamily nSet)
 
void SetAutoName (const css::uno::Any &rName)
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 185 of file xmlstyli.hxx.

Constructor & Destructor Documentation

◆ ScMasterPageContext()

ScMasterPageContext::ScMasterPageContext ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
bool  bOverwrite 
)

Definition at line 949 of file xmlstyli.cxx.

◆ ~ScMasterPageContext()

ScMasterPageContext::~ScMasterPageContext ( )
overridevirtual

Definition at line 959 of file xmlstyli.cxx.

Member Function Documentation

◆ ClearContent()

void ScMasterPageContext::ClearContent ( const OUString &  rContent)
private

Definition at line 986 of file xmlstyli.cxx.

References XMLTextMasterPageContext::GetStyle(), and xPropSet.

Referenced by Finish().

◆ CreateHeaderFooterContext()

SvXMLImportContext * ScMasterPageContext::CreateHeaderFooterContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const bool  bFooter,
const bool  bLeft,
const bool  bFirst 
)
overridevirtual

◆ Finish()

void ScMasterPageContext::Finish ( bool  bOverwrite)
overridevirtual

Member Data Documentation

◆ bContainsRightFooter

bool ScMasterPageContext::bContainsRightFooter
private

Definition at line 189 of file xmlstyli.hxx.

Referenced by CreateHeaderFooterContext(), and Finish().

◆ bContainsRightHeader

bool ScMasterPageContext::bContainsRightHeader
private

Definition at line 188 of file xmlstyli.hxx.

Referenced by CreateHeaderFooterContext(), and Finish().

◆ xPropSet

css::uno::Reference<css::beans::XPropertySet> ScMasterPageContext::xPropSet
private

Definition at line 187 of file xmlstyli.hxx.

Referenced by ClearContent(), and CreateHeaderFooterContext().


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