35 css::uno::Reference<css::drawing::XShape> xShape,
36 css::uno::Reference<css::io::XInputStream> xStream,
37 css::uno::Reference<css::embed::XEmbeddedObject> xObject,
bool bForceString,
44 RTFValue(OUString sValue,
bool bForce =
false);
47 explicit RTFValue(css::uno::Reference<css::drawing::XShape> xShape);
48 explicit RTFValue(css::uno::Reference<css::io::XInputStream> xStream);
49 explicit RTFValue(css::uno::Reference<css::embed::XEmbeddedObject> xObject);
54 int getInt()
const override;
56 css::uno::Any
getAny()
const override;
60 std::string
toString()
const override;
76 css::uno::Reference<css::drawing::XShape>
m_xShape;
77 css::uno::Reference<css::io::XInputStream>
m_xStream;
78 css::uno::Reference<css::embed::XEmbeddedObject>
m_xObject;
Stores the properties of a picture.
Stores the properties of a shape.
A list of RTFSprm with a copy constructor that performs a deep copy.
writerfilter::Reference< BinaryObj >::Pointer_t getBinary() override
Returns binary object of this value.
RTFValue & operator=(RTFValue const &rOther)=delete
RTFValue * CloneWithSprms(RTFSprms const &rAttributes, RTFSprms const &rSprms) const
css::uno::Reference< css::drawing::XShape > m_xShape
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)
tools::SvRef< RTFShape > m_pShape
tools::SvRef< RTFSprms > m_pAttributes
tools::SvRef< RTFPicture > m_pPicture
RTFValue(css::uno::Reference< css::embed::XEmbeddedObject > xObject)
RTFSprms & getAttributes() const
css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
RTFShape & getShape() const
RTFValue(css::uno::Reference< css::drawing::XShape > xShape)
void setString(const OUString &sValue)
std::string toString() const override
Returns string representation of this value.
css::uno::Reference< css::embed::XEmbeddedObject > m_xObject
RTFValue(css::uno::Reference< css::io::XInputStream > xStream)
RTFSprms & getSprms() const
tools::SvRef< RTFSprms > m_pSprms
RTFPicture & getPicture() const
int getInt() const override
Returns integer representation of the value.
css::uno::Reference< css::io::XInputStream > m_xStream
OUString getString() const override
Returns string representation of the value.
bool equals(const RTFValue &rOther) const
writerfilter::Reference< Properties >::Pointer_t getProperties() override
Returns properties of this value.
The classes in this file define the interfaces for the resource model of the DocTokenizer: