ReadySetGoGraph Class Reference

the main class to read the graphic part of a ReadySetGo 1-6 file More...

#include <ReadySetGoGraph.hxx>

Public Member Functions

 ReadySetGoGraph (ReadySetGoParser &parser)
 constructor More...
 
virtual ~ReadySetGoGraph ()
 destructor More...
 

Protected Member Functions

int version () const
 returns the file version More...
 
bool readShapes ()
 try to read a list of shape More...
 
bool readShapesInObject ()
 try to read a list of shape corresponding to an object glossary: need in v6 More...
 
bool updateTextBoxLinks ()
 try to update the textboxes link: v3 More...
 
void updatePageSpanList (std::vector< MWAWPageSpan > &spanList) const
 update the page span list More...
 
bool sendMasterPages ()
 try to send the master pages More...
 
bool sendPages ()
 try to send each main pages More...
 
bool send (ReadySetGoGraphInternal::Layout const &layout)
 try to send the shapes of a layout More...
 
bool send (ReadySetGoGraphInternal::Shape const &shape)
 try to send a shape More...
 
bool sendText (ReadySetGoGraphInternal::Shape const &shape)
 try to send the text corresponding to a shape More...
 
bool readLayoutsList (int numLayouts, bool master=false)
 try to read the layout list: v3 More...
 
bool readShapeV1 ()
 try to read a shape: v1 More...
 
bool readShapeV2 (ReadySetGoGraphInternal::Layout &layout)
 try to read a shape: v2 More...
 
bool readShapeV3 (ReadySetGoGraphInternal::Layout &layout, bool &last)
 try to read a shape: v3 More...
 
bool readShapeV6 (ReadySetGoGraphInternal::Layout &layout, bool &last)
 try to read a shape: v6 More...
 
bool readShapeDSV2 (ReadySetGoGraphInternal::Layout &layout, bool &last)
 try to read a shape: design studio v2 More...
 

Protected Attributes

std::shared_ptr< ReadySetGoGraphInternal::Statem_state
 the state More...
 
ReadySetGoParserm_parser
 the main parser; More...
 
std::shared_ptr< ReadySetGoStyleManagerm_styleManager
 the style manager More...
 

Private Member Functions

 ReadySetGoGraph (ReadySetGoGraph const &orig)=delete
 
ReadySetGoGraphoperator= (ReadySetGoGraph const &orig)=delete
 

Friends

class ReadySetGoParser
 
class ReadySetGoGraphInternal::SubDocument
 

Detailed Description

the main class to read the graphic part of a ReadySetGo 1-6 file

Constructor & Destructor Documentation

◆ ReadySetGoGraph() [1/2]

ReadySetGoGraph::ReadySetGoGraph ( ReadySetGoParser parser)
explicit

constructor

◆ ~ReadySetGoGraph()

ReadySetGoGraph::~ReadySetGoGraph ( )
virtual

destructor

◆ ReadySetGoGraph() [2/2]

ReadySetGoGraph::ReadySetGoGraph ( ReadySetGoGraph const &  orig)
privatedelete

Member Function Documentation

◆ operator=()

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

◆ readLayoutsList()

bool ReadySetGoGraph::readLayoutsList ( int  numLayouts,
bool  master = false 
)
protected

try to read the layout list: v3

◆ readShapeDSV2()

bool ReadySetGoGraph::readShapeDSV2 ( ReadySetGoGraphInternal::Layout layout,
bool &  last 
)
protected

try to read a shape: design studio v2

Referenced by readShapes(), and readShapesInObject().

◆ readShapes()

bool ReadySetGoGraph::readShapes ( )
protected

try to read a list of shape

◆ readShapesInObject()

bool ReadySetGoGraph::readShapesInObject ( )
protected

try to read a list of shape corresponding to an object glossary: need in v6

◆ readShapeV1()

bool ReadySetGoGraph::readShapeV1 ( )
protected

try to read a shape: v1

Referenced by readShapes().

◆ readShapeV2()

bool ReadySetGoGraph::readShapeV2 ( ReadySetGoGraphInternal::Layout layout)
protected

try to read a shape: v2

Referenced by readShapes().

◆ readShapeV3()

bool ReadySetGoGraph::readShapeV3 ( ReadySetGoGraphInternal::Layout layout,
bool &  last 
)
protected

try to read a shape: v3

Referenced by readShapes().

◆ readShapeV6()

bool ReadySetGoGraph::readShapeV6 ( ReadySetGoGraphInternal::Layout layout,
bool &  last 
)
protected

try to read a shape: v6

Referenced by readShapes(), and readShapesInObject().

◆ send() [1/2]

bool ReadySetGoGraph::send ( ReadySetGoGraphInternal::Layout const &  layout)
protected

try to send the shapes of a layout

Referenced by sendMasterPages(), and sendPages().

◆ send() [2/2]

bool ReadySetGoGraph::send ( ReadySetGoGraphInternal::Shape const &  shape)
protected

try to send a shape

◆ sendMasterPages()

bool ReadySetGoGraph::sendMasterPages ( )
protected

try to send the master pages

◆ sendPages()

bool ReadySetGoGraph::sendPages ( )
protected

try to send each main pages

◆ sendText()

bool ReadySetGoGraph::sendText ( ReadySetGoGraphInternal::Shape const &  shape)
protected

try to send the text corresponding to a shape

Referenced by ReadySetGoGraphInternal::SubDocument::parse().

◆ updatePageSpanList()

void ReadySetGoGraph::updatePageSpanList ( std::vector< MWAWPageSpan > &  spanList) const
protected

update the page span list

◆ updateTextBoxLinks()

bool ReadySetGoGraph::updateTextBoxLinks ( )
protected

try to update the textboxes link: v3

Referenced by readShapes().

◆ version()

int ReadySetGoGraph::version ( ) const
protected

Friends And Related Function Documentation

◆ ReadySetGoGraphInternal::SubDocument

◆ ReadySetGoParser

friend class ReadySetGoParser
friend

Member Data Documentation

◆ m_parser

◆ m_state

◆ m_styleManager

std::shared_ptr<ReadySetGoStyleManager> ReadySetGoGraph::m_styleManager
protected

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

Generated on Mon Mar 6 2023 06:19:05 for libmwaw by doxygen 1.9.1