LibreOffice Module reportdesign (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
rptxml::OXMLControlProperty Class Reference

#include <xmlControlProperty.hxx>

Inheritance diagram for rptxml::OXMLControlProperty:
[legend]
Collaboration diagram for rptxml::OXMLControlProperty:
[legend]

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

ORptFilterGetOwnImport ()
 
 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::XPropertySetm_xControl
 
css::beans::PropertyValue m_aSetting
 
css::uno::Sequence< css::uno::Any > m_aSequence
 
OXMLControlPropertym_pContainer
 
css::uno::Type m_aPropType
 
bool m_bIsList
 
OUStringBuffer m_aCharBuffer
 

Additional Inherited Members

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

Detailed Description

Definition at line 33 of file xmlControlProperty.hxx.

Constructor & Destructor Documentation

◆ OXMLControlProperty() [1/2]

rptxml::OXMLControlProperty::OXMLControlProperty ( const OXMLControlProperty )
privatedelete

Referenced by createFastChildContext().

◆ OXMLControlProperty() [2/2]

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 
)

◆ ~OXMLControlProperty()

rptxml::OXMLControlProperty::~OXMLControlProperty ( )
overridevirtual

Definition at line 106 of file xmlControlProperty.cxx.

Member Function Documentation

◆ addValue()

void rptxml::OXMLControlProperty::addValue ( const OUString &  _sValue)

adds value to property

Parameters
_sValueThe 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().

◆ characters()

void rptxml::OXMLControlProperty::characters ( const OUString &  rChars)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 153 of file xmlControlProperty.cxx.

References m_aCharBuffer.

◆ convertString()

Any rptxml::OXMLControlProperty::convertString ( const css::uno::Type &  _rExpectedType,
const OUString &  _rReadCharacters 
)
staticprivate

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > rptxml::OXMLControlProperty::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

◆ endFastElement()

void rptxml::OXMLControlProperty::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ GetOwnImport()

ORptFilter & rptxml::OXMLControlProperty::GetOwnImport ( )
private

Definition at line 174 of file xmlControlProperty.cxx.

References SvXMLImportContext::GetImport().

Referenced by createFastChildContext().

◆ implGetDate()

css::util::Date rptxml::OXMLControlProperty::implGetDate ( double  _nValue)
staticprivate

Definition at line 321 of file xmlControlProperty.cxx.

References _nValue.

Referenced by convertString().

◆ implGetTime()

css::util::Time rptxml::OXMLControlProperty::implGetTime ( double  _nValue)
staticprivate

Definition at line 304 of file xmlControlProperty.cxx.

References _nValue.

Referenced by convertString().

◆ operator=()

void rptxml::OXMLControlProperty::operator= ( const OXMLControlProperty )
privatedelete

Member Data Documentation

◆ m_aCharBuffer

OUStringBuffer rptxml::OXMLControlProperty::m_aCharBuffer
private

Definition at line 41 of file xmlControlProperty.hxx.

Referenced by characters(), and endFastElement().

◆ m_aPropType

css::uno::Type rptxml::OXMLControlProperty::m_aPropType
private

Definition at line 39 of file xmlControlProperty.hxx.

Referenced by addValue().

◆ m_aSequence

css::uno::Sequence< css::uno::Any> rptxml::OXMLControlProperty::m_aSequence
private

Definition at line 37 of file xmlControlProperty.hxx.

Referenced by addValue(), and endFastElement().

◆ m_aSetting

css::beans::PropertyValue rptxml::OXMLControlProperty::m_aSetting
private

Definition at line 36 of file xmlControlProperty.hxx.

Referenced by addValue(), and endFastElement().

◆ m_bIsList

bool rptxml::OXMLControlProperty::m_bIsList
private

Definition at line 40 of file xmlControlProperty.hxx.

Referenced by addValue(), and endFastElement().

◆ m_pContainer

OXMLControlProperty* rptxml::OXMLControlProperty::m_pContainer
private

Definition at line 38 of file xmlControlProperty.hxx.

Referenced by endFastElement().

◆ m_xControl

css::uno::Reference< css::beans::XPropertySet > rptxml::OXMLControlProperty::m_xControl
private

Definition at line 35 of file xmlControlProperty.hxx.

Referenced by createFastChildContext(), and endFastElement().


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