45 #include <libwpd/libwpd.h>
52 namespace GWGraphInternal
142 (std::vector<std::vector<int> >
const &tree,
int id, std::vector<int> &order, std::set<int> &seen);
bool readPatterns(MWAWEntry const &entry)
read a pattern list block ( PAT# resource block )
Definition: GWGraph.cxx:664
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: GWGraph.cxx:1866
bool readPageFrames()
try to read a list of page frame ( picture, texture or basic )
Definition: GWGraph.cxx:1194
int numPages() const
returns the number of pages
Definition: GWGraph.cxx:636
bool sendPicture(MWAWEntry const &entry, MWAWPosition pos)
try to send a picture
Definition: GWGraph.cxx:1679
int version() const
returns the file version
Definition: GWGraph.cxx:630
Internal: a list of graphic corresponding to a page.
Definition: GWGraph.cxx:538
bool isPageFrames()
check if a zone is or not a page frame zone
Definition: GWGraph.cxx:944
Internal: the subdocument of a GWGraph.
Definition: GWGraph.cxx:565
static void buildFrameDataReadOrderFromTree(std::vector< std::vector< int > > const &tree, int id, std::vector< int > &order, std::set< int > &seen)
reconstruct the order to used for reading the frame data
Definition: GWGraph.cxx:1727
virtual ~GWGraph()
destructor
Definition: GWGraph.cxx:627
bool sendBasic(GWGraphInternal::FrameBasic const &graph, GWGraphInternal::Zone const &zone, MWAWPosition pos)
try to send a basic picture
Definition: GWGraph.cxx:1757
GWParser * m_mainParser
the main parser;
Definition: GWGraph.hxx:159
MWAWParserStatePtr m_parserState
the parser state
Definition: GWGraph.hxx:153
bool findGraphicZone()
try to find the beginning of the next graphic zone
Definition: GWGraph.cxx:874
the main class to read the graphic part of a HanMac Word-J file
Definition: GWGraph.hxx:70
bool isGraphicZone()
return true if this corresponds to a graphic zone
Definition: GWGraph.cxx:759
Internal: the basic graphic of a GWGraph.
Definition: GWGraph.cxx:284
shared_ptr< GWGraphInternal::Frame > readFrameHeader()
try to read a basic frame header
Definition: GWGraph.cxx:1575
GWGraph & operator=(GWGraph const &orig)
bool readPalettes(MWAWEntry const &entry)
read a list of color and maybe patterns ( PlTT resource block: v2 )
Definition: GWGraph.cxx:703
bool sendTextbox(MWAWEntry const &entry)
try to send the textbox text
Definition: GWGraph.cxx:650
Internal: the graphic style of a GWGraph.
Definition: GWGraph.cxx:60
bool sendPageGraphics()
try to send the page graphic
Definition: GWGraph.cxx:1851
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
the main class to read a GreatWorks text file
Definition: GWParser.hxx:57
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
bool readGraphicZone()
try to read the graphic zone ( draw file or end of v2 text file)
Definition: GWGraph.cxx:797
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readLineFormat(std::string &extra)
try to read a line format style? in v1
Definition: GWGraph.cxx:1172
bool readStyle(GWGraphInternal::Style &style)
try to read a zone style
Definition: GWGraph.cxx:1002
bool sendPageFrames(GWGraphInternal::Zone const &zone)
try to send all data corresponding to a zone
Definition: GWGraph.cxx:1830
GWGraph(GWParser &parser)
constructor
Definition: GWGraph.cxx:621
shared_ptr< GWGraphInternal::State > m_state
the state
Definition: GWGraph.hxx:156
bool sendFrame(shared_ptr< GWGraphInternal::Frame > frame, GWGraphInternal::Zone const &zone, int order)
try to send a frame
Definition: GWGraph.cxx:1782