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
 
virtual ~ReadySetGoGraph ()
 destructor
 

Protected Member Functions

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

Protected Attributes

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

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 send(), 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 Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6