LibreOffice Module xmloff (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
XMLIndexSimpleEntryContext Class Reference

Import index entry templates. More...

#include <XMLIndexSimpleEntryContext.hxx>

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

Public Member Functions

 XMLIndexSimpleEntryContext (SvXMLImport &rImport, OUString aEntry, XMLIndexTemplateContext &rTemplate)
 
virtual ~XMLIndexSimpleEntryContext () 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 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
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
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
 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
 

Protected Member Functions

virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 process parameters More...
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 call FillPropertyValues and insert into template More...
 
virtual void FillPropertyValues (css::uno::Sequence< css::beans::PropertyValue > &rValues)
 fill property values for this template entry More...
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Protected Attributes

OUString m_sCharStyleName
 
bool m_bCharStyleNameOK
 
XMLIndexTemplateContextm_rTemplateContext
 
sal_Int32 m_nValues
 

Private Attributes

const OUString m_rEntryType
 

Detailed Description

Import index entry templates.

Definition at line 36 of file XMLIndexSimpleEntryContext.hxx.

Constructor & Destructor Documentation

◆ XMLIndexSimpleEntryContext()

XMLIndexSimpleEntryContext::XMLIndexSimpleEntryContext ( SvXMLImport rImport,
OUString  aEntry,
XMLIndexTemplateContext rTemplate 
)

Definition at line 41 of file XMLIndexSimpleEntryContext.cxx.

◆ ~XMLIndexSimpleEntryContext()

XMLIndexSimpleEntryContext::~XMLIndexSimpleEntryContext ( )
overridevirtual

Definition at line 53 of file XMLIndexSimpleEntryContext.cxx.

Member Function Documentation

◆ endFastElement()

void XMLIndexSimpleEntryContext::endFastElement ( sal_Int32  nElement)
overrideprotectedvirtual

call FillPropertyValues and insert into template

Reimplemented from SvXMLImportContext.

Reimplemented in XMLIndexBibliographyEntryContext.

Definition at line 89 of file XMLIndexSimpleEntryContext.cxx.

References XMLIndexTemplateContext::addTemplateEntry(), FillPropertyValues(), m_nValues, and m_rTemplateContext.

Referenced by XMLIndexBibliographyEntryContext::endFastElement().

◆ FillPropertyValues()

void XMLIndexSimpleEntryContext::FillPropertyValues ( css::uno::Sequence< css::beans::PropertyValue > &  rValues)
protectedvirtual

◆ startFastElement()

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

Member Data Documentation

◆ m_bCharStyleNameOK

bool XMLIndexSimpleEntryContext::m_bCharStyleNameOK
protected

◆ m_nValues

sal_Int32 XMLIndexSimpleEntryContext::m_nValues
protected

◆ m_rEntryType

const OUString XMLIndexSimpleEntryContext::m_rEntryType
private

Definition at line 40 of file XMLIndexSimpleEntryContext.hxx.

Referenced by FillPropertyValues().

◆ m_rTemplateContext

XMLIndexTemplateContext& XMLIndexSimpleEntryContext::m_rTemplateContext
protected

Definition at line 48 of file XMLIndexSimpleEntryContext.hxx.

Referenced by endFastElement().

◆ m_sCharStyleName

OUString XMLIndexSimpleEntryContext::m_sCharStyleName
protected

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