38#ifndef GREAT_WKS_GRAPH
39# define GREAT_WKS_GRAPH
45#include <librevenge/librevenge.h>
185 std::shared_ptr<GreatWksGraphInternal::State>
m_state;
the main class to read a GreatWorks database file
Definition: GreatWksDBParser.hxx:62
the main class to read a GreatWorks graphic file
Definition: GreatWksDRParser.hxx:56
the main class to read/store generic data of a GreatWorks document
Definition: GreatWksDocument.hxx:61
Internal: the subdocument of a GreatWksGraph.
Definition: GreatWksGraph.cxx:462
the main class to read the graphic part of a HanMac Word-J file
Definition: GreatWksGraph.hxx:76
std::shared_ptr< GreatWksGraphInternal::Frame > readFrameHeader()
try to read a basic frame header
Definition: GreatWksGraph.cxx:1501
bool sendPageGraphics()
try to send the page graphic
Definition: GreatWksGraph.cxx:2259
bool readLineFormat(std::string &extra)
try to read a line format style? in v1
Definition: GreatWksGraph.cxx:1159
bool readFrameExtraData(GreatWksGraphInternal::Frame &frame, int id, long endPos=-1)
try to read a frame extra data zone
Definition: GreatWksGraph.cxx:1692
bool readPalettes(MWAWEntry const &entry)
read a list of color and maybe patterns ( PlTT resource block: v2 )
Definition: GreatWksGraph.cxx:604
void sendGroupChild(GreatWksGraphInternal::FrameGroup const &group, GreatWksGraphInternal::Zone const &zone, MWAWPosition const &pos)
try to send a group elements by elemenys
Definition: GreatWksGraph.cxx:2045
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: GreatWksGraph.cxx:2274
int version() const
returns the file version
Definition: GreatWksGraph.cxx:527
bool readStyle(MWAWGraphicStyle &style)
try to read a zone style
Definition: GreatWksGraph.cxx:903
bool sendTextboxAsGraphic(MWAWBox2f const &box, GreatWksGraphInternal::FrameText const &text, MWAWGraphicStyle const &style, MWAWListenerPtr listener)
try to send a textbox via a graphiclistener
Definition: GreatWksGraph.cxx:1893
bool sendPageFrames(GreatWksGraphInternal::Zone const &zone)
try to send all data corresponding to a zone
Definition: GreatWksGraph.cxx:2239
bool isPageFrames()
check if a zone is or not a page frame zone
Definition: GreatWksGraph.cxx:843
bool checkGraph(GreatWksGraphInternal::Zone &zone, int id, std::set< int > &seens)
check if the graph of zones is ok (ie. does not form loop)
Definition: GreatWksGraph.cxx:1436
bool readPageFrames()
try to read a list of page frame ( picture, texture or basic )
Definition: GreatWksGraph.cxx:1181
bool sendTextbox(GreatWksGraphInternal::FrameText const &text, GreatWksGraphInternal::Zone const &zone, MWAWPosition const &pos)
try to send a textbox
Definition: GreatWksGraph.cxx:1852
MWAWParserStatePtr m_parserState
the parser state
Definition: GreatWksGraph.hxx:183
bool canCreateGraphic(GreatWksGraphInternal::FrameGroup const &group, GreatWksGraphInternal::Zone const &zone)
check if we can send a group as graphic
Definition: GreatWksGraph.cxx:1966
bool sendPicture(MWAWEntry const &entry, MWAWPosition const &pos)
try to send a picture
Definition: GreatWksGraph.cxx:1919
bool findGraphicZone()
try to find the beginning of the next graphic zone
Definition: GreatWksGraph.cxx:773
bool sendFrame(std::shared_ptr< GreatWksGraphInternal::Frame > frame, GreatWksGraphInternal::Zone const &zone)
try to send a frame
Definition: GreatWksGraph.cxx:2195
virtual ~GreatWksGraph()
destructor
Definition: GreatWksGraph.cxx:524
bool readPatterns(MWAWEntry const &entry)
read a pattern list block ( PAT# resource block )
Definition: GreatWksGraph.cxx:561
MWAWParser * m_mainParser
the main parser;
Definition: GreatWksGraph.hxx:187
bool sendGroup(GreatWksGraphInternal::FrameGroup const &group, GreatWksGraphInternal::Zone const &zone, MWAWPosition const &pos)
try to send a group
Definition: GreatWksGraph.cxx:1960
std::shared_ptr< GreatWksGraphInternal::State > m_state
the state
Definition: GreatWksGraph.hxx:185
int numPages() const
returns the number of pages
Definition: GreatWksGraph.cxx:533
GreatWksDocument & m_document
the document
Definition: GreatWksGraph.hxx:181
bool isGraphicZone()
return true if this corresponds to a graphic zone
Definition: GreatWksGraph.cxx:659
GreatWksGraph & operator=(GreatWksGraph const &orig)=delete
bool readFrameExtraDataRec(GreatWksGraphInternal::Zone &zone, int id, std::set< int > &seens, long endPos=-1)
try to read a frame extra data zone recursively ( draw method)
Definition: GreatWksGraph.cxx:1461
bool readGraphicZone()
try to read the graphic zone ( draw file or end of v2 text file)
Definition: GreatWksGraph.cxx:696
GreatWksGraph(GreatWksGraph const &orig)=delete
bool sendShape(GreatWksGraphInternal::FrameShape const &graph, GreatWksGraphInternal::Zone const &zone, MWAWPosition const &pos)
try to send a basic picture
Definition: GreatWksGraph.cxx:2177
the main class to read a GreatWorks text file
Definition: GreatWksParser.hxx:57
the main class to read a GreatWorks spreadsheet file
Definition: GreatWksSSParser.hxx:59
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:100
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
Internal: the structures of a GreatWksGraph.
Definition: GreatWksGraph.cxx:61
Internal: the group zone of a GreatWksGraph.
Definition: GreatWksGraph.cxx:276
Internal: the basic shape of a GreatWksGraph.
Definition: GreatWksGraph.cxx:197
Internal: the text zone of a GreatWksGraph.
Definition: GreatWksGraph.cxx:341
Internal: the graphic zone of a GreatWksGraph.
Definition: GreatWksGraph.cxx:64
Internal: a list of graphic corresponding to a page.
Definition: GreatWksGraph.cxx:424