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

Stores the properties of a shape. More...

#include <rtfdocumentimpl.hxx>

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

Public Member Functions

 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

std::vector< std::pair< OUString, OUString > > m_aProperties
 Properties of a single shape. More...
 
std::vector< std::pair< OUString, OUString > > m_aGroupProperties
 Properties applied on the groupshape. More...
 
sal_Int32 m_nLeft = 0
 
sal_Int32 m_nTop = 0
 
sal_Int32 m_nRight = 0
 
sal_Int32 m_nBottom = 0
 
std::optional< sal_Int32 > m_oZ
 Z-Order of the shape. More...
 
sal_Int16 m_nHoriOrientRelation = 0
 Horizontal text::RelOrientation for drawinglayer shapes. More...
 
sal_Int16 m_nVertOrientRelation = 0
 Vertical text::RelOrientation for drawinglayer shapes. More...
 
sal_uInt32 m_nHoriOrientRelationToken = 0
 Horizontal dmapper token for Writer pictures. More...
 
sal_uInt32 m_nVertOrientRelationToken = 0
 Vertical dmapper token for Writer pictures. More...
 
css::text::WrapTextMode m_nWrap = css::text::WrapTextMode::WrapTextMode_MAKE_FIXED_SIZE
 
bool m_bInBackground = false
 If shape is below text (true) or text is below shape (false). More...
 
RTFSprms m_aWrapPolygonSprms
 Wrap polygon, written by RTFSdrImport::resolve(), read by RTFDocumentImpl::resolvePict(). More...
 
RTFSprms m_aAnchorAttributes
 Anchor attributes like wrap distance, written by RTFSdrImport::resolve(), read by RTFDocumentImpl::resolvePict(). More...
 
std::pair< Id, RTFValue::Pointer_tm_aWrapSprm { 0, nullptr }
 Wrap type, written by RTFDocumentImpl::popState(), read by RTFDocumentImpl::resolvePict(). More...
 

Additional Inherited Members

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

Detailed Description

Stores the properties of a shape.

Definition at line 186 of file rtfdocumentimpl.hxx.

Constructor & Destructor Documentation

◆ RTFShape()

writerfilter::rtftok::RTFShape::RTFShape ( )
default

Member Function Documentation

◆ getAnchorAttributes()

RTFSprms & writerfilter::rtftok::RTFShape::getAnchorAttributes ( )
inline

◆ getBottom()

sal_Int32 writerfilter::rtftok::RTFShape::getBottom ( ) const
inline

◆ getGroupProperties()

std::vector< std::pair< OUString, OUString > > & writerfilter::rtftok::RTFShape::getGroupProperties ( )
inline

◆ getHoriOrientRelation()

sal_Int16 writerfilter::rtftok::RTFShape::getHoriOrientRelation ( ) const
inline

Definition at line 227 of file rtfdocumentimpl.hxx.

References m_nHoriOrientRelation.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ getHoriOrientRelationToken()

sal_uInt32 writerfilter::rtftok::RTFShape::getHoriOrientRelationToken ( ) const
inline

◆ getInBackground()

bool writerfilter::rtftok::RTFShape::getInBackground ( ) const
inline

Definition at line 256 of file rtfdocumentimpl.hxx.

References m_bInBackground.

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

◆ getLeft()

sal_Int32 writerfilter::rtftok::RTFShape::getLeft ( ) const
inline

◆ getProperties() [1/2]

std::vector< std::pair< OUString, OUString > > & writerfilter::rtftok::RTFShape::getProperties ( )
inline

◆ getProperties() [2/2]

const std::vector< std::pair< OUString, OUString > > & writerfilter::rtftok::RTFShape::getProperties ( ) const
inline

Definition at line 193 of file rtfdocumentimpl.hxx.

References m_aProperties.

◆ getRight()

sal_Int32 writerfilter::rtftok::RTFShape::getRight ( ) const
inline

◆ getTop()

sal_Int32 writerfilter::rtftok::RTFShape::getTop ( ) const
inline

◆ getVertOrientRelation()

sal_Int16 writerfilter::rtftok::RTFShape::getVertOrientRelation ( ) const
inline

Definition at line 234 of file rtfdocumentimpl.hxx.

References m_nVertOrientRelation.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ getVertOrientRelationToken()

sal_uInt32 writerfilter::rtftok::RTFShape::getVertOrientRelationToken ( ) const
inline

◆ getWrap()

css::text::WrapTextMode writerfilter::rtftok::RTFShape::getWrap ( ) const
inline

Definition at line 252 of file rtfdocumentimpl.hxx.

References m_nWrap.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ getWrapPolygonSprms()

RTFSprms & writerfilter::rtftok::RTFShape::getWrapPolygonSprms ( )
inline

◆ getWrapSprm()

std::pair< Id, RTFValue::Pointer_t > & writerfilter::rtftok::RTFShape::getWrapSprm ( )
inline

◆ getZ()

sal_Int32 writerfilter::rtftok::RTFShape::getZ ( ) const
inline

Definition at line 220 of file rtfdocumentimpl.hxx.

References m_oZ.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ hasZ()

bool writerfilter::rtftok::RTFShape::hasZ ( ) const
inline

Definition at line 218 of file rtfdocumentimpl.hxx.

References m_oZ.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ setBottom()

void writerfilter::rtftok::RTFShape::setBottom ( sal_Int32  nBottom)
inline

◆ setHoriOrientRelation()

void writerfilter::rtftok::RTFShape::setHoriOrientRelation ( sal_Int16  nHoriOrientRelation)
inline

◆ setHoriOrientRelationToken()

void writerfilter::rtftok::RTFShape::setHoriOrientRelationToken ( sal_uInt32  nHoriOrientRelationToken)
inline

◆ setInBackground()

void writerfilter::rtftok::RTFShape::setInBackground ( bool  bInBackground)
inline

◆ setLeft()

void writerfilter::rtftok::RTFShape::setLeft ( sal_Int32  nLeft)
inline

◆ setRight()

void writerfilter::rtftok::RTFShape::setRight ( sal_Int32  nRight)
inline

◆ setTop()

void writerfilter::rtftok::RTFShape::setTop ( sal_Int32  nTop)
inline

◆ setVertOrientRelation()

void writerfilter::rtftok::RTFShape::setVertOrientRelation ( sal_Int16  nVertOrientRelation)
inline

◆ setVertOrientRelationToken()

void writerfilter::rtftok::RTFShape::setVertOrientRelationToken ( sal_uInt32  nVertOrientRelationToken)
inline

◆ setWrap()

void writerfilter::rtftok::RTFShape::setWrap ( css::text::WrapTextMode  nWrap)
inline

Definition at line 250 of file rtfdocumentimpl.hxx.

References m_nWrap.

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

◆ setZ()

void writerfilter::rtftok::RTFShape::setZ ( sal_Int32  nZ)
inline

Definition at line 216 of file rtfdocumentimpl.hxx.

References m_oZ.

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

Member Data Documentation

◆ m_aAnchorAttributes

RTFSprms writerfilter::rtftok::RTFShape::m_aAnchorAttributes
private

Anchor attributes like wrap distance, written by RTFSdrImport::resolve(), read by RTFDocumentImpl::resolvePict().

Definition at line 284 of file rtfdocumentimpl.hxx.

Referenced by getAnchorAttributes().

◆ m_aGroupProperties

std::vector<std::pair<OUString, OUString> > writerfilter::rtftok::RTFShape::m_aGroupProperties
private

Properties applied on the groupshape.

Definition at line 267 of file rtfdocumentimpl.hxx.

Referenced by getGroupProperties().

◆ m_aProperties

std::vector<std::pair<OUString, OUString> > writerfilter::rtftok::RTFShape::m_aProperties
private

Properties of a single shape.

Definition at line 265 of file rtfdocumentimpl.hxx.

Referenced by getProperties().

◆ m_aWrapPolygonSprms

RTFSprms writerfilter::rtftok::RTFShape::m_aWrapPolygonSprms
private

Wrap polygon, written by RTFSdrImport::resolve(), read by RTFDocumentImpl::resolvePict().

Definition at line 282 of file rtfdocumentimpl.hxx.

Referenced by getWrapPolygonSprms().

◆ m_aWrapSprm

std::pair<Id, RTFValue::Pointer_t> writerfilter::rtftok::RTFShape::m_aWrapSprm { 0, nullptr }
private

Wrap type, written by RTFDocumentImpl::popState(), read by RTFDocumentImpl::resolvePict().

Definition at line 286 of file rtfdocumentimpl.hxx.

Referenced by getWrapSprm().

◆ m_bInBackground

bool writerfilter::rtftok::RTFShape::m_bInBackground = false
private

If shape is below text (true) or text is below shape (false).

Definition at line 280 of file rtfdocumentimpl.hxx.

Referenced by getInBackground(), and setInBackground().

◆ m_nBottom

sal_Int32 writerfilter::rtftok::RTFShape::m_nBottom = 0
private

Definition at line 271 of file rtfdocumentimpl.hxx.

Referenced by getBottom(), and setBottom().

◆ m_nHoriOrientRelation

sal_Int16 writerfilter::rtftok::RTFShape::m_nHoriOrientRelation = 0
private

Horizontal text::RelOrientation for drawinglayer shapes.

Definition at line 273 of file rtfdocumentimpl.hxx.

Referenced by getHoriOrientRelation(), and setHoriOrientRelation().

◆ m_nHoriOrientRelationToken

sal_uInt32 writerfilter::rtftok::RTFShape::m_nHoriOrientRelationToken = 0
private

Horizontal dmapper token for Writer pictures.

Definition at line 276 of file rtfdocumentimpl.hxx.

Referenced by getHoriOrientRelationToken(), and setHoriOrientRelationToken().

◆ m_nLeft

sal_Int32 writerfilter::rtftok::RTFShape::m_nLeft = 0
private

Definition at line 268 of file rtfdocumentimpl.hxx.

Referenced by getLeft(), and setLeft().

◆ m_nRight

sal_Int32 writerfilter::rtftok::RTFShape::m_nRight = 0
private

Definition at line 270 of file rtfdocumentimpl.hxx.

Referenced by getRight(), and setRight().

◆ m_nTop

sal_Int32 writerfilter::rtftok::RTFShape::m_nTop = 0
private

Definition at line 269 of file rtfdocumentimpl.hxx.

Referenced by getTop(), and setTop().

◆ m_nVertOrientRelation

sal_Int16 writerfilter::rtftok::RTFShape::m_nVertOrientRelation = 0
private

Vertical text::RelOrientation for drawinglayer shapes.

Definition at line 275 of file rtfdocumentimpl.hxx.

Referenced by getVertOrientRelation(), and setVertOrientRelation().

◆ m_nVertOrientRelationToken

sal_uInt32 writerfilter::rtftok::RTFShape::m_nVertOrientRelationToken = 0
private

Vertical dmapper token for Writer pictures.

Definition at line 277 of file rtfdocumentimpl.hxx.

Referenced by getVertOrientRelationToken(), and setVertOrientRelationToken().

◆ m_nWrap

css::text::WrapTextMode writerfilter::rtftok::RTFShape::m_nWrap = css::text::WrapTextMode::WrapTextMode_MAKE_FIXED_SIZE
private

Definition at line 278 of file rtfdocumentimpl.hxx.

Referenced by getWrap(), and setWrap().

◆ m_oZ

std::optional<sal_Int32> writerfilter::rtftok::RTFShape::m_oZ
private

Z-Order of the shape.

Definition at line 272 of file rtfdocumentimpl.hxx.

Referenced by getZ(), hasZ(), and setZ().


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