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 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 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 66 of file xmlannoi.hxx.

Constructor & Destructor Documentation

ScXMLAnnotationContext::ScXMLAnnotationContext ( ScXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
ScXMLAnnotationData rAnnotationData 
)
ScXMLAnnotationContext::~ScXMLAnnotationContext ( )
overridevirtual

Definition at line 101 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 136 of file xmlannoi.cxx.

References maTextBuffer.

css::uno::Reference< css::xml::sax::XFastContextHandler > ScXMLAnnotationContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  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 105 of file xmlannoi.cxx.

References pShapeContext.

Member Data Documentation

OUStringBuffer ScXMLAnnotationContext::maAuthorBuffer
private

Definition at line 97 of file xmlannoi.hxx.

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

OUStringBuffer ScXMLAnnotationContext::maCreateDateBuffer
private

Definition at line 98 of file xmlannoi.hxx.

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

OUStringBuffer ScXMLAnnotationContext::maCreateDateStringBuffer
private

Definition at line 99 of file xmlannoi.hxx.

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

OUStringBuffer ScXMLAnnotationContext::maTextBuffer
private

Definition at line 96 of file xmlannoi.hxx.

Referenced by characters(), and endFastElement().

ScXMLAnnotationData& ScXMLAnnotationContext::mrAnnotationData
private

Definition at line 95 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: