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 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
 
- Public Member Functions inherited from SvXMLStyleContext
 SvXMLStyleContext (SvXMLImport &rImport, XmlStyleFamily nFamily=XmlStyleFamily::DATA_STYLE, bool bDefaultStyle=false)
 
virtual ~SvXMLStyleContext () override
 
const OUString & GetName () const
 
const OUString & GetDisplayName () const
 
const OUString & GetAutoName () const
 
const OUString & GetParentName () const
 
const OUString & GetFollow () 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)
 
bool IsDefaultStyle () const
 
virtual bool IsTransient () 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 endFastElement (sal_Int32 Element) 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
 

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_uInt16 nPrefixKey, const OUString &rLocalName, const OUString &rValue)
 
void SetFamily (XmlStyleFamily nSet)
 
void SetAutoName (const OUString &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 ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
bool  bOverwrite 
)

Definition at line 930 of file xmlstyli.cxx.

ScMasterPageContext::~ScMasterPageContext ( )
overridevirtual

Definition at line 940 of file xmlstyli.cxx.

Member Function Documentation

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

Definition at line 967 of file xmlstyli.cxx.

References XMLTextMasterPageContext::GetStyle(), and xPropSet.

Referenced by Finish().

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
void ScMasterPageContext::Finish ( bool  bOverwrite)
overridevirtual

Member Data Documentation

bool ScMasterPageContext::bContainsRightFooter
private

Definition at line 189 of file xmlstyli.hxx.

Referenced by CreateHeaderFooterContext(), and Finish().

bool ScMasterPageContext::bContainsRightHeader
private

Definition at line 188 of file xmlstyli.hxx.

Referenced by CreateHeaderFooterContext(), and Finish().

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: