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

This context handles <text:span> element inside <text:p>. More...

#include <celltextparacontext.hxx>

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

Public Member Functions

 ScXMLCellTextSpanContext (ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
virtual void SAL_CALL characters (const OUString &aChars) 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
 
- 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 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 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 () 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

ScXMLCellTextParaContextmrParentCxt
 
OUString maStyleName
 
OUString maContent
 

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

This context handles <text:span> element inside <text:p>.

Definition at line 43 of file celltextparacontext.hxx.

Constructor & Destructor Documentation

ScXMLCellTextSpanContext::ScXMLCellTextSpanContext ( ScXMLImport rImport,
ScXMLCellTextParaContext rParent 
)

Definition at line 96 of file celltextparacontext.cxx.

Member Function Documentation

void SAL_CALL ScXMLCellTextSpanContext::characters ( const OUString &  aChars)
overridevirtual

Reimplemented from ScXMLImportContext.

Definition at line 127 of file celltextparacontext.cxx.

References maContent.

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

Reimplemented from ScXMLImportContext.

Definition at line 119 of file celltextparacontext.cxx.

References maContent, maStyleName, mrParentCxt, and ScXMLCellTextParaContext::PushSpan().

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

Member Data Documentation

OUString ScXMLCellTextSpanContext::maContent
private

Definition at line 47 of file celltextparacontext.hxx.

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

OUString ScXMLCellTextSpanContext::maStyleName
private
ScXMLCellTextParaContext& ScXMLCellTextSpanContext::mrParentCxt
private

Definition at line 45 of file celltextparacontext.hxx.

Referenced by createFastChildContext(), and endFastElement().


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