|
LibreOffice Module writerfilter (master) 1
|
Value of an RTF keyword. More...
#include <rtfvalue.hxx>
Public Types | |
| using | Pointer_t = tools::SvRef< RTFValue > |
Public Types inherited from writerfilter::Value | |
| typedef tools::SvRef< Value > | Pointer_t |
| Pointer to a value. More... | |
Public Member Functions | |
| RTFValue () | |
| RTFValue (int nValue) | |
| RTFValue (OUString sValue, bool bForce=false) | |
| RTFValue (const RTFSprms &rAttributes) | |
| RTFValue (const RTFSprms &rAttributes, const RTFSprms &rSprms) | |
| RTFValue (css::uno::Reference< css::drawing::XShape > xShape) | |
| RTFValue (css::uno::Reference< css::io::XInputStream > xStream) | |
| RTFValue (css::uno::Reference< css::embed::XEmbeddedObject > xObject) | |
| RTFValue (const RTFShape &aShape) | |
| RTFValue (const RTFPicture &rPicture) | |
| ~RTFValue () override | |
| void | setString (const OUString &sValue) |
| int | getInt () const override |
| Returns integer representation of the value. More... | |
| OUString | getString () const override |
| Returns string representation of the value. More... | |
| css::uno::Any | getAny () const override |
| Returns representation of the value as uno::Any. More... | |
| writerfilter::Reference< Properties >::Pointer_t | getProperties () override |
| Returns properties of this value. More... | |
| writerfilter::Reference< BinaryObj >::Pointer_t | getBinary () override |
| Returns binary object of this value. More... | |
| std::string | toString () const override |
| Returns string representation of this value. More... | |
| RTFValue * | Clone () const |
| RTFValue * | CloneWithSprms (RTFSprms const &rAttributes, RTFSprms const &rSprms) const |
| RTFSprms & | getAttributes () const |
| RTFSprms & | getSprms () const |
| RTFShape & | getShape () const |
| RTFPicture & | getPicture () const |
| bool | equals (const RTFValue &rOther) const |
| RTFValue & | operator= (RTFValue const &rOther)=delete |
| virtual int | getInt () const =0 |
| Returns integer representation of the value. More... | |
| virtual OUString | getString () const =0 |
| Returns string representation of the value. More... | |
| virtual css::uno::Any | getAny () const =0 |
| Returns representation of the value as uno::Any. More... | |
| virtual writerfilter::Reference< Properties >::Pointer_t | getProperties ()=0 |
| Returns properties of this value. More... | |
| virtual writerfilter::Reference< BinaryObj >::Pointer_t | getBinary ()=0 |
| Returns binary object of this value. More... | |
| virtual std::string | toString () const =0 |
| Returns string representation of this value. More... | |
Public Member Functions inherited from SvRefBase | |
| SvRefBase () | |
| SvRefBase (const SvRefBase &) | |
| SvRefBase & | operator= (const SvRefBase &) |
| void | RestoreNoDelete () |
| void | AddNextRef () |
| void | AddFirstRef () |
| void | ReleaseRef () |
| unsigned int | GetRefCount () const |
Private Member Functions | |
| RTFValue (int nValue, OUString sValue, const RTFSprms *pAttributes, const RTFSprms *pSprms, css::uno::Reference< css::drawing::XShape > xShape, css::uno::Reference< css::io::XInputStream > xStream, css::uno::Reference< css::embed::XEmbeddedObject > xObject, bool bForceString, const RTFShape *pShape, const RTFPicture *pPicture) | |
Private Attributes | |
| int | m_nValue = 0 |
| OUString | m_sValue |
| tools::SvRef< RTFSprms > | m_pAttributes |
| tools::SvRef< RTFSprms > | m_pSprms |
| css::uno::Reference< css::drawing::XShape > | m_xShape |
| css::uno::Reference< css::io::XInputStream > | m_xStream |
| css::uno::Reference< css::embed::XEmbeddedObject > | m_xObject |
| bool | m_bForceString = false |
| tools::SvRef< RTFShape > | m_pShape |
| tools::SvRef< RTFPicture > | m_pPicture |
Additional Inherited Members | |
Protected Member Functions inherited from SvRefBase | |
| virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Value of an RTF keyword.
Definition at line 32 of file rtfvalue.hxx.
Definition at line 41 of file rtfvalue.hxx.
|
private |
| writerfilter::rtftok::RTFValue::RTFValue | ( | ) |
Definition at line 39 of file rtfvalue.cxx.
Referenced by Clone(), and CloneWithSprms().
|
explicit |
Definition at line 41 of file rtfvalue.cxx.
References nValue.
| writerfilter::rtftok::RTFValue::RTFValue | ( | OUString | sValue, |
| bool | bForce = false |
||
| ) |
Definition at line 46 of file rtfvalue.cxx.
|
explicit |
Definition at line 52 of file rtfvalue.cxx.
Definition at line 57 of file rtfvalue.cxx.
|
explicit |
|
explicit |
|
explicit |
|
explicit |
Definition at line 78 of file rtfvalue.cxx.
|
explicit |
Definition at line 83 of file rtfvalue.cxx.
|
overridedefault |
| RTFValue * writerfilter::rtftok::RTFValue::Clone | ( | ) | const |
Definition at line 152 of file rtfvalue.cxx.
References m_bForceString, m_nValue, m_pAttributes, m_pPicture, m_pShape, m_pSprms, m_sValue, m_xObject, m_xShape, m_xStream, and RTFValue().
| RTFValue * writerfilter::rtftok::RTFValue::CloneWithSprms | ( | RTFSprms const & | rAttributes, |
| RTFSprms const & | rSprms | ||
| ) | const |
Definition at line 158 of file rtfvalue.cxx.
References m_bForceString, m_nValue, m_pPicture, m_pShape, m_sValue, m_xObject, m_xShape, m_xStream, and RTFValue().
| bool writerfilter::rtftok::RTFValue::equals | ( | const RTFValue & | rOther | ) | const |
Definition at line 164 of file rtfvalue.cxx.
References m_nValue, m_pAttributes, m_pSprms, and m_sValue.
|
overridevirtual |
Returns representation of the value as uno::Any.
Implements writerfilter::Value.
Definition at line 102 of file rtfvalue.cxx.
References m_bForceString, m_nValue, m_sValue, m_xObject, m_xShape, and m_xStream.
| RTFSprms & writerfilter::rtftok::RTFValue::getAttributes | ( | ) | const |
Definition at line 206 of file rtfvalue.cxx.
References m_pAttributes.
Referenced by getProperties().
|
overridevirtual |
Returns binary object of this value.
Implements writerfilter::Value.
Definition at line 137 of file rtfvalue.cxx.
|
overridevirtual |
Returns integer representation of the value.
Implements writerfilter::Value.
Definition at line 90 of file rtfvalue.cxx.
References m_nValue.
| RTFPicture & writerfilter::rtftok::RTFValue::getPicture | ( | ) | const |
Definition at line 125 of file rtfvalue.cxx.
References m_pPicture.
|
overridevirtual |
Returns properties of this value.
Implements writerfilter::Value.
Definition at line 132 of file rtfvalue.cxx.
References getAttributes(), and getSprms().
| RTFShape & writerfilter::rtftok::RTFValue::getShape | ( | ) | const |
Definition at line 118 of file rtfvalue.cxx.
References m_pShape.
| RTFSprms & writerfilter::rtftok::RTFValue::getSprms | ( | ) | const |
|
overridevirtual |
Returns string representation of the value.
Implements writerfilter::Value.
Definition at line 92 of file rtfvalue.cxx.
References m_bForceString, m_nValue, and m_sValue.
| void writerfilter::rtftok::RTFValue::setString | ( | const OUString & | sValue | ) |
Definition at line 100 of file rtfvalue.cxx.
References m_sValue.
|
overridevirtual |
Returns string representation of this value.
Implements writerfilter::Value.
Definition at line 143 of file rtfvalue.cxx.
References m_bForceString, m_nValue, m_sValue, and OUStringToOString().
|
private |
Definition at line 79 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), getAny(), getString(), and toString().
|
private |
Definition at line 72 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), equals(), getAny(), getInt(), getString(), and toString().
|
mutableprivate |
Definition at line 74 of file rtfvalue.hxx.
Referenced by Clone(), equals(), and getAttributes().
|
mutableprivate |
Definition at line 81 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), and getPicture().
|
mutableprivate |
Definition at line 80 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), and getShape().
|
mutableprivate |
Definition at line 75 of file rtfvalue.hxx.
Referenced by Clone(), equals(), and getSprms().
|
private |
Definition at line 73 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), equals(), getAny(), getString(), setString(), and toString().
|
private |
Definition at line 78 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), and getAny().
|
private |
Definition at line 76 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), and getAny().
|
private |
Definition at line 77 of file rtfvalue.hxx.
Referenced by Clone(), CloneWithSprms(), and getAny().