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< MWAWColor > | m_colorList |
the current color list | |
std::vector< MWAWGraphicStyle::Arrow > | m_arrowList |
the arrow list | |
std::shared_ptr< Frame > | m_actualFrame |
the actual frame | |
std::shared_ptr< FrameGroup > | m_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, Picture > | m_idToPictureMap |
a map id to picture | |
Internal: the state of a PowerPoint7Graph.
|
inline |
constructor
|
inline |
returns an arrow if possible
|
static |
returns a custom shape corresponding to an id
bool PowerPoint7GraphInternal::State::getPattern | ( | int | id, |
MWAWGraphicStyle::Pattern & | pattern | ||
) | const |
try to return a pattern
void PowerPoint7GraphInternal::State::initArrows | ( | ) |
init the arrow list
|
inline |
reset the actual frame
|
inline |
try to add a frame
std::shared_ptr<Frame> PowerPoint7GraphInternal::State::m_actualFrame |
the actual frame
std::shared_ptr<FrameGroup> PowerPoint7GraphInternal::State::m_actualGroup |
the actual group
PowerPoint7Struct::SlideId PowerPoint7GraphInternal::State::m_actualSlideId |
the actual slide id
std::vector<MWAWGraphicStyle::Arrow> PowerPoint7GraphInternal::State::m_arrowList |
the arrow list
std::vector<MWAWColor> PowerPoint7GraphInternal::State::m_colorList |
the current color list
MWAWVec2i PowerPoint7GraphInternal::State::m_decal |
the decal from file position to final position
std::map<PowerPoint7Struct::SlideId, std::vector<std::shared_ptr<Frame> > > PowerPoint7GraphInternal::State::m_idToFrameMap |
a map slide id to the list of frame
std::map<int, Picture> PowerPoint7GraphInternal::State::m_idToPictureMap |
a map id to picture