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_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, ScXMLAnnotationData &rAnnotationData)
 
virtual ~ScXMLAnnotationContext () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &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 (SvXMLImport &rImport)
 
- 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 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::ScXMLAnnotationContext ( ScXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
ScXMLAnnotationData rAnnotationData 
)

◆ ~ScXMLAnnotationContext()

ScXMLAnnotationContext::~ScXMLAnnotationContext ( )
overridevirtual

Definition at line 99 of file xmlannoi.cxx.

Member Function Documentation

◆ AddContentStyle()

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

◆ characters()

void ScXMLAnnotationContext::characters ( const OUString &  rChars)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 134 of file xmlannoi.cxx.

References maTextBuffer.

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > ScXMLAnnotationContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

◆ endFastElement()

void ScXMLAnnotationContext::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ SetShape()

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 
)

◆ startFastElement()

void ScXMLAnnotationContext::startFastElement ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 103 of file xmlannoi.cxx.

References pShapeContext.

Member Data Documentation

◆ maAuthorBuffer

OUStringBuffer ScXMLAnnotationContext::maAuthorBuffer
private

Definition at line 98 of file xmlannoi.hxx.

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

◆ maCreateDateBuffer

OUStringBuffer ScXMLAnnotationContext::maCreateDateBuffer
private

Definition at line 99 of file xmlannoi.hxx.

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

◆ maCreateDateStringBuffer

OUStringBuffer ScXMLAnnotationContext::maCreateDateStringBuffer
private

Definition at line 100 of file xmlannoi.hxx.

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

◆ maTextBuffer

OUStringBuffer ScXMLAnnotationContext::maTextBuffer
private

Definition at line 97 of file xmlannoi.hxx.

Referenced by characters(), and endFastElement().

◆ mrAnnotationData

ScXMLAnnotationData& ScXMLAnnotationContext::mrAnnotationData
private

Definition at line 96 of file xmlannoi.hxx.

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

◆ pShapeContext

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

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