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

Imports <loext:content-control>. More...

#include <xmlcontentcontrolcontext.hxx>

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

Public Member Functions

 XMLContentControlContext (SvXMLImport &rImport, sal_Int32 nElement, XMLHints_Impl &rHints, bool &rIgnoreLeadingSpace)
 
void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
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...
 
css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &rAttrList) override
 
void SAL_CALL characters (const OUString &rChars) override
 This method is called for all characters that are contained in the current element. More...
 
void AppendListItem (const css::beans::PropertyValues &rListItem)
 
- 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
 

Private Attributes

XMLHints_Implm_rHints
 
bool & m_rIgnoreLeadingSpace
 
css::uno::Reference< css::text::XTextRange > m_xStart
 
bool m_bShowingPlaceHolder = false
 
bool m_bCheckbox = false
 
bool m_bChecked = false
 
OUString m_aCheckedState
 
OUString m_aUncheckedState
 
std::vector< css::beans::PropertyValuesm_aListItems
 
bool m_bPicture = false
 
bool m_bDate = false
 
OUString m_aDateFormat
 
OUString m_aDateLanguage
 
OUString m_aCurrentDate
 
bool m_bPlainText = false
 
bool m_bComboBox = false
 
bool m_bDropDown = false
 
OUString m_aAlias
 
OUString m_aTag
 
sal_Int32 m_nId = 0
 
sal_uInt32 m_nTabIndex = 0
 
OUString m_aLock
 

Additional Inherited Members

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

Detailed Description

Imports <loext:content-control>.

Definition at line 31 of file xmlcontentcontrolcontext.hxx.

Constructor & Destructor Documentation

◆ XMLContentControlContext()

XMLContentControlContext::XMLContentControlContext ( SvXMLImport rImport,
sal_Int32  nElement,
XMLHints_Impl rHints,
bool &  rIgnoreLeadingSpace 
)

Definition at line 37 of file xmlcontentcontrolcontext.cxx.

Member Function Documentation

◆ AppendListItem()

void XMLContentControlContext::AppendListItem ( const css::beans::PropertyValues rListItem)

Definition at line 325 of file xmlcontentcontrolcontext.cxx.

References m_aListItems.

Referenced by XMLListItemContext::startFastElement().

◆ characters()

void XMLContentControlContext::characters ( const OUString &  aChars)
overridevirtual

This method is called for all characters that are contained in the current element.

The default is to ignore them.

Reimplemented from SvXMLImportContext.

Definition at line 320 of file xmlcontentcontrolcontext.cxx.

References SvXMLImportContext::GetImport(), and m_rIgnoreLeadingSpace.

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > XMLContentControlContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  rAttrList 
)
overridevirtual

◆ endFastElement()

void XMLContentControlContext::endFastElement ( sal_Int32  Element)
overridevirtual

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 182 of file xmlcontentcontrolcontext.cxx.

References comphelper::containerToSequence(), XMLTextMarkImportContext::CreateAndInsertMark(), SvXMLImportContext::GetImport(), m_aAlias, m_aCheckedState, m_aCurrentDate, m_aDateFormat, m_aDateLanguage, m_aListItems, m_aLock, m_aTag, m_aUncheckedState, m_bCheckbox, m_bChecked, m_bComboBox, m_bDate, m_bDropDown, m_bPicture, m_bPlainText, m_bShowingPlaceHolder, m_nId, m_nTabIndex, m_xStart, and SAL_WARN.

◆ startFastElement()

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

Member Data Documentation

◆ m_aAlias

OUString XMLContentControlContext::m_aAlias
private

Definition at line 54 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aCheckedState

OUString XMLContentControlContext::m_aCheckedState
private

Definition at line 43 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aCurrentDate

OUString XMLContentControlContext::m_aCurrentDate
private

Definition at line 50 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aDateFormat

OUString XMLContentControlContext::m_aDateFormat
private

Definition at line 48 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aDateLanguage

OUString XMLContentControlContext::m_aDateLanguage
private

Definition at line 49 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aListItems

std::vector<css::beans::PropertyValues> XMLContentControlContext::m_aListItems
private

Definition at line 45 of file xmlcontentcontrolcontext.hxx.

Referenced by AppendListItem(), and endFastElement().

◆ m_aLock

OUString XMLContentControlContext::m_aLock
private

Definition at line 58 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aTag

OUString XMLContentControlContext::m_aTag
private

Definition at line 55 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_aUncheckedState

OUString XMLContentControlContext::m_aUncheckedState
private

Definition at line 44 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bCheckbox

bool XMLContentControlContext::m_bCheckbox = false
private

Definition at line 41 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bChecked

bool XMLContentControlContext::m_bChecked = false
private

Definition at line 42 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bComboBox

bool XMLContentControlContext::m_bComboBox = false
private

Definition at line 52 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bDate

bool XMLContentControlContext::m_bDate = false
private

Definition at line 47 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bDropDown

bool XMLContentControlContext::m_bDropDown = false
private

Definition at line 53 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bPicture

bool XMLContentControlContext::m_bPicture = false
private

Definition at line 46 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bPlainText

bool XMLContentControlContext::m_bPlainText = false
private

Definition at line 51 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bShowingPlaceHolder

bool XMLContentControlContext::m_bShowingPlaceHolder = false
private

Definition at line 39 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_nId

sal_Int32 XMLContentControlContext::m_nId = 0
private

Definition at line 56 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_nTabIndex

sal_uInt32 XMLContentControlContext::m_nTabIndex = 0
private

Definition at line 57 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_rHints

XMLHints_Impl& XMLContentControlContext::m_rHints
private

Definition at line 33 of file xmlcontentcontrolcontext.hxx.

Referenced by createFastChildContext().

◆ m_rIgnoreLeadingSpace

bool& XMLContentControlContext::m_rIgnoreLeadingSpace
private

Definition at line 35 of file xmlcontentcontrolcontext.hxx.

Referenced by characters(), and createFastChildContext().

◆ m_xStart

css::uno::Reference<css::text::XTextRange> XMLContentControlContext::m_xStart
private

Definition at line 37 of file xmlcontentcontrolcontext.hxx.

Referenced by endFastElement().


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