LibreOffice Module reportdesign (master) 1
|
#include <xmlControlProperty.hxx>
Public Member Functions | |
OXMLControlProperty (ORptFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const css::uno::Reference< css::beans::XPropertySet > &_xControl, OXMLControlProperty *_pContainer=nullptr) | |
virtual | ~OXMLControlProperty () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
virtual void SAL_CALL | characters (const OUString &rChars) override |
void | addValue (const OUString &_sValue) |
adds value to property More... | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
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 () 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 | |
ORptFilter & | GetOwnImport () |
OXMLControlProperty (const OXMLControlProperty &)=delete | |
void | operator= (const OXMLControlProperty &)=delete |
Static Private Member Functions | |
static css::uno::Any | convertString (const css::uno::Type &_rExpectedType, const OUString &_rReadCharacters) |
static css::util::Time | implGetTime (double _nValue) |
static css::util::Date | implGetDate (double _nValue) |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xControl |
css::beans::PropertyValue | m_aSetting |
css::uno::Sequence< css::uno::Any > | m_aSequence |
OXMLControlProperty * | m_pContainer |
css::uno::Type | m_aPropType |
bool | m_bIsList |
OUStringBuffer | m_aCharBuffer |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 33 of file xmlControlProperty.hxx.
|
privatedelete |
Referenced by createFastChildContext().
rptxml::OXMLControlProperty::OXMLControlProperty | ( | ORptFilter & | rImport, |
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
const css::uno::Reference< css::beans::XPropertySet > & | _xControl, | ||
OXMLControlProperty * | _pContainer = nullptr |
||
) |
|
overridevirtual |
Definition at line 106 of file xmlControlProperty.cxx.
void rptxml::OXMLControlProperty::addValue | ( | const OUString & | _sValue | ) |
adds value to property
_sValue | The value to add. |
Definition at line 158 of file xmlControlProperty.cxx.
References convertString(), m_aPropType, m_aSequence, m_aSetting, m_bIsList, and nPos.
Referenced by endFastElement().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 153 of file xmlControlProperty.cxx.
References m_aCharBuffer.
|
staticprivate |
Definition at line 179 of file xmlControlProperty.cxx.
References sax::Converter::convertBool(), sax::Converter::convertDouble(), sax::Converter::convertNumber(), cppu::UnoType< typename T >::get(), implGetDate(), implGetTime(), nType, nValue, OUStringToOString(), o3tl::temporary(), TYPE_DATE, TYPE_DATETIME, and TYPE_TIME.
Referenced by addValue().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 110 of file xmlControlProperty.cxx.
References FORM, GetOwnImport(), m_xControl, OXMLControlProperty(), PROGRESS_BAR_STEP, XML_ELEMENT, XML_LIST_PROPERTY, and XML_VALUE.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 134 of file xmlControlProperty.cxx.
References addValue(), Exception, m_aCharBuffer, m_aSequence, m_aSetting, m_bIsList, m_pContainer, and m_xControl.
|
private |
Definition at line 174 of file xmlControlProperty.cxx.
References SvXMLImportContext::GetImport().
Referenced by createFastChildContext().
|
staticprivate |
Definition at line 321 of file xmlControlProperty.cxx.
References _nValue.
Referenced by convertString().
|
staticprivate |
Definition at line 304 of file xmlControlProperty.cxx.
References _nValue.
Referenced by convertString().
|
privatedelete |
|
private |
Definition at line 41 of file xmlControlProperty.hxx.
Referenced by characters(), and endFastElement().
|
private |
Definition at line 39 of file xmlControlProperty.hxx.
Referenced by addValue().
|
private |
Definition at line 37 of file xmlControlProperty.hxx.
Referenced by addValue(), and endFastElement().
|
private |
Definition at line 36 of file xmlControlProperty.hxx.
Referenced by addValue(), and endFastElement().
|
private |
Definition at line 40 of file xmlControlProperty.hxx.
Referenced by addValue(), and endFastElement().
|
private |
Definition at line 38 of file xmlControlProperty.hxx.
Referenced by endFastElement().
|
private |
Definition at line 35 of file xmlControlProperty.hxx.
Referenced by createFastChildContext(), and endFastElement().