23#include <com/sun/star/embed/XEmbeddedObject.hpp>
40 virtual int getInt()
const override;
42 virtual OUString
getString()
const override;
43 virtual css::uno::Any
getAny()
const override;
47 virtual std::string
toString()
const override;
72 sal_uInt32
getId()
const override;
76 std::string
getName()
const override;
77 std::string
toString()
const override;
92 virtual std::string
toString()
const override;
113 virtual int getInt()
const override;
114 virtual css::uno::Any
getAny()
const override;
116 virtual std::string
toString()
const override;
134 virtual css::uno::Any
getAny()
const override;
135 virtual OUString
getString()
const override;
137 virtual std::string
toString()
const override;
150 virtual css::uno::Any
getAny()
const override;
152 virtual std::string
toString()
const override;
181 OOXMLProperties_t::iterator
begin();
182 OOXMLProperties_t::iterator
end();
183 OOXMLProperties_t::const_iterator
begin()
const;
184 OOXMLProperties_t::const_iterator
end()
const;
231 virtual std::string
toString()
const override;
250 virtual int getInt()
const override;
251 virtual css::uno::Any
getAny()
const override;
253 virtual std::string
toString()
const override;
273 virtual int getInt()
const override;
275 virtual std::string
toString()
const override;
300 virtual int getInt()
const override;
302 virtual std::string
toString()
const override;
330 virtual int getInt()
const override;
333 virtual std::string
toString()
const override;
339 css::uno::Reference<css::drawing::XShape>
mrShape;
342 explicit OOXMLShapeValue(css::uno::Reference<css::drawing::XShape> xShape);
345 virtual css::uno::Any
getAny()
const override;
347 virtual std::string
toString()
const override;
357 explicit OOXMLStarMathValue(css::uno::Reference<css::embed::XEmbeddedObject> component);
360 virtual css::uno::Any
getAny()
const override;
362 virtual std::string
toString()
const override;
376 virtual void sprm(
Sprm& rSprm)
override;
391 virtual void sprm(
Sprm& rSprm)
override;
406 virtual void sprm(
Sprm& rSprm)
override;
Reference to a resource that generates events and sends them to a handler.
tools::SvRef< Reference< BinaryObj > > Pointer_t
Pointer to reference.
An SPRM: Section, Paragraph and Run Modifier.
OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t pBinaryObj)
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary() override
Returns binary object of this value.
virtual std::string toString() const override
Returns string representation of this value.
virtual OOXMLValue * clone() const override
virtual ~OOXMLBinaryValue() override
OOXMLBinaryObjectReference::Pointer_t mpBinaryObj
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
OOXMLBooleanValue(bool bValue)
virtual int getInt() const override
Returns integer representation of the value.
virtual std::string toString() const override
Returns string representation of this value.
OOXMLBooleanValue & operator=(OOXMLBooleanValue &&)=delete
OOXMLBooleanValue(OOXMLBooleanValue const &)=default
static OOXMLValue::Pointer_t const & Create(bool bValue)
OOXMLBooleanValue(OOXMLBooleanValue &&)=default
OOXMLBooleanValue & operator=(OOXMLBooleanValue const &)=delete
virtual ~OOXMLBooleanValue() override
virtual OOXMLValue * clone() const override
OOXMLHexColorValue(std::string_view pValue)
virtual int getInt() const override
Returns integer representation of the value.
OOXMLHexValue(OOXMLHexValue const &)=default
virtual OOXMLValue * clone() const override
OOXMLHexValue(OOXMLHexValue &&)=default
OOXMLHexValue(sal_uInt32 nValue)
OOXMLHexValue & operator=(OOXMLHexValue const &)=default
OOXMLHexValue & operator=(OOXMLHexValue &&)=default
virtual ~OOXMLHexValue() override
virtual std::string toString() const override
Returns string representation of this value.
static OOXMLValue::Pointer_t Create(sal_Int32 nValue)
virtual std::string toString() const override
Returns string representation of this value.
OOXMLIntegerValue(sal_Int32 nValue)
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
virtual ~OOXMLIntegerValue() override
OOXMLIntegerValue & operator=(OOXMLIntegerValue &&)=delete
OOXMLIntegerValue & operator=(OOXMLIntegerValue const &)=delete
OOXMLIntegerValue(OOXMLIntegerValue const &)=default
virtual int getInt() const override
Returns integer representation of the value.
OOXMLIntegerValue(OOXMLIntegerValue &&)=default
virtual OOXMLValue * clone() const override
virtual OOXMLValue * clone() const override
virtual int getInt() const override
Returns integer representation of the value.
OOXMLMeasurementOrPercentValue(std::string_view pValue)
virtual std::string toString() const override
Returns string representation of this value.
npPt is quotient defining how much units are in 1 pt
virtual OOXMLValue * clone() const override
OOXMLNthPtMeasureValue(std::string_view pValue)
virtual void attribute(Id nId, Value &rValue) override
Receives an attribute.
virtual ~OOXMLPropertySetEntryToBool() override
OOXMLPropertySetEntryToBool(Id nId)
virtual void sprm(Sprm &rSprm) override
Receives a SPRM.
OOXMLPropertySetEntryToInteger(Id nId)
virtual void sprm(Sprm &rSprm) override
Receives a SPRM.
virtual void attribute(Id nId, Value &rValue) override
Receives an attribute.
virtual ~OOXMLPropertySetEntryToInteger() override
virtual void sprm(Sprm &rSprm) override
Receives a SPRM.
OOXMLPropertySetEntryToString(Id nId)
virtual void attribute(Id nId, Value &rValue) override
Receives an attribute.
virtual ~OOXMLPropertySetEntryToString() override
const OUString & getString() const
OOXMLPropertySetValue & operator=(OOXMLPropertySetValue &&)=delete
OOXMLPropertySetValue(OOXMLPropertySetValue &&)=default
OOXMLPropertySetValue & operator=(OOXMLPropertySetValue const &)=delete
virtual ~OOXMLPropertySetValue() override
OOXMLPropertySetValue(OOXMLPropertySet::Pointer_t pPropertySet)
OOXMLPropertySetValue(OOXMLPropertySetValue const &)=default
virtual OOXMLValue * clone() const override
OOXMLPropertySet::Pointer_t mpPropertySet
virtual writerfilter::Reference< Properties >::Pointer_t getProperties() override
Returns properties of this value.
virtual std::string toString() const override
Returns string representation of this value.
tools::SvRef< OOXMLPropertySet > Pointer_t
void resolve(Properties &rHandler) override
Resolves the reference.
OOXMLProperties_t::iterator begin()
OOXMLProperties_t::iterator end()
OOXMLPropertySet * clone() const
OOXMLPropertySet(OOXMLPropertySet const &)=default
OOXMLPropertySet & operator=(OOXMLPropertySet &&)=default
void add(const OOXMLProperty::Pointer_t &pProperty)
OOXMLPropertySet(OOXMLPropertySet &&)=default
std::vector< OOXMLProperty::Pointer_t > OOXMLProperties_t
virtual ~OOXMLPropertySet() override
OOXMLPropertySet()
class OOXMLPropertySet
OOXMLPropertySet & operator=(OOXMLPropertySet const &)=default
OOXMLProperties_t mProperties
sal_uInt32 getId() const override
Returns id of the SPRM.
std::string getName() const override
Returns name of sprm.
std::string toString() const override
Returns string representation of sprm.
OOXMLValue::Pointer_t mpValue
OOXMLProperty(const OOXMLProperty &rSprm)=delete
void resolve(Properties &rProperties)
writerfilter::Reference< Properties >::Pointer_t getProps() override
Returns reference to properties contained in the SPRM.
tools::SvRef< OOXMLProperty > Pointer_t
Value::Pointer_t getValue() override
Returns value of the SPRM.
virtual ~OOXMLProperty() override
OOXMLProperty(Id id, OOXMLValue::Pointer_t pValue, Type_t eType)
css::uno::Reference< css::drawing::XShape > mrShape
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
virtual std::string toString() const override
Returns string representation of this value.
virtual OOXMLValue * clone() const override
virtual ~OOXMLShapeValue() override
OOXMLShapeValue(css::uno::Reference< css::drawing::XShape > xShape)
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
virtual ~OOXMLStarMathValue() override
virtual OOXMLValue * clone() const override
css::uno::Reference< css::embed::XEmbeddedObject > m_component
virtual std::string toString() const override
Returns string representation of this value.
OOXMLStarMathValue(css::uno::Reference< css::embed::XEmbeddedObject > component)
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
virtual OOXMLValue * clone() const override
virtual OUString getString() const override
Returns string representation of the value.
OOXMLStringValue(OUString sStr)
OOXMLStringValue & operator=(OOXMLStringValue &&)=delete
OOXMLStringValue & operator=(OOXMLStringValue const &)=delete
virtual std::string toString() const override
Returns string representation of this value.
OOXMLStringValue(OOXMLStringValue &&)=default
OOXMLStringValue(OOXMLStringValue const &)=default
virtual ~OOXMLStringValue() override
OOXMLTable & operator=(OOXMLTable const &)=default
tools::SvRef< OOXMLValue > ValuePointer_t
OOXMLTable(OOXMLTable &&)=default
void add(const ValuePointer_t &pPropertySet)
OOXMLTable * clone() const
OOXMLTable(OOXMLTable const &)=default
OOXMLTable & operator=(OOXMLTable &&)=default
std::vector< ValuePointer_t > PropertySets_t
PropertySets_t mPropertySets
void resolve(Table &rTable) override
Resolves the reference.
virtual ~OOXMLTable() override
virtual ~OOXMLUniversalMeasureValue() override
OOXMLUniversalMeasureValue(std::string_view pValue, sal_uInt32 npPt)
virtual int getInt() const override
Returns integer representation of the value.
virtual std::string toString() const override
Returns string representation of this value.
OOXMLUniversalMeasureValue(OOXMLUniversalMeasureValue &&)=default
OOXMLUniversalMeasureValue & operator=(OOXMLUniversalMeasureValue &&)=default
OOXMLUniversalMeasureValue & operator=(OOXMLUniversalMeasureValue const &)=default
OOXMLUniversalMeasureValue(OOXMLUniversalMeasureValue const &)=default
OOXMLValue(OOXMLValue const &)=default
virtual std::string toString() const override
Returns string representation of this value.
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary() override
Returns binary object of this value.
OOXMLValue & operator=(OOXMLValue &&)=default
virtual OOXMLValue * clone() const
OOXMLValue & operator=(OOXMLValue const &)=default
virtual writerfilter::Reference< Properties >::Pointer_t getProperties() override
Returns properties of this value.
virtual css::uno::Any getAny() const override
Returns representation of the value as uno::Any.
virtual OUString getString() const override
Returns string representation of the value.
virtual ~OOXMLValue() override
OOXMLValue(OOXMLValue &&)=default
virtual int getInt() const override
Returns integer representation of the value.
tools::SvRef< OOXMLValue > Pointer_t
OOXMLNthPtMeasureValue< 2 > OOXMLHpsMeasureValue
Handles OOXML's ST_HpsMeasure value.
OOXMLNthPtMeasureValue< 20 > OOXMLTwipsMeasureValue
Handles OOXML's ST_TwipsMeasure value.
The classes in this file define the interfaces for the resource model of the DocTokenizer: