LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Attributes | List of all members
writerfilter::rtftok::RTFDrawingObject Class Reference

Stores the properties of a drawing object. More...

#include <rtfdocumentimpl.hxx>

Inheritance diagram for writerfilter::rtftok::RTFDrawingObject:
[legend]
Collaboration diagram for writerfilter::rtftok::RTFDrawingObject:
[legend]

Public Member Functions

 RTFDrawingObject ()
 
void setShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
const css::uno::Reference< css::drawing::XShape > & getShape () const
 
void setPropertySet (const css::uno::Reference< css::beans::XPropertySet > &xPropertySet)
 
const css::uno::Reference< css::beans::XPropertySet > & getPropertySet () const
 
std::vector< css::beans::PropertyValue > & getPendingProperties ()
 
void setLineColorR (sal_uInt8 nLineColorR)
 
sal_uInt8 getLineColorR () const
 
void setLineColorG (sal_uInt8 nLineColorG)
 
sal_uInt8 getLineColorG () const
 
void setLineColorB (sal_uInt8 nLineColorB)
 
sal_uInt8 getLineColorB () const
 
void setHasLineColor (bool bHasLineColor)
 
bool getHasLineColor () const
 
void setFillColorR (sal_uInt8 nFillColorR)
 
sal_uInt8 getFillColorR () const
 
void setFillColorG (sal_uInt8 nFillColorG)
 
sal_uInt8 getFillColorG () const
 
void setFillColorB (sal_uInt8 nFillColorB)
 
sal_uInt8 getFillColorB () const
 
void setHasFillColor (bool bHasFillColor)
 
bool getHasFillColor () const
 
void setDhgt (sal_Int32 nDhgt)
 
sal_Int32 getDhgt () const
 
void setFLine (sal_Int32 nFLine)
 
sal_Int32 getFLine () const
 
void setPolyLineCount (sal_Int32 nPolyLineCount)
 
sal_Int32 getPolyLineCount () const
 
std::vector< css::awt::Point > & getPolyLinePoints ()
 
void setHadShapeText (bool bHadShapeText)
 
bool getHadShapeText () const
 
- Public Member Functions inherited from writerfilter::rtftok::RTFShape
 RTFShape ()
 
std::vector< std::pair< OUString, OUString > > & getProperties ()
 
const std::vector< std::pair< OUString, OUString > > & getProperties () const
 
std::vector< std::pair< OUString, OUString > > & getGroupProperties ()
 
void setLeft (sal_Int32 nLeft)
 
sal_Int32 getLeft () const
 
void setTop (sal_Int32 nTop)
 
sal_Int32 getTop () const
 
void setRight (sal_Int32 nRight)
 
sal_Int32 getRight () const
 
void setBottom (sal_Int32 nBottom)
 
sal_Int32 getBottom () const
 
void setZ (sal_Int32 nZ)
 
bool hasZ () const
 
sal_Int32 getZ () const
 
void setHoriOrientRelation (sal_Int16 nHoriOrientRelation)
 
sal_Int16 getHoriOrientRelation () const
 
void setVertOrientRelation (sal_Int16 nVertOrientRelation)
 
sal_Int16 getVertOrientRelation () const
 
void setHoriOrientRelationToken (sal_uInt32 nHoriOrientRelationToken)
 
sal_uInt32 getHoriOrientRelationToken () const
 
void setVertOrientRelationToken (sal_uInt32 nVertOrientRelationToken)
 
sal_uInt32 getVertOrientRelationToken () const
 
void setWrap (css::text::WrapTextMode nWrap)
 
css::text::WrapTextMode getWrap () const
 
void setInBackground (bool bInBackground)
 
bool getInBackground () const
 
RTFSprmsgetWrapPolygonSprms ()
 
RTFSprmsgetAnchorAttributes ()
 
std::pair< Id, RTFValue::Pointer_t > & getWrapSprm ()
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

css::uno::Reference< css::drawing::XShape > m_xShape
 
css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 
std::vector< css::beans::PropertyValue > m_aPendingProperties
 
sal_uInt8 m_nLineColorR = 0
 
sal_uInt8 m_nLineColorG = 0
 
sal_uInt8 m_nLineColorB = 0
 
bool m_bHasLineColor = false
 
sal_uInt8 m_nFillColorR = 0
 
sal_uInt8 m_nFillColorG = 0
 
sal_uInt8 m_nFillColorB = 0
 
bool m_bHasFillColor = false
 
sal_Int32 m_nDhgt = 0
 
sal_Int32 m_nFLine = -1
 
sal_Int32 m_nPolyLineCount = 0
 
std::vector< css::awt::Point > m_aPolyLinePoints
 
bool m_bHadShapeText = false
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Stores the properties of a drawing object.

Definition at line 290 of file rtfdocumentimpl.hxx.

Constructor & Destructor Documentation

◆ RTFDrawingObject()

writerfilter::rtftok::RTFDrawingObject::RTFDrawingObject ( )
default

Member Function Documentation

◆ getDhgt()

sal_Int32 writerfilter::rtftok::RTFDrawingObject::getDhgt ( ) const
inline

Definition at line 323 of file rtfdocumentimpl.hxx.

References m_nDhgt.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchFlag().

◆ getFillColorB()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getFillColorB ( ) const
inline

Definition at line 319 of file rtfdocumentimpl.hxx.

References m_nFillColorB.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getFillColorG()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getFillColorG ( ) const
inline

Definition at line 317 of file rtfdocumentimpl.hxx.

References m_nFillColorG.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getFillColorR()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getFillColorR ( ) const
inline

Definition at line 315 of file rtfdocumentimpl.hxx.

References m_nFillColorR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getFLine()

sal_Int32 writerfilter::rtftok::RTFDrawingObject::getFLine ( ) const
inline

Definition at line 325 of file rtfdocumentimpl.hxx.

References m_nFLine.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getHadShapeText()

bool writerfilter::rtftok::RTFDrawingObject::getHadShapeText ( ) const
inline

◆ getHasFillColor()

bool writerfilter::rtftok::RTFDrawingObject::getHasFillColor ( ) const
inline

◆ getHasLineColor()

bool writerfilter::rtftok::RTFDrawingObject::getHasLineColor ( ) const
inline

◆ getLineColorB()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getLineColorB ( ) const
inline

Definition at line 311 of file rtfdocumentimpl.hxx.

References m_nLineColorB.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getLineColorG()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getLineColorG ( ) const
inline

Definition at line 309 of file rtfdocumentimpl.hxx.

References m_nLineColorG.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getLineColorR()

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::getLineColorR ( ) const
inline

Definition at line 307 of file rtfdocumentimpl.hxx.

References m_nLineColorR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::beforePopState().

◆ getPendingProperties()

std::vector< css::beans::PropertyValue > & writerfilter::rtftok::RTFDrawingObject::getPendingProperties ( )
inline

◆ getPolyLineCount()

sal_Int32 writerfilter::rtftok::RTFDrawingObject::getPolyLineCount ( ) const
inline

◆ getPolyLinePoints()

std::vector< css::awt::Point > & writerfilter::rtftok::RTFDrawingObject::getPolyLinePoints ( )
inline

◆ getPropertySet()

const css::uno::Reference< css::beans::XPropertySet > & writerfilter::rtftok::RTFDrawingObject::getPropertySet ( ) const
inline

◆ getShape()

const css::uno::Reference< css::drawing::XShape > & writerfilter::rtftok::RTFDrawingObject::getShape ( ) const
inline

◆ setDhgt()

void writerfilter::rtftok::RTFDrawingObject::setDhgt ( sal_Int32  nDhgt)
inline

Definition at line 322 of file rtfdocumentimpl.hxx.

References m_nDhgt.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setFillColorB()

void writerfilter::rtftok::RTFDrawingObject::setFillColorB ( sal_uInt8  nFillColorB)
inline

Definition at line 318 of file rtfdocumentimpl.hxx.

References m_nFillColorB.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setFillColorG()

void writerfilter::rtftok::RTFDrawingObject::setFillColorG ( sal_uInt8  nFillColorG)
inline

Definition at line 316 of file rtfdocumentimpl.hxx.

References m_nFillColorG.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setFillColorR()

void writerfilter::rtftok::RTFDrawingObject::setFillColorR ( sal_uInt8  nFillColorR)
inline

Definition at line 314 of file rtfdocumentimpl.hxx.

References m_nFillColorR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setFLine()

void writerfilter::rtftok::RTFDrawingObject::setFLine ( sal_Int32  nFLine)
inline

Definition at line 324 of file rtfdocumentimpl.hxx.

References m_nFLine.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchFlag().

◆ setHadShapeText()

void writerfilter::rtftok::RTFDrawingObject::setHadShapeText ( bool  bHadShapeText)
inline

Definition at line 329 of file rtfdocumentimpl.hxx.

References m_bHadShapeText.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchFlag().

◆ setHasFillColor()

void writerfilter::rtftok::RTFDrawingObject::setHasFillColor ( bool  bHasFillColor)
inline

◆ setHasLineColor()

void writerfilter::rtftok::RTFDrawingObject::setHasLineColor ( bool  bHasLineColor)
inline

◆ setLineColorB()

void writerfilter::rtftok::RTFDrawingObject::setLineColorB ( sal_uInt8  nLineColorB)
inline

Definition at line 310 of file rtfdocumentimpl.hxx.

References m_nLineColorB.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setLineColorG()

void writerfilter::rtftok::RTFDrawingObject::setLineColorG ( sal_uInt8  nLineColorG)
inline

Definition at line 308 of file rtfdocumentimpl.hxx.

References m_nLineColorG.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setLineColorR()

void writerfilter::rtftok::RTFDrawingObject::setLineColorR ( sal_uInt8  nLineColorR)
inline

Definition at line 306 of file rtfdocumentimpl.hxx.

References m_nLineColorR.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchValue().

◆ setPolyLineCount()

void writerfilter::rtftok::RTFDrawingObject::setPolyLineCount ( sal_Int32  nPolyLineCount)
inline

◆ setPropertySet()

void writerfilter::rtftok::RTFDrawingObject::setPropertySet ( const css::uno::Reference< css::beans::XPropertySet > &  xPropertySet)
inline

Definition at line 297 of file rtfdocumentimpl.hxx.

References m_xPropertySet.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchFlag().

◆ setShape()

void writerfilter::rtftok::RTFDrawingObject::setShape ( const css::uno::Reference< css::drawing::XShape > &  xShape)
inline

Definition at line 295 of file rtfdocumentimpl.hxx.

References m_xShape.

Referenced by writerfilter::rtftok::RTFDocumentImpl::dispatchFlag().

Member Data Documentation

◆ m_aPendingProperties

std::vector<css::beans::PropertyValue> writerfilter::rtftok::RTFDrawingObject::m_aPendingProperties
private

Definition at line 335 of file rtfdocumentimpl.hxx.

Referenced by getPendingProperties().

◆ m_aPolyLinePoints

std::vector<css::awt::Point> writerfilter::rtftok::RTFDrawingObject::m_aPolyLinePoints
private

Definition at line 347 of file rtfdocumentimpl.hxx.

Referenced by getPolyLinePoints().

◆ m_bHadShapeText

bool writerfilter::rtftok::RTFDrawingObject::m_bHadShapeText = false
private

Definition at line 348 of file rtfdocumentimpl.hxx.

Referenced by getHadShapeText(), and setHadShapeText().

◆ m_bHasFillColor

bool writerfilter::rtftok::RTFDrawingObject::m_bHasFillColor = false
private

Definition at line 343 of file rtfdocumentimpl.hxx.

Referenced by getHasFillColor(), and setHasFillColor().

◆ m_bHasLineColor

bool writerfilter::rtftok::RTFDrawingObject::m_bHasLineColor = false
private

Definition at line 339 of file rtfdocumentimpl.hxx.

Referenced by getHasLineColor(), and setHasLineColor().

◆ m_nDhgt

sal_Int32 writerfilter::rtftok::RTFDrawingObject::m_nDhgt = 0
private

Definition at line 344 of file rtfdocumentimpl.hxx.

Referenced by getDhgt(), and setDhgt().

◆ m_nFillColorB

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nFillColorB = 0
private

Definition at line 342 of file rtfdocumentimpl.hxx.

Referenced by getFillColorB(), and setFillColorB().

◆ m_nFillColorG

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nFillColorG = 0
private

Definition at line 341 of file rtfdocumentimpl.hxx.

Referenced by getFillColorG(), and setFillColorG().

◆ m_nFillColorR

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nFillColorR = 0
private

Definition at line 340 of file rtfdocumentimpl.hxx.

Referenced by getFillColorR(), and setFillColorR().

◆ m_nFLine

sal_Int32 writerfilter::rtftok::RTFDrawingObject::m_nFLine = -1
private

Definition at line 345 of file rtfdocumentimpl.hxx.

Referenced by getFLine(), and setFLine().

◆ m_nLineColorB

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nLineColorB = 0
private

Definition at line 338 of file rtfdocumentimpl.hxx.

Referenced by getLineColorB(), and setLineColorB().

◆ m_nLineColorG

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nLineColorG = 0
private

Definition at line 337 of file rtfdocumentimpl.hxx.

Referenced by getLineColorG(), and setLineColorG().

◆ m_nLineColorR

sal_uInt8 writerfilter::rtftok::RTFDrawingObject::m_nLineColorR = 0
private

Definition at line 336 of file rtfdocumentimpl.hxx.

Referenced by getLineColorR(), and setLineColorR().

◆ m_nPolyLineCount

sal_Int32 writerfilter::rtftok::RTFDrawingObject::m_nPolyLineCount = 0
private

Definition at line 346 of file rtfdocumentimpl.hxx.

Referenced by getPolyLineCount(), and setPolyLineCount().

◆ m_xPropertySet

css::uno::Reference<css::beans::XPropertySet> writerfilter::rtftok::RTFDrawingObject::m_xPropertySet
private

Definition at line 334 of file rtfdocumentimpl.hxx.

Referenced by getPropertySet(), and setPropertySet().

◆ m_xShape

css::uno::Reference<css::drawing::XShape> writerfilter::rtftok::RTFDrawingObject::m_xShape
private

Definition at line 333 of file rtfdocumentimpl.hxx.

Referenced by getShape(), and setShape().


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