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

#include <xmlannoi.hxx>

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

Public Member Functions

 ScXMLAnnotationContext (ScXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList, ScXMLAnnotationData &rAnnotationData)
 
virtual ~ScXMLAnnotationContext () override
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL characters (const OUString &rChars) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
void SetShape (const css::uno::Reference< css::drawing::XShape > &rxShape, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const OUString &rStyleName, const OUString &rTextStyle)
 
void AddContentStyle (XmlStyleFamily nFamily, const OUString &rName, const ESelection &rSelection)
 
- Public Member Functions inherited from ScXMLImportContext
 ScXMLImportContext (ScXMLImport &rImport, sal_uInt16 nPrefix, const OUString &rLocalName)
 
 ScXMLImportContext (SvXMLImport &rImport)
 
- 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 void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
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< 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 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 Attributes

ScXMLAnnotationDatamrAnnotationData
 
OUStringBuffer maTextBuffer
 
OUStringBuffer maAuthorBuffer
 
OUStringBuffer maCreateDateBuffer
 
OUStringBuffer maCreateDateStringBuffer
 
std::unique_ptr< SvXMLImportContextpShapeContext
 

Additional Inherited Members

- Protected Member Functions inherited from ScXMLImportContext
ScXMLImportGetScImport ()
 
const ScXMLImportGetScImport () const
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 67 of file xmlannoi.hxx.

Constructor & Destructor Documentation

ScXMLAnnotationContext::ScXMLAnnotationContext ( ScXMLImport rImport,
sal_uInt16  nPrfx,
const OUString &  rLName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList,
ScXMLAnnotationData rAnnotationData 
)
ScXMLAnnotationContext::~ScXMLAnnotationContext ( )
overridevirtual

Definition at line 106 of file xmlannoi.cxx.

Member Function Documentation

void ScXMLAnnotationContext::AddContentStyle ( XmlStyleFamily  nFamily,
const OUString &  rName,
const ESelection rSelection 
)
void ScXMLAnnotationContext::characters ( const OUString &  rChars)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 144 of file xmlannoi.cxx.

References maTextBuffer.

SvXMLImportContextRef ScXMLAnnotationContext::CreateChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overridevirtual
void ScXMLAnnotationContext::endFastElement ( sal_Int32  nElement)
overridevirtual
void ScXMLAnnotationContext::SetShape ( const css::uno::Reference< css::drawing::XShape > &  rxShape,
const css::uno::Reference< css::drawing::XShapes > &  rxShapes,
const OUString &  rStyleName,
const OUString &  rTextStyle 
)
void ScXMLAnnotationContext::startFastElement ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 110 of file xmlannoi.cxx.

References pShapeContext.

Member Data Documentation

OUStringBuffer ScXMLAnnotationContext::maAuthorBuffer
private

Definition at line 98 of file xmlannoi.hxx.

Referenced by CreateChildContext(), endFastElement(), and ScXMLAnnotationContext().

OUStringBuffer ScXMLAnnotationContext::maCreateDateBuffer
private

Definition at line 99 of file xmlannoi.hxx.

Referenced by CreateChildContext(), endFastElement(), and ScXMLAnnotationContext().

OUStringBuffer ScXMLAnnotationContext::maCreateDateStringBuffer
private

Definition at line 100 of file xmlannoi.hxx.

Referenced by CreateChildContext(), endFastElement(), and ScXMLAnnotationContext().

OUStringBuffer ScXMLAnnotationContext::maTextBuffer
private

Definition at line 97 of file xmlannoi.hxx.

Referenced by characters(), and endFastElement().

ScXMLAnnotationData& ScXMLAnnotationContext::mrAnnotationData
private

Definition at line 96 of file xmlannoi.hxx.

Referenced by AddContentStyle(), endFastElement(), ScXMLAnnotationContext(), and SetShape().

std::unique_ptr<SvXMLImportContext> ScXMLAnnotationContext::pShapeContext
private

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