LibreOffice Module xmloff (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XMLSectionImportContext Class Referencefinal

Import text sections. More...

#include <XMLSectionImportContext.hxx>

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

Public Member Functions

 XMLSectionImportContext (SvXMLImport &rImport)
 
virtual ~XMLSectionImportContext () override
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 A contexts constructor does anything that is required if an element starts. More...
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
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 void SAL_CALL characters (const OUString &aChars) override
 This method is called for all characters that are contained in the current element. More...
 
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 Member Functions

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
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
 
void ProcessAttributes (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetxSectionPropertySet
 TextSection (as XPropertySet) for passing down to data source elements. More...
 
OUString sXmlId
 
OUString sStyleName
 
OUString sName
 
OUString sCond
 
css::uno::Sequence< sal_Int8aSequence
 
bool bProtect
 
bool bCondOK
 
bool bIsVisible
 
bool bValid
 
bool bSequenceOK
 
bool bIsCurrentlyVisible
 
bool bIsCurrentlyVisibleOK
 
bool bHasContent
 

Additional Inherited Members

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

Detailed Description

Import text sections.

This context may also be used for index header sections. The differentiates its behaviour based on GetLocalName().

Definition at line 39 of file XMLSectionImportContext.hxx.

Constructor & Destructor Documentation

XMLSectionImportContext::XMLSectionImportContext ( SvXMLImport rImport)

Definition at line 59 of file XMLSectionImportContext.cxx.

XMLSectionImportContext::~XMLSectionImportContext ( )
overridevirtual

Definition at line 72 of file XMLSectionImportContext.cxx.

Member Function Documentation

css::uno::Reference< css::xml::sax::XFastContextHandler > XMLSectionImportContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  AttrList 
)
overrideprivatevirtual
void XMLSectionImportContext::endFastElement ( sal_Int32  Element)
overrideprivatevirtual

endFastElement is called before a context will be destructed, but after an elements context has been parsed.

It may be used for actions that require virtual methods. The default is to do nothing.

Reimplemented from SvXMLImportContext.

Definition at line 273 of file XMLSectionImportContext.cxx.

References bHasContent, SvXMLImportContext::GetImport(), and SvXMLImport::GetTextImport().

void XMLSectionImportContext::ProcessAttributes ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList)
private
void XMLSectionImportContext::startFastElement ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprivatevirtual

Member Data Documentation

css::uno::Sequence<sal_Int8> XMLSectionImportContext::aSequence
private

Definition at line 48 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bCondOK
private

Definition at line 50 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bHasContent
private

Definition at line 57 of file XMLSectionImportContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

bool XMLSectionImportContext::bIsCurrentlyVisible
private

Definition at line 54 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bIsCurrentlyVisibleOK
private

Definition at line 55 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bIsVisible
private

Definition at line 51 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bProtect
private

Definition at line 49 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bSequenceOK
private

Definition at line 53 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

bool XMLSectionImportContext::bValid
private

Definition at line 52 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

OUString XMLSectionImportContext::sCond
private

Definition at line 47 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

OUString XMLSectionImportContext::sName
private

Definition at line 46 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

OUString XMLSectionImportContext::sStyleName
private

Definition at line 45 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

OUString XMLSectionImportContext::sXmlId
private

Definition at line 44 of file XMLSectionImportContext.hxx.

Referenced by ProcessAttributes(), and startFastElement().

css::uno::Reference<css::beans::XPropertySet> XMLSectionImportContext::xSectionPropertySet
private

TextSection (as XPropertySet) for passing down to data source elements.

Definition at line 42 of file XMLSectionImportContext.hxx.

Referenced by createFastChildContext(), and startFastElement().


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