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, const OUString &rEntry, XMLIndexTemplateContext &rTemplate, sal_uInt16 nPrfx, const OUString &rLocalName)
 
virtual ~XMLIndexSimpleEntryContext () override
 
- 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)
 A contexts constructor does anything that is required if an element starts. More...
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 Create a children element context. More...
 
virtual void Characters (const OUString &rChars)
 This method is called for all characters that are contained in the current element. 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
 
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 () final override throw ()
 
virtual void SAL_CALL release () final override throw ()
 
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 StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 process parameters More...
 
virtual void EndElement () 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 37 of file XMLIndexSimpleEntryContext.hxx.

Constructor & Destructor Documentation

XMLIndexSimpleEntryContext::XMLIndexSimpleEntryContext ( SvXMLImport rImport,
const OUString &  rEntry,
XMLIndexTemplateContext rTemplate,
sal_uInt16  nPrfx,
const OUString &  rLocalName 
)

Definition at line 41 of file XMLIndexSimpleEntryContext.cxx.

XMLIndexSimpleEntryContext::~XMLIndexSimpleEntryContext ( )
overridevirtual

Definition at line 55 of file XMLIndexSimpleEntryContext.cxx.

Member Function Documentation

void XMLIndexSimpleEntryContext::EndElement ( )
overrideprotectedvirtual

call FillPropertyValues and insert into template

Reimplemented from SvXMLImportContext.

Reimplemented in XMLIndexBibliographyEntryContext.

Definition at line 94 of file XMLIndexSimpleEntryContext.cxx.

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

Referenced by XMLIndexBibliographyEntryContext::EndElement().

void XMLIndexSimpleEntryContext::FillPropertyValues ( css::uno::Sequence< css::beans::PropertyValue > &  rValues)
protectedvirtual
void XMLIndexSimpleEntryContext::StartElement ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)
overrideprotectedvirtual

Member Data Documentation

bool XMLIndexSimpleEntryContext::m_bCharStyleNameOK
protected
sal_Int32 XMLIndexSimpleEntryContext::m_nValues
protected
const OUString XMLIndexSimpleEntryContext::m_rEntryType
private

Definition at line 41 of file XMLIndexSimpleEntryContext.hxx.

Referenced by FillPropertyValues().

XMLIndexTemplateContext& XMLIndexSimpleEntryContext::m_rTemplateContext
protected

Definition at line 49 of file XMLIndexSimpleEntryContext.hxx.

Referenced by EndElement().

OUString XMLIndexSimpleEntryContext::m_sCharStyleName
protected

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