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 startFastElement (sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) 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
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
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 endUnknownElement (const OUString &Namespace, const OUString &Name) 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 css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override
 
virtual void SAL_CALL release () 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

rptxml::OXMLControlProperty::OXMLControlProperty ( const OXMLControlProperty )
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 
)
rptxml::OXMLControlProperty::~OXMLControlProperty ( )
overridevirtual

Definition at line 109 of file xmlControlProperty.cxx.

Member Function Documentation

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

adds value to property

Parameters
_sValueThe value to add.

Definition at line 161 of file xmlControlProperty.cxx.

References convertString(), and nPos.

Referenced by endFastElement().

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

Reimplemented from SvXMLImportContext.

Definition at line 156 of file xmlControlProperty.cxx.

Any rptxml::OXMLControlProperty::convertString ( const css::uno::Type &  _rExpectedType,
const OUString &  _rReadCharacters 
)
staticprivate
css::uno::Reference< css::xml::sax::XFastContextHandler > rptxml::OXMLControlProperty::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual
void rptxml::OXMLControlProperty::endFastElement ( sal_Int32  nElement)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 137 of file xmlControlProperty.cxx.

References addValue(), m_aCharBuffer, m_aSequence, m_aSetting, m_bIsList, m_pContainer, and m_xControl.

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

Definition at line 177 of file xmlControlProperty.cxx.

Referenced by createFastChildContext().

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

Definition at line 324 of file xmlControlProperty.cxx.

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

Definition at line 307 of file xmlControlProperty.cxx.

void rptxml::OXMLControlProperty::operator= ( const OXMLControlProperty )
privatedelete
virtual void SAL_CALL rptxml::OXMLControlProperty::startFastElement ( sal_Int32  ,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &   
)
inlineoverridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 58 of file xmlControlProperty.hxx.

Member Data Documentation

OUStringBuffer rptxml::OXMLControlProperty::m_aCharBuffer
private

Definition at line 41 of file xmlControlProperty.hxx.

Referenced by endFastElement().

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

Definition at line 39 of file xmlControlProperty.hxx.

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

Definition at line 37 of file xmlControlProperty.hxx.

Referenced by endFastElement().

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

Definition at line 36 of file xmlControlProperty.hxx.

Referenced by endFastElement().

bool rptxml::OXMLControlProperty::m_bIsList
private

Definition at line 40 of file xmlControlProperty.hxx.

Referenced by endFastElement().

OXMLControlProperty* rptxml::OXMLControlProperty::m_pContainer
private

Definition at line 38 of file xmlControlProperty.hxx.

Referenced by endFastElement().

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: