HanMacWrdJParser.hxx Source File documentation

HanMacWrdJParser.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33
34 /*
35 * Parser to convert HanMac Word-J document
36 */
37 #ifndef HAN_MAC_WRD_J_PARSER
38 # define HAN_MAC_WRD_J_PARSER
39
40 #include <iostream>
41 #include <string>
42 #include <vector>
43
44 #include <librevenge/librevenge.h>
45
46 #include "MWAWDebug.hxx"
47
48 #include "MWAWParser.hxx"
49
50 namespace HanMacWrdJParserInternal
51 {
52 struct State;
53 class SubDocument;
54 }
55
56 class HanMacWrdJGraph;
57 class HanMacWrdJText;
58
60 struct HanMacWrdJZoneHeader {
62 explicit HanMacWrdJZoneHeader(bool isMain)
63 : m_length(0)
64 , m_n(0)
65 , m_fieldSize(0)
66 , m_id(0)
67 , m_isMain(isMain)
68 {
69 for (auto &val : m_values) val = 0;
70 }
71
73 friend std::ostream &operator<<(std::ostream &o, HanMacWrdJZoneHeader const &h)
74 {
75 if (h.m_n) o << "N=" << h.m_n << ",";
76 if (h.m_id) o << "zId=" << std::hex << h.m_id << std::dec << ",";
77 bool toPrint[4]= {true, true, true, true};
78 if (h.m_isMain) {
79 if (h.m_values[0]+h.m_n == h.m_values[1])
80 toPrint[0]=toPrint[1]=false;
81 else if (h.m_values[0]+h.m_n == h.m_values[2])
82 toPrint[0]=toPrint[2]=false;
83 else
84 o << "###N,";
85 }
86 for (int i=0; i < 4; i++)
87 if (toPrint[i] && h.m_values[i]) o << "h" << i << "=" << h.m_values[i] << ",";
88 return o;
89 }
91 long m_length;
93 int m_n;
95 int m_fieldSize;
97 long m_id;
99 int m_values[4];
101 bool m_isMain;
102 };
103
109 class HanMacWrdJParser final : public MWAWTextParser
110 {
111 friend class HanMacWrdJGraph;
112 friend class HanMacWrdJText;
113 friend class HanMacWrdJParserInternal::SubDocument;
114
115 public:
117 HanMacWrdJParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header);
119 ~HanMacWrdJParser() final;
120
122 bool checkHeader(MWAWHeader *header, bool strict=false) final;
123
124 // the main parse function
125 void parse(librevenge::RVNGTextInterface *documentInterface) final;
126
127 protected:
129 void init();
130
132 void createDocument(librevenge::RVNGTextInterface *documentInterface);
133
135 bool createZones();
136
138 MWAWVec2f getPageLeftTop() const;
139
141 void newPage(int number);
142
143 // interface with the text parser
144
146 bool sendText(long id, long cPos, MWAWListenerPtr listener=MWAWListenerPtr());
148 bool canSendTextAsGraphic(long id, long cPos);
149
150 // interface with the graph parser
151
153 bool sendZone(long zId);
155 bool getColor(int colId, int patternId, MWAWColor &color) const;
156
157 //
158 // low level
159 //
160
163 bool checkEntry(MWAWEntry &entry);
164
166 bool readZonesList();
168 bool readZone(MWAWEntry &entry);
169
171 bool readClassicHeader(HanMacWrdJZoneHeader &header, long endPos=-1);
173 bool decodeZone(MWAWEntry const &entry, librevenge::RVNGBinaryData &data);
174
176 bool readPrintInfo(MWAWEntry const &entry);
178 bool readHeaderEnd();
179 #ifdef DEBUG
180
181 bool readZoneWithHeader(MWAWEntry const &entry);
182 #endif
183
184 bool readZoneA(MWAWEntry const &entry);
186 bool readZoneB(MWAWEntry const &entry);
187
188 protected:
189 //
190 // data
191 //
193 std::shared_ptr<HanMacWrdJParserInternal::State> m_state;
194
196 std::shared_ptr<HanMacWrdJGraph> m_graphParser;
197
199 std::shared_ptr<HanMacWrdJText> m_textParser;
200 };
201 #endif
202 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWTextListenerPtr
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
HanMacWrdJParser::sendZone
bool sendZone(long zId)
send a zone
Definition: HanMacWrdJParser.cxx:200
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
libmwaw::PrinterRect::size
MWAWVec2i size() const
returns the size
Definition: MWAWPrinter.hxx:56
HanMacWrdJParser.hxx
HanMacWrdJParser::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: HanMacWrdJParser.cxx:1036
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
HanMacWrdJParser::init
void init()
inits all internal variables
Definition: HanMacWrdJParser.cxx:176
MWAWTextParser
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
HanMacWrdJParser::readZone
bool readZone(MWAWEntry &entry)
try to read a generic zone
Definition: HanMacWrdJParser.cxx:509
HanMacWrdJZoneHeader::m_isMain
bool m_isMain
true if this is the main header
Definition: HanMacWrdJParser.hxx:101
libmwaw::PrinterRect::pos
MWAWVec2i pos(int i) const
returns the position ( 0: leftTop, 1:rightBottom )
Definition: MWAWPrinter.hxx:61
MWAWEntry::setName
void setName(std::string const &nam)
sets the name of the entry
Definition: MWAWEntry.hxx:148
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
HanMacWrdJParserInternal::SubDocument::getId
long getId() const
returns the subdocument id
Definition: HanMacWrdJParser.cxx:120
MWAWHeaderFooter::HEADER
@ HEADER
Definition: MWAWPageSpan.hxx:48
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
HanMacWrdJZoneHeader::m_values
int m_values[4]
4 unknown field : freeN?, totalN?, totalN1?, ?
Definition: HanMacWrdJParser.hxx:99
MWAWEntry::isParsed
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: MWAWEntry.hxx:121
MWAWTextListener
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:65
HanMacWrdJGraph
the main class to read the graphic part of a HanMac Word-J file
Definition: HanMacWrdJGraph.hxx:79
libmwaw::PrinterInfo::paper
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:222
libmwaw::DebugFile::open
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
MWAWEntry::id
int id() const
returns the id
Definition: MWAWEntry.hxx:164
MWAWPageSpan::setMarginBottom
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:208
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
HanMacWrdJParserInternal::SubDocument::m_id
long m_id
the subdocument id
Definition: HanMacWrdJParser.cxx:135
HanMacWrdJParser::readZoneB
bool readZoneB(MWAWEntry const &entry)
try to read the zone B
Definition: HanMacWrdJParser.cxx:805
HanMacWrdJParser::newPage
void newPage(int number)
adds a new page
Definition: HanMacWrdJParser.cxx:224
HanMacWrdJZoneHeader::HanMacWrdJZoneHeader
HanMacWrdJZoneHeader(bool isMain)
constructor
Definition: HanMacWrdJParser.hxx:62
MWAWPrinter.hxx
HanMacWrdJParserInternal::State::State
State()
constructor
Definition: HanMacWrdJParser.cxx:68
MWAWPageSpan::setMarginLeft
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:193
HanMacWrdJParser::readClassicHeader
bool readClassicHeader(HanMacWrdJZoneHeader &header, long endPos=-1)
try to read a header of classic zone
Definition: HanMacWrdJParser.cxx:237
MWAWHeaderFooter::m_subDocument
MWAWSubDocumentPtr m_subDocument
the document data
Definition: MWAWPageSpan.hxx:92
libmwaw::PrinterInfo
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
HanMacWrdJParser::createDocument
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: HanMacWrdJParser.cxx:296
MWAWEntry::setParsed
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
MWAWParser::getTextListener
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
HanMacWrdJParser::sendText
bool sendText(long id, long cPos, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdJParser.cxx:190
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
MWAWParser::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
MWAWHeaderFooter
a class which stores the header/footer data
Definition: MWAWPageSpan.hxx:45
MWAWCell.hxx
Defines MWAWCell (cell content and format)
HanMacWrdJParserInternal::State::m_zonesIdList
std::vector< int > m_zonesIdList
an internal flag, used to know the actual id of a zone
Definition: HanMacWrdJParser.cxx:86
MWAWParser::asciiName
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
HanMacWrdJParser::canSendTextAsGraphic
bool canSendTextAsGraphic(long id, long cPos)
check if we can send a textzone as graphic
Definition: HanMacWrdJParser.cxx:195
MWAWSubDocument.hxx
HanMacWrdJParser::parse
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: HanMacWrdJParser.cxx:261
MWAWPageSpan::setFormLength
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
HanMacWrdJText
the main class to read the text part of HanMac Word-J file
Definition: HanMacWrdJText.hxx:63
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
MWAWSubDocument::m_input
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
HanMacWrdJParserInternal::State::m_numPages
int m_numPages
the number of page of the final document
Definition: HanMacWrdJParser.cxx:88
libmwaw::DebugFile::reset
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
HanMacWrdJParserInternal::State
Internal: the state of a HanMacWrdJParser.
Definition: HanMacWrdJParser.cxx:66
MWAWParser::setTextListener
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:158
MWAWParser::setAsciiName
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
MWAWParagraph.hxx
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
HanMacWrdJParser::getPageLeftTop
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: HanMacWrdJParser.cxx:215
HanMacWrdJParser
the main class to read a HanMac Word-J file
Definition: HanMacWrdJParser.hxx:110
HanMacWrdJZoneHeader::m_id
long m_id
the zone id
Definition: HanMacWrdJParser.hxx:97
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:673
MWAWPageSpan::setFormWidth
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
MWAWPosition.hxx
HanMacWrdJParser::readZonesList
bool readZonesList()
try to read the zones list
Definition: HanMacWrdJParser.cxx:463
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:668
HanMacWrdJParserInternal::SubDocument
Internal: the subdocument of a HanMacWrdJParser.
Definition: HanMacWrdJParser.cxx:100
HanMacWrdJParserInternal::State::m_actPage
int m_actPage
the actual page
Definition: HanMacWrdJParser.cxx:88
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
MWAWDocument::MWAW_T_HANMACWORDJ
@ MWAW_T_HANMACWORDJ
HanMac Word-J (v2.0.4)
Definition: MWAWDocument.hxx:117
MWAWEntry::name
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:153
HanMacWrdJZoneHeader::operator<<
friend std::ostream & operator<<(std::ostream &o, HanMacWrdJZoneHeader const &h)
operator<<
Definition: HanMacWrdJParser.hxx:73
MWAWEntry::setBegin
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
MWAWRSRCParserPtr
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
libmwaw::DOC_HEADER_FOOTER
@ DOC_HEADER_FOOTER
Definition: libmwaw_internal.hxx:188
HanMacWrdJParserInternal::State::m_footerHeight
int m_footerHeight
the footer height if known
Definition: HanMacWrdJParser.cxx:90
MWAWListener::PageBreak
@ PageBreak
Definition: MWAWListener.hxx:58
HanMacWrdJParser::readHeaderEnd
bool readHeaderEnd()
try to read a unknown zone, just after the header (simillar to HanMacWrd Zoneb)
Definition: HanMacWrdJParser.cxx:885
libmwaw::DebugFile::setStream
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
MWAWVec2< float >
MWAWPictMac.hxx
libmwaw::ParseException
Definition: libmwaw_internal.hxx:144
MWAWDebug.hxx
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition: MWAWHeader.hxx:57
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
MWAWEntry::setLength
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MWAWParser::getPageSpan
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
HanMacWrdJParserInternal::State::m_headerId
long m_headerId
the header text zone id or 0
Definition: HanMacWrdJParser.cxx:92
HanMacWrdJParser::createZones
bool createZones()
finds the different objects zones in a Hapanese File
Definition: HanMacWrdJParser.cxx:339
HanMacWrdJParser::HanMacWrdJText
friend class HanMacWrdJText
Definition: HanMacWrdJParser.hxx:112
HanMacWrdJParserInternal::State::m_headerHeight
int m_headerHeight
the header height if known
Definition: HanMacWrdJParser.cxx:89
HanMacWrdJParser::readPrintInfo
bool readPrintInfo(MWAWEntry const &entry)
try to read a printinfo zone
Definition: HanMacWrdJParser.cxx:602
MWAWEntry::setId
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:169
MWAWPageSpan::setMarginTop
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:203
libmwaw::PrinterInfo::read
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
MWAWHeaderFooter::FOOTER
@ FOOTER
Definition: MWAWPageSpan.hxx:48
HanMacWrdJParserInternal
Internal: the structures of a HanMacWrdJParser.
Definition: HanMacWrdJParser.cxx:63
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
MWAWParser::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWHeader.hxx
Defines MWAWHeader (document's type, version, kind)
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
HanMacWrdJGraph.hxx
HanMacWrdJZoneHeader::m_n
int m_n
the number of item
Definition: HanMacWrdJParser.hxx:93
HanMacWrdJParserInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: HanMacWrdJParser.cxx:138
HanMacWrdJParserInternal::SubDocument::SubDocument
SubDocument(HanMacWrdJParser &pars, MWAWInputStreamPtr const &input, long zoneId)
Definition: HanMacWrdJParser.cxx:102
HanMacWrdJParser::~HanMacWrdJParser
~HanMacWrdJParser() final
destructor
Definition: HanMacWrdJParser.cxx:172
MWAWHeaderFooter::ALL
@ ALL
Definition: MWAWPageSpan.hxx:50
MWAWList.hxx
HanMacWrdJZoneHeader
a class use to store the classic header find before file zone
Definition: HanMacWrdJParser.hxx:60
MWAWParser::getInput
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
HanMacWrdJParser::HanMacWrdJParser
HanMacWrdJParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: HanMacWrdJParser.cxx:163
MWAWTextListener.hxx
Defines MWAWTextListener: the libmwaw word processor listener.
HanMacWrdJParser::decodeZone
bool decodeZone(MWAWEntry const &entry, librevenge::RVNGBinaryData &data)
try to decode a zone
Definition: HanMacWrdJParser.cxx:1168
HanMacWrdJParserInternal::State::m_zonesMap
std::map< long, MWAWEntry > m_zonesMap
a map of entry: filepos->zone
Definition: HanMacWrdJParser.cxx:84
HanMacWrdJParser::getColor
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdJParser.cxx:207
MWAWSubDocument::m_parser
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
HanMacWrdJParserInternal::SubDocument::operator!=
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: HanMacWrdJParser.cxx:110
HanMacWrdJZoneHeader::m_length
long m_length
the zone size
Definition: HanMacWrdJParser.hxx:91
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWPageSpan::setMarginRight
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:198
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
libmwaw::PrinterInfo::page
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:218
MWAWPageSpan::setHeaderFooter
void setHeaderFooter(MWAWHeaderFooter const &headerFooter)
add a header/footer on some page
Definition: MWAWPageSpan.cxx:227
HanMacWrdJParser::m_graphParser
std::shared_ptr< HanMacWrdJGraph > m_graphParser
the graph parser
Definition: HanMacWrdJParser.hxx:196
HanMacWrdJParserInternal::State::m_footerId
long m_footerId
the footer text zone id or 0
Definition: HanMacWrdJParser.cxx:94
HanMacWrdJParser::m_state
std::shared_ptr< HanMacWrdJParserInternal::State > m_state
the state
Definition: HanMacWrdJParser.hxx:193
HanMacWrdJParserInternal::SubDocument::setId
void setId(long vid)
sets the subdocument id
Definition: HanMacWrdJParser.cxx:125
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
HanMacWrdJZoneHeader::m_fieldSize
int m_fieldSize
the field size
Definition: HanMacWrdJParser.hxx:95
MWAWHeader::reset
void reset(MWAWDocument::Type type, int vers, Kind kind=MWAWDocument::MWAW_K_TEXT)
resets the data
Definition: MWAWHeader.hxx:84
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWFont.hxx
librevenge
Definition: MWAWDocument.hxx:57
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
HanMacWrdJParser::checkEntry
bool checkEntry(MWAWEntry &entry)
look in entry.begin() to see if a entry exists at this position, if so fills entry....
Definition: HanMacWrdJParser.cxx:421
HanMacWrdJParser::HanMacWrdJGraph
friend class HanMacWrdJGraph
Definition: HanMacWrdJParser.hxx:111
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWParser.hxx
HanMacWrdJParser::m_textParser
std::shared_ptr< HanMacWrdJText > m_textParser
the text parser
Definition: HanMacWrdJParser.hxx:199
HanMacWrdJText.hxx
HanMacWrdJParserInternal::State::m_zonesListBegin
long m_zonesListBegin
the list of zone begin
Definition: HanMacWrdJParser.cxx:82
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
MWAWParser::resetTextListener
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:163
HanMacWrdJParser::readZoneA
bool readZoneA(MWAWEntry const &entry)
try to read the zone A ( a big zone containing 5 sub zone ? )
Definition: HanMacWrdJParser.cxx:705
HanMacWrdJParserInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: HanMacWrdJParser.cxx:107