LibreOffice Module xmloff (master) 1
|
Imports <loext:content-control>. More...
#include <xmlcontentcontrolcontext.hxx>
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_Impl & | m_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::PropertyValues > | m_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 | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Imports <loext:content-control>.
Definition at line 31 of file xmlcontentcontrolcontext.hxx.
XMLContentControlContext::XMLContentControlContext | ( | SvXMLImport & | rImport, |
sal_Int32 | nElement, | ||
XMLHints_Impl & | rHints, | ||
bool & | rIgnoreLeadingSpace | ||
) |
Definition at line 37 of file xmlcontentcontrolcontext.cxx.
void XMLContentControlContext::AppendListItem | ( | const css::beans::PropertyValues & | rListItem | ) |
Definition at line 325 of file xmlcontentcontrolcontext.cxx.
References m_aListItems.
Referenced by XMLListItemContext::startFastElement().
|
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.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 304 of file xmlcontentcontrolcontext.cxx.
References XMLImpSpanContext_Impl::CreateSpanContext(), SvXMLImportContext::GetImport(), m_rHints, m_rIgnoreLeadingSpace, XML_ELEMENT, and xmloff::token::XML_LIST_ITEM.
|
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.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 46 of file xmlcontentcontrolcontext.cxx.
References sax_fastparser::castToFastAttributeList(), sax::Converter::convertBool(), sax::Converter::convertNumber(), m_aAlias, m_aCheckedState, m_aCurrentDate, m_aDateFormat, m_aDateLanguage, 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, xmloff::token::XML_ALIAS, xmloff::token::XML_CHECKBOX, xmloff::token::XML_CHECKED, xmloff::token::XML_CHECKED_STATE, xmloff::token::XML_COMBOBOX, xmloff::token::XML_CURRENT_DATE, xmloff::token::XML_DATE, xmloff::token::XML_DATE_FORMAT, xmloff::token::XML_DATE_RFC_LANGUAGE_TAG, xmloff::token::XML_DROPDOWN, XML_ELEMENT, xmloff::token::XML_ID, xmloff::token::XML_LOCK, xmloff::token::XML_PICTURE, xmloff::token::XML_PLAIN_TEXT, xmloff::token::XML_SHOWING_PLACE_HOLDER, xmloff::token::XML_TAB_INDEX, xmloff::token::XML_TAG, xmloff::token::XML_UNCHECKED_STATE, and XMLOFF_WARN_UNKNOWN.
|
private |
Definition at line 54 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 43 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 50 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 48 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 49 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 45 of file xmlcontentcontrolcontext.hxx.
Referenced by AppendListItem(), and endFastElement().
|
private |
Definition at line 58 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 55 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 44 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 41 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 42 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 52 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 47 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 53 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 46 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 51 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 39 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 56 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 57 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 33 of file xmlcontentcontrolcontext.hxx.
Referenced by createFastChildContext().
|
private |
Definition at line 35 of file xmlcontentcontrolcontext.hxx.
Referenced by characters(), and createFastChildContext().
|
private |
Definition at line 37 of file xmlcontentcontrolcontext.hxx.
Referenced by endFastElement().