PowerPoint7Graph Class Reference

the main class to read the graphic part of a PowerPoint 95 file More...

#include <PowerPoint7Graph.hxx>

Public Member Functions

 PowerPoint7Graph (PowerPoint7Parser &parser)
 constructor More...
 
virtual ~PowerPoint7Graph ()
 destructor More...
 
int version () const
 returns the file version More...
 
void setPageSize (MWAWVec2i &pageSize)
 sets the page size More...
 
void setSlideId (PowerPoint7Struct::SlideId const &id)
 sets the slide id More...
 
void setColorList (std::vector< MWAWColor > const &colorList)
 sets the color list More...
 

Protected Member Functions

bool sendSlide (PowerPoint7Struct::SlideId const &id, bool sendBackground)
 try to send the slide content More...
 
bool sendFrame (PowerPoint7GraphInternal::Frame const &frame, bool master)
 try to send a frame More...
 
bool sendText (int textId)
 try to send the text content More...
 
bool readBitmapContainer (int level, long endPos, PowerPoint7GraphInternal::Picture &picture)
 try to read the bitmap container zone 1027 More...
 
bool readPictureList (int level, long endPos)
 try to read the font collection 10 zone 2006 More...
 
bool readBitmap (int level, long endPos, MWAWEmbeddedObject &object, MWAWBox2i &box)
 try to read a bitmap zone 2012 More...
 
bool readBitmapFlag (int level, long endPos)
 try to read the bitmap type zone 3038 More...
 
bool readPictureContainer (int level, long endPos, PowerPoint7GraphInternal::Picture &picture)
 try to read the picture container 4028 More...
 
bool readPictureIdContainer (int level, long endPos, int &id)
 try to read the picture id container zone 4053 More...
 
bool readPictureId (int level, long endPos, int &id)
 try to read the picture id 4036 More...
 
bool readMetaFile (int level, long endPos, MWAWEmbeddedObject &object)
 try to read the meta file zone 4033 More...
 
bool readMetaFileContainer (int level, long endPos, PowerPoint7GraphInternal::Picture &picture)
 try to read the meta file container zone 4037 More...
 
bool readMetaFileBox (int level, long endPos, MWAWBox2i &box)
 try to read the meta file box zone 4038 More...
 
bool readExternalOleObjectAtom (int level, long endPos)
 try to read the external ole object atom zone: 4035 More...
 
bool readExternalOleEmbed (int level, long endPos, int &id)
 try to read the external ole embed zone 4044 More...
 
bool readExternalOleEmbedAtom (int level, long endPos)
 try to read the external ole object atom zone: 4045 More...
 
bool readGroup (int level, long endPos)
 try to read the group zone More...
 
bool readGroupAtom (int level, long endPos)
 try to read the zone 3002 More...
 
bool readStyle (int level, long endPos)
 try to read the graphic style zone 3005 More...
 
bool readLineArrows (int level, long endPos)
 try to read the line arrow zone 3007 More...
 
bool readRect (int level, long endPos)
 try to read the graph rectangle zone 3008 More...
 
bool readRectAtom (int level, long endPos)
 try to read the graph shape zone 3009 More...
 
bool readPlaceholderContainer (int level, long endPos)
 try to read a place holder container 3010 More...
 
bool readPlaceholderAtom (int level, long endPos)
 try to read the place holder atom zone 3011 More...
 
bool readLine (int level, long endPos)
 try to read the line graph zone 3014 More...
 
bool readLineAtom (int level, long endPos)
 try to read the graph line atom zone 3015 More...
 
bool readPolygon (int level, long endPos)
 try to read the polygon zone 3016 More...
 
bool readPolygonAtom (int level, long endPos)
 try to read the polygon atom zone 3017 More...
 
bool readArc (int level, long endPos)
 try to read the graph arc zone 3018 More...
 
bool readArcAtom (int level, long endPos)
 try to read the graph arc atom 3019 More...
 
bool readPointList (int level, long endPos, std::vector< MWAWVec2i > &points)
 try to read the list of point zone 3035 More...
 
bool readZoneFlags (int level, long endPos)
 try to read the graph zone flags zone 3036 More...
 
bool readZone5000 (int level, long endPos)
 try to read the zone 5000: child of GraphRect (only found in 95 an 97 document) More...
 
bool readZone5000Header (int level, long endPos)
 try to read the zone 5000 header: 5001 More...
 
bool readZone5000Data (int level, long endPos)
 try to read the zone 5000 data: 5002 More...
 

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state More...
 
std::shared_ptr< PowerPoint7GraphInternal::Statem_state
 the state More...
 
PowerPoint7Parserm_mainParser
 the main parser; More...
 

Private Member Functions

 PowerPoint7Graph (PowerPoint7Graph const &orig)=delete
 
PowerPoint7Graphoperator= (PowerPoint7Graph const &orig)=delete
 

Friends

class PowerPoint7Parser
 
class PowerPoint7GraphInternal::SubDocument
 

Detailed Description

the main class to read the graphic part of a PowerPoint 95 file

Constructor & Destructor Documentation

◆ PowerPoint7Graph() [1/2]

PowerPoint7Graph::PowerPoint7Graph ( PowerPoint7Parser parser)
explicit

constructor

◆ ~PowerPoint7Graph()

PowerPoint7Graph::~PowerPoint7Graph ( )
virtual

destructor

◆ PowerPoint7Graph() [2/2]

PowerPoint7Graph::PowerPoint7Graph ( PowerPoint7Graph const &  orig)
privatedelete

Member Function Documentation

◆ operator=()

PowerPoint7Graph& PowerPoint7Graph::operator= ( PowerPoint7Graph const &  orig)
privatedelete

◆ readArc()

bool PowerPoint7Graph::readArc ( int  level,
long  endPos 
)
protected

try to read the graph arc zone 3018

◆ readArcAtom()

bool PowerPoint7Graph::readArcAtom ( int  level,
long  endPos 
)
protected

try to read the graph arc atom 3019

Referenced by readArc().

◆ readBitmap()

bool PowerPoint7Graph::readBitmap ( int  level,
long  endPos,
MWAWEmbeddedObject object,
MWAWBox2i box 
)
protected

try to read a bitmap zone 2012

Referenced by readBitmapContainer().

◆ readBitmapContainer()

bool PowerPoint7Graph::readBitmapContainer ( int  level,
long  endPos,
PowerPoint7GraphInternal::Picture picture 
)
protected

try to read the bitmap container zone 1027

Referenced by readPictureList().

◆ readBitmapFlag()

bool PowerPoint7Graph::readBitmapFlag ( int  level,
long  endPos 
)
protected

try to read the bitmap type zone 3038

Referenced by readBitmapContainer().

◆ readExternalOleEmbed()

bool PowerPoint7Graph::readExternalOleEmbed ( int  level,
long  endPos,
int &  id 
)
protected

try to read the external ole embed zone 4044

◆ readExternalOleEmbedAtom()

bool PowerPoint7Graph::readExternalOleEmbedAtom ( int  level,
long  endPos 
)
protected

try to read the external ole object atom zone: 4045

Referenced by readExternalOleEmbed().

◆ readExternalOleObjectAtom()

bool PowerPoint7Graph::readExternalOleObjectAtom ( int  level,
long  endPos 
)
protected

try to read the external ole object atom zone: 4035

Referenced by readExternalOleEmbed().

◆ readGroup()

bool PowerPoint7Graph::readGroup ( int  level,
long  endPos 
)
protected

try to read the group zone

◆ readGroupAtom()

bool PowerPoint7Graph::readGroupAtom ( int  level,
long  endPos 
)
protected

try to read the zone 3002

Referenced by readGroup().

◆ readLine()

bool PowerPoint7Graph::readLine ( int  level,
long  endPos 
)
protected

try to read the line graph zone 3014

◆ readLineArrows()

bool PowerPoint7Graph::readLineArrows ( int  level,
long  endPos 
)
protected

try to read the line arrow zone 3007

Referenced by readArc(), readLine(), and readPolygon().

◆ readLineAtom()

bool PowerPoint7Graph::readLineAtom ( int  level,
long  endPos 
)
protected

try to read the graph line atom zone 3015

Referenced by readLine().

◆ readMetaFile()

bool PowerPoint7Graph::readMetaFile ( int  level,
long  endPos,
MWAWEmbeddedObject object 
)
protected

try to read the meta file zone 4033

Referenced by readMetaFileContainer().

◆ readMetaFileBox()

bool PowerPoint7Graph::readMetaFileBox ( int  level,
long  endPos,
MWAWBox2i box 
)
protected

try to read the meta file box zone 4038

Referenced by readMetaFileContainer().

◆ readMetaFileContainer()

bool PowerPoint7Graph::readMetaFileContainer ( int  level,
long  endPos,
PowerPoint7GraphInternal::Picture picture 
)
protected

try to read the meta file container zone 4037

Referenced by readPictureContainer().

◆ readPictureContainer()

bool PowerPoint7Graph::readPictureContainer ( int  level,
long  endPos,
PowerPoint7GraphInternal::Picture picture 
)
protected

try to read the picture container 4028

Referenced by readPictureList().

◆ readPictureId()

bool PowerPoint7Graph::readPictureId ( int  level,
long  endPos,
int &  id 
)
protected

try to read the picture id 4036

Referenced by readExternalOleEmbed(), and readPictureIdContainer().

◆ readPictureIdContainer()

bool PowerPoint7Graph::readPictureIdContainer ( int  level,
long  endPos,
int &  id 
)
protected

try to read the picture id container zone 4053

◆ readPictureList()

bool PowerPoint7Graph::readPictureList ( int  level,
long  endPos 
)
protected

try to read the font collection 10 zone 2006

◆ readPlaceholderAtom()

bool PowerPoint7Graph::readPlaceholderAtom ( int  level,
long  endPos 
)
protected

try to read the place holder atom zone 3011

Referenced by readPlaceholderContainer().

◆ readPlaceholderContainer()

bool PowerPoint7Graph::readPlaceholderContainer ( int  level,
long  endPos 
)
protected

try to read a place holder container 3010

◆ readPointList()

bool PowerPoint7Graph::readPointList ( int  level,
long  endPos,
std::vector< MWAWVec2i > &  points 
)
protected

try to read the list of point zone 3035

Referenced by readPolygon().

◆ readPolygon()

bool PowerPoint7Graph::readPolygon ( int  level,
long  endPos 
)
protected

try to read the polygon zone 3016

◆ readPolygonAtom()

bool PowerPoint7Graph::readPolygonAtom ( int  level,
long  endPos 
)
protected

try to read the polygon atom zone 3017

Referenced by readPolygon().

◆ readRect()

bool PowerPoint7Graph::readRect ( int  level,
long  endPos 
)
protected

try to read the graph rectangle zone 3008

◆ readRectAtom()

bool PowerPoint7Graph::readRectAtom ( int  level,
long  endPos 
)
protected

try to read the graph shape zone 3009

Referenced by readPlaceholderContainer(), and readRect().

◆ readStyle()

bool PowerPoint7Graph::readStyle ( int  level,
long  endPos 
)
protected

try to read the graphic style zone 3005

Referenced by readArc(), readLine(), readPlaceholderContainer(), readPolygon(), and readRect().

◆ readZone5000()

bool PowerPoint7Graph::readZone5000 ( int  level,
long  endPos 
)
protected

try to read the zone 5000: child of GraphRect (only found in 95 an 97 document)

Referenced by readRect().

◆ readZone5000Data()

bool PowerPoint7Graph::readZone5000Data ( int  level,
long  endPos 
)
protected

try to read the zone 5000 data: 5002

Referenced by readZone5000().

◆ readZone5000Header()

bool PowerPoint7Graph::readZone5000Header ( int  level,
long  endPos 
)
protected

try to read the zone 5000 header: 5001

Referenced by readZone5000().

◆ readZoneFlags()

bool PowerPoint7Graph::readZoneFlags ( int  level,
long  endPos 
)
protected

try to read the graph zone flags zone 3036

Referenced by readPlaceholderContainer(), and readRect().

◆ sendFrame()

bool PowerPoint7Graph::sendFrame ( PowerPoint7GraphInternal::Frame const &  frame,
bool  master 
)
protected

try to send a frame

Referenced by sendSlide().

◆ sendSlide()

bool PowerPoint7Graph::sendSlide ( PowerPoint7Struct::SlideId const &  id,
bool  sendBackground 
)
protected

try to send the slide content

◆ sendText()

bool PowerPoint7Graph::sendText ( int  textId)
protected

try to send the text content

◆ setColorList()

void PowerPoint7Graph::setColorList ( std::vector< MWAWColor > const &  colorList)

sets the color list

◆ setPageSize()

void PowerPoint7Graph::setPageSize ( MWAWVec2i pageSize)

sets the page size

◆ setSlideId()

void PowerPoint7Graph::setSlideId ( PowerPoint7Struct::SlideId const &  id)

sets the slide id

◆ version()

int PowerPoint7Graph::version ( ) const

returns the file version

Friends And Related Function Documentation

◆ PowerPoint7GraphInternal::SubDocument

◆ PowerPoint7Parser

friend class PowerPoint7Parser
friend

Member Data Documentation

◆ m_mainParser

◆ m_parserState

◆ m_state


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

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20