PowerPoint7GraphInternal::State Struct Reference

Internal: the state of a PowerPoint7Graph. More...

Public Member Functions

 State ()
 constructor
 
void setFrame (Frame *frame)
 try to add a frame
 
void resetFrame ()
 reset the actual frame
 
bool getPattern (int id, MWAWGraphicStyle::Pattern &pattern) const
 try to return a pattern
 
bool getArrow (int id, MWAWGraphicStyle::Arrow &arrow)
 returns an arrow if possible
 
void initArrows ()
 init the arrow list
 

Static Public Member Functions

static bool getCustomShape (int id, MWAWGraphicShape &shape)
 returns a custom shape corresponding to an id
 

Public Attributes

MWAWVec2i m_decal
 the decal from file position to final position
 
PowerPoint7Struct::SlideId m_actualSlideId
 the actual slide id
 
std::vector< MWAWColorm_colorList
 the current color list
 
std::vector< MWAWGraphicStyle::Arrowm_arrowList
 the arrow list
 
std::shared_ptr< Framem_actualFrame
 the actual frame
 
std::shared_ptr< FrameGroupm_actualGroup
 the actual group
 
std::map< PowerPoint7Struct::SlideId, std::vector< std::shared_ptr< Frame > > > m_idToFrameMap
 a map slide id to the list of frame
 
std::map< int, Picturem_idToPictureMap
 a map id to picture
 

Detailed Description

Internal: the state of a PowerPoint7Graph.

Constructor & Destructor Documentation

◆ State()

PowerPoint7GraphInternal::State::State ( )
inline

constructor

Member Function Documentation

◆ getArrow()

bool PowerPoint7GraphInternal::State::getArrow ( int  id,
MWAWGraphicStyle::Arrow arrow 
)
inline

returns an arrow if possible

◆ getCustomShape()

bool PowerPoint7GraphInternal::State::getCustomShape ( int  id,
MWAWGraphicShape shape 
)
static

returns a custom shape corresponding to an id

◆ getPattern()

bool PowerPoint7GraphInternal::State::getPattern ( int  id,
MWAWGraphicStyle::Pattern pattern 
) const

try to return a pattern

◆ initArrows()

void PowerPoint7GraphInternal::State::initArrows ( )

init the arrow list

◆ resetFrame()

void PowerPoint7GraphInternal::State::resetFrame ( )
inline

reset the actual frame

◆ setFrame()

void PowerPoint7GraphInternal::State::setFrame ( Frame frame)
inline

try to add a frame

Member Data Documentation

◆ m_actualFrame

std::shared_ptr<Frame> PowerPoint7GraphInternal::State::m_actualFrame

the actual frame

◆ m_actualGroup

std::shared_ptr<FrameGroup> PowerPoint7GraphInternal::State::m_actualGroup

the actual group

◆ m_actualSlideId

PowerPoint7Struct::SlideId PowerPoint7GraphInternal::State::m_actualSlideId

the actual slide id

◆ m_arrowList

std::vector<MWAWGraphicStyle::Arrow> PowerPoint7GraphInternal::State::m_arrowList

the arrow list

◆ m_colorList

std::vector<MWAWColor> PowerPoint7GraphInternal::State::m_colorList

the current color list

◆ m_decal

MWAWVec2i PowerPoint7GraphInternal::State::m_decal

the decal from file position to final position

◆ m_idToFrameMap

std::map<PowerPoint7Struct::SlideId, std::vector<std::shared_ptr<Frame> > > PowerPoint7GraphInternal::State::m_idToFrameMap

a map slide id to the list of frame

◆ m_idToPictureMap

std::map<int, Picture> PowerPoint7GraphInternal::State::m_idToPictureMap

a map id to picture


The documentation for this struct was generated from the following file:

Generated on Thu Jan 19 2023 00:00:00 for libmwaw by doxygen 1.9.6