45 #include <libwpd/libwpd.h>
52 namespace HMWKGraphInternal
124 bool sendText(
long textId,
long id);
the main class to read a HanMac Word-K file
Definition: HMWKParser.hxx:173
bool sendTextBox(HMWKGraphInternal::TextBox const &textbox, MWAWPosition pos, WPXPropertyList extras=WPXPropertyList())
try to send a textbox to the listener
Definition: HMWKGraph.cxx:1208
HMWKParser * m_mainParser
the main parser;
Definition: HMWKGraph.hxx:181
bool readFrames(shared_ptr< HMWKZone > zone)
try to read the frame definition (type 2)
Definition: HMWKGraph.cxx:868
bool sendTableUnformatted(long fId)
try to send a table unformatted
Definition: HMWKGraph.cxx:1374
shared_ptr< HMWKGraphInternal::State > m_state
the state
Definition: HMWKGraph.hxx:178
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HMWKGraph.cxx:778
int version() const
returns the file version
Definition: HMWKGraph.cxx:773
Internal: the geometrical graph of a HMWKGraph.
Definition: HMWKGraph.cxx:181
bool sendPicture(long pictId, MWAWPosition pos, WPXPropertyList extras=WPXPropertyList())
try to send a picture to the listener
Definition: HMWKGraph.cxx:1027
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HMWKGraph.cxx:1851
Internal: the picture of a HMWKGraph.
Definition: HMWKGraph.cxx:524
the main class to read the graphic part of a HanMac Word file
Definition: HMWKGraph.hxx:77
the class to store a color
Definition: libmwaw_internal.hxx:161
Small class used to store the decoded zone of HMWKParser.
Definition: HMWKParser.hxx:58
virtual ~HMWKGraph()
destructor
Definition: HMWKGraph.cxx:770
bool sendText(long textId, long id)
ask main parser to send a text zone
Definition: HMWKGraph.cxx:811
shared_ptr< HMWKGraphInternal::FootnoteFrame > readFootnoteFrame(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header)
try to read the footnote data
Definition: HMWKGraph.cxx:1607
shared_ptr< HMWKGraphInternal::BasicGraph > readBasicGraph(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header)
try to read the basic graph data
Definition: HMWKGraph.cxx:1393
shared_ptr< HMWKGraphInternal::Group > readGroup(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header)
try to read the group data
Definition: HMWKGraph.cxx:1525
bool readPicture(shared_ptr< HMWKZone > zone)
try to read a picture zone (type d)
Definition: HMWKGraph.cxx:971
Internal: the subdocument of a HMWKGraph.
Definition: HMWKGraph.cxx:672
Internal: the textbox of a HMWKGraph.
Definition: HMWKGraph.cxx:468
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HMWKGraph.cxx:1871
bool sendEmptyPicture(MWAWPosition pos)
try to send an empty picture
Definition: HMWKGraph.cxx:1168
shared_ptr< HMWKGraphInternal::TextBox > readTextBox(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header, bool isMemo)
try to read the textbox data
Definition: HMWKGraph.cxx:1643
HMWKGraph & operator=(HMWKGraph const &orig)
bool sendPictureFrame(HMWKGraphInternal::PictureFrame const &pict, MWAWPosition pos, WPXPropertyList extras=WPXPropertyList())
try to send a picture frame
Definition: HMWKGraph.cxx:1194
shared_ptr< HMWKGraphInternal::Table > readTable(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header)
try to read the table data
Definition: HMWKGraph.cxx:1681
std::map< long, int > getTextFrameInformations() const
return a list textZId -> type which 3(footnote), 4(textbox), 9(table), 10(comment) ...
Definition: HMWKGraph.cxx:816
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
MWAWParserStatePtr m_parserState
the parser state
Definition: HMWKGraph.hxx:175
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
shared_ptr< HMWKGraphInternal::PictureFrame > readPictureFrame(shared_ptr< HMWKZone > zone, HMWKGraphInternal::Frame const &header)
try to read the picture data
Definition: HMWKGraph.cxx:1563
Internal: the frame header of a HMWKGraph.
Definition: HMWKGraph.cxx:65
bool sendFrame(long frameId, MWAWPosition pos, WPXPropertyList extras=WPXPropertyList())
try to send a frame to the listener
Definition: HMWKGraph.cxx:1072
Internal: the picture of a HMWKGraph.
Definition: HMWKGraph.cxx:338
bool sendBasicGraph(HMWKGraphInternal::BasicGraph const &pict, MWAWPosition pos, WPXPropertyList extras=WPXPropertyList())
try to send a basic picture to the listener
Definition: HMWKGraph.cxx:1255
Internal: the table of a HMWKGraph.
Definition: HMWKGraph.cxx:412
int numPages() const
returns the number of pages
Definition: HMWKGraph.cxx:793
HMWKGraph(HMWKParser &parser)
constructor
Definition: HMWKGraph.cxx:764