RagTime5StructManager.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 #ifndef RAG_TIME_5_STRUCT_MANAGER
35 # define RAG_TIME_5_STRUCT_MANAGER
36 
37 #include <ostream>
38 #include <sstream>
39 #include <string>
40 #include <vector>
41 
42 #include "libmwaw_internal.hxx"
43 #include "MWAWDebug.hxx"
44 #include "MWAWEntry.hxx"
45 #include "MWAWGraphicStyle.hxx"
46 
49 {
50 public:
56  m_entriesList(), m_extra(""), m_isParsed(false),
58  {
59  for (int i=0; i<3; ++i) m_ids[i]=m_idsFlag[i]=0;
60  for (int i=0; i<2; ++i) m_kinds[i]="";
61  for (int i=0; i<2; ++i) m_variableD[i]=0;
62  }
64  virtual ~RagTime5Zone() {}
66  std::string getZoneName() const;
68  bool isHeaderZone() const
69  {
70  return (m_fileType==F_Data && m_ids[0]==0) ||
71  (m_fileType==F_Main && (m_ids[0]==1 || m_ids[0]==4 || m_ids[0]==5));
72  }
74  std::string getKindLastPart(bool main=true) const
75  {
76  std::string res(m_kinds[main ? 0 : 1]);
77  std::string::size_type pos = res.find_last_of(':');
78  if (pos == std::string::npos) return res;
79  return res.substr(pos+1);
80  }
81 
83  friend std::ostream &operator<<(std::ostream &o, RagTime5Zone const &z);
86  {
87  return m_input;
88  }
91  {
92  m_input = input;
93  m_defaultInput = false;
94  }
96  bool isMainInput() const
97  {
98  return m_defaultInput;
99  }
102  {
104  createAsciiFile();
105  return *m_asciiFile;
106  }
108  void setAsciiFileName(std::string const &name)
109  {
110  m_asciiName = name;
111  }
113  void createAsciiFile();
114 
122  std::string m_kinds[2];
126  std::string m_name;
130  int m_ids[3];
132  int m_idsFlag[3];
134  std::vector<MWAWEntry> m_entriesList;
136  std::string m_extra;
138  int m_variableD[2];
141 protected:
147  std::string m_asciiName;
151  shared_ptr<libmwaw::DebugFile> m_localAsciiFile;
152 private:
153  RagTime5Zone(RagTime5Zone const &orig);
154  RagTime5Zone &operator=(RagTime5Zone const &orig);
155 };
156 
159 {
160 public:
161  struct Field;
166 
168  bool readTypeDefinitions(RagTime5Zone &zone);
170  bool readField(MWAWInputStreamPtr input, long endPos, libmwaw::DebugFile &ascFile,
171  Field &field, long fSz=0);
173  static bool readCompressedLong(MWAWInputStreamPtr &input, long endPos, long &val);
175  static bool readUnicodeString(MWAWInputStreamPtr input, long endPos, librevenge::RVNGString &string);
177  static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector<int> &listIds);
178 
180  struct TabStop {
183  {
184  }
186  friend std::ostream &operator<<(std::ostream &o, TabStop const &tab)
187  {
188  o << tab.m_position;
189  switch (tab.m_type) {
190  case 1:
191  break;
192  case 2:
193  o << "R";
194  break;
195  case 3:
196  o << "C";
197  break;
198  case 4:
199  o << "D";
200  break;
201  case 5: // Kintou Waritsuke: sort of center
202  o << "K";
203  break;
204  default:
205  o << ":#type=" << tab.m_type;
206  break;
207  }
208  if (!tab.m_leader.empty())
209  o << ":leader=" << tab.m_leader.cstr();
210  return o;
211  }
213  float m_position;
215  int m_type;
217  librevenge::RVNGString m_leader;
218  };
220  struct Field {
224  };
225 
229  {
230  for (int i=0; i<2; ++i) m_longValue[i]=0;
231  }
234  {
235  }
237  friend std::ostream &operator<<(std::ostream &o, Field const &field);
243  std::string m_name;
245  long m_longValue[2];
251  librevenge::RVNGString m_string;
253  std::vector<long> m_longList;
255  std::vector<double> m_doubleList;
259  std::vector<TabStop> m_tabList;
261  std::vector<Field> m_fieldList;
265  std::string m_extra;
266  };
268  struct FieldParser {
270  FieldParser(std::string const &zoneName) : m_regroupFields(false), m_name(zoneName) {}
272  virtual ~FieldParser() {}
274  virtual std::string getZoneName() const
275  {
276  return m_name;
277  }
279  virtual std::string getZoneName(int n) const
280  {
281  std::stringstream s;
282  s << m_name << "-" << n;
283  return s.str();
284  }
286  virtual bool parseField(Field &field, RagTime5Zone &/*zone*/, int /*n*/, libmwaw::DebugStream &f)
287  {
288  f << field;
289  return true;
290  }
293  protected:
295  std::string m_name;
296  private:
297  FieldParser(FieldParser const &orig);
298  FieldParser &operator=(FieldParser const &orig);
299  };
301  struct DataParser {
303  DataParser(std::string const &zoneName) : m_name(zoneName) {}
305  virtual ~DataParser() {}
307  virtual std::string getZoneName() const
308  {
309  return m_name;
310  }
312  virtual std::string getZoneName(int n) const
313  {
314  std::stringstream s;
315  s << m_name << "-" << n;
316  return s.str();
317  }
319  virtual bool parseData(MWAWInputStreamPtr &/*input*/, long /*endPos*/, RagTime5Zone &/*zone*/, int /*n*/, libmwaw::DebugStream &/*f*/)
320  {
321  return true;
322  }
323  protected:
325  std::string m_name;
326  private:
327  DataParser(DataParser const &orig);
328  DataParser &operator=(DataParser const &orig);
329  };
331  struct GraphicStyle {
334  m_position(2), m_cap(1), m_mitter(1), m_limitPercent(1), m_hidden(false), m_extra("")
335  {
339  }
341  virtual ~GraphicStyle()
342  {
343  }
345  bool isDefault() const
346  {
347  return m_parentId<0 && m_width<0 && m_dash.empty() && !m_pattern &&
348  m_gradient==0 && m_gradientRotation<=0 && m_gradientRotation>=0 && m_gradientCenter!=MWAWVec2f(0.5f, 0.5f) &&
349  m_position==2 && m_cap==1 && m_mitter==1 &&
350  m_colors[0].isBlack() && m_colors[1].isWhite() && m_colorsAlpha[0]>=1 && m_colorsAlpha[1]>=1 &&
351  m_limitPercent>=1 && m_limitPercent<=1 && !m_hidden && m_extra.empty();
352  }
354  friend std::ostream &operator<<(std::ostream &o, GraphicStyle const &style);
356  bool read(MWAWInputStreamPtr &input, Field const &field);
360  float m_width;
364  float m_colorsAlpha[2];
366  std::vector<long> m_dash;
368  shared_ptr<MWAWGraphicStyle::Pattern> m_pattern;
378  int m_cap;
380  int m_mitter;
384  bool m_hidden;
386  std::string m_extra;
387  };
389  struct TextStyle {
394  m_numColumns(-1), m_columnGap(-1), m_extra("")
395  {
396  m_parentId[0]=m_parentId[1]=-1;
397  m_fontFlags[0]=m_fontFlags[1]=0;
398  for (int i=0; i<3; ++i) {
399  m_margins[i]=-1;
400  m_spacings[i]=-1;
401  m_spacingUnits[i]=-1;
402  m_letterSpacings[i]=-1;
403  }
404  }
406  virtual ~TextStyle()
407  {
408  }
410  bool isDefault() const
411  {
412  if (m_parentId[0]>=0 || m_parentId[1]>=0 || !m_linkIdList.empty() ||
414  m_keepWithNext.isSet() || m_justify>=0 || m_breakMethod>=0 || !m_tabList.empty() ||
415  !m_fontName.empty() || m_fontId>=0 || m_fontSize>=0 || m_fontFlags[0] || m_fontFlags[1] || m_scriptPosition.isSet() ||
416  m_fontScaling>=0 || m_underline>=0 || m_caps>=0 || m_language>=0 ||
417  m_numColumns>=0 || m_columnGap>=0 || !m_extra.empty())
418  return false;
419  for (int i=0; i<3; ++i) {
420  if (m_margins[i]>=0 || m_spacings[i]>=0 || m_spacingUnits[i]>=0 || m_letterSpacings[i]>=0)
421  return false;
422  }
423  return true;
424  }
426  friend std::ostream &operator<<(std::ostream &o, TextStyle const &style);
428  bool read(MWAWInputStreamPtr &input, Field const &field);
430  int m_parentId[2];
432  std::vector<int> m_linkIdList;
439 
440  // paragraph
441 
447  double m_spacings[3];
453  double m_margins[3];
455  std::vector<TabStop> m_tabList;
456 
457  // character
458 
460  librevenge::RVNGString m_fontName;
462  long m_fontId;
464  float m_fontSize;
466  uint32_t m_fontFlags[2];
474  int m_caps;
478  double m_letterSpacings[3];
479 
480  // column
481 
485  double m_columnGap;
486 
488  std::string m_extra;
489  };
490 
491 private:
494 };
495 
496 #endif
497 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
int m_cap
the line caps ( normal=1, round, square)
Definition: RagTime5StructManager.hxx:378
bool read(MWAWInputStreamPtr &input, Field const &field)
try to read a line style
Definition: RagTime5StructManager.cxx:1790
int m_parentId[2]
the parent id ( main and style ?)
Definition: RagTime5StructManager.hxx:430
a tabulation in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:180
Definition: RagTime5StructManager.hxx:223
std::string m_asciiName
the ascii file name ( used if we need to create a ascii file)
Definition: RagTime5StructManager.hxx:147
bool isHeaderZone() const
returns true if the zone is a header zone(header, list zone, ...)
Definition: RagTime5StructManager.hxx:68
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:101
shared_ptr< MWAWGraphicStyle::Pattern > m_pattern
the line pattern
Definition: RagTime5StructManager.hxx:368
librevenge::RVNGString m_leader
the leader char
Definition: RagTime5StructManager.hxx:217
Definition: RagTime5StructManager.hxx:52
Definition: RagTime5StructManager.hxx:222
FileType m_fileType
the zone file type
Definition: RagTime5StructManager.hxx:116
Definition: RagTime5StructManager.hxx:222
FieldParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:270
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:241
Definition: RagTime5StructManager.hxx:222
std::string m_name
the field name
Definition: RagTime5StructManager.hxx:325
virtual std::string getZoneName() const
return the debug name corresponding to a zone
Definition: RagTime5StructManager.hxx:274
friend std::ostream & operator<<(std::ostream &o, GraphicStyle const &style)
operator<<
Definition: RagTime5StructManager.cxx:1705
int m_language
the language
Definition: RagTime5StructManager.hxx:476
virtual ~FieldParser()
destructor
Definition: RagTime5StructManager.hxx:272
std::string getKindLastPart(bool main=true) const
returns the main type
Definition: RagTime5StructManager.hxx:74
TabStop()
constructor
Definition: RagTime5StructManager.hxx:182
friend std::ostream & operator<<(std::ostream &o, TextStyle const &style)
operator<<
Definition: RagTime5StructManager.cxx:2308
virtual std::string getZoneName(int n) const
return the debug name corresponding to a field
Definition: RagTime5StructManager.hxx:312
bool readTypeDefinitions(RagTime5Zone &zone)
try to read a list of type definition
Definition: RagTime5StructManager.cxx:74
bool isMainInput() const
returns true if the input correspond to the basic file
Definition: RagTime5StructManager.hxx:96
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:226
double m_letterSpacings[3]
the spacings in percent ( normal, minimum, maximum)
Definition: RagTime5StructManager.hxx:478
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
long m_longValue[2]
the long value
Definition: RagTime5StructManager.hxx:245
float m_limitPercent
the line limit
Definition: RagTime5StructManager.hxx:382
int m_mitter
the line mitter ( triangle=1, round, out)
Definition: RagTime5StructManager.hxx:380
int m_graphLineStyleId
the graphic line style id
Definition: RagTime5StructManager.hxx:438
float m_width
the line width (in point)
Definition: RagTime5StructManager.hxx:360
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:386
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:221
~RagTime5StructManager()
destructor
Definition: RagTime5StructManager.cxx:51
Definition: RagTime5StructManager.hxx:222
int m_dateStyleId
the date style id
Definition: RagTime5StructManager.hxx:434
MWAWVariable< float > m_scriptPosition
the font script position ( in percent)
Definition: RagTime5StructManager.hxx:468
double m_columnGap
the gap between columns
Definition: RagTime5StructManager.hxx:485
virtual ~TextStyle()
destructor
Definition: RagTime5StructManager.hxx:406
int m_idsFlag[3]
the zone flag
Definition: RagTime5StructManager.hxx:132
int m_variableD[2]
the content of the zone D if it exists
Definition: RagTime5StructManager.hxx:138
double m_margins[3]
the spacings in point ( left, right, first)
Definition: RagTime5StructManager.hxx:453
double m_doubleValue
the double value
Definition: RagTime5StructManager.hxx:247
libmwaw::DebugFile * m_asciiFile
the ascii file corresponding to an input
Definition: RagTime5StructManager.hxx:149
~Field()
destructor
Definition: RagTime5StructManager.hxx:233
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:268
int m_numColumns
the number of columns
Definition: RagTime5StructManager.hxx:483
int m_subType
the zone sub type
Definition: RagTime5StructManager.hxx:118
uint32_t m_fontFlags[2]
the font flags (add and remove )
Definition: RagTime5StructManager.hxx:466
shared_ptr< libmwaw::DebugFile > m_localAsciiFile
the local ascii file ( if we need to create a new input)
Definition: RagTime5StructManager.hxx:151
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
the class to store a color
Definition: libmwaw_internal.hxx:177
MWAWColor m_colors[2]
the first and second color
Definition: RagTime5StructManager.hxx:362
virtual ~RagTime5Zone()
destructor
Definition: RagTime5StructManager.hxx:64
int m_type
the type
Definition: RagTime5StructManager.hxx:215
librevenge::RVNGString m_fontName
the font name
Definition: RagTime5StructManager.hxx:460
float m_fontScaling
the font script position ( in percent)
Definition: RagTime5StructManager.hxx:470
Definition: RagTime5StructManager.hxx:223
TextStyle()
constructor
Definition: RagTime5StructManager.hxx:391
std::vector< double > m_doubleList
the list of double value
Definition: RagTime5StructManager.hxx:255
virtual std::string getZoneName() const
return the debug name corresponding to a zone
Definition: RagTime5StructManager.hxx:307
MWAWVec2f m_gradientCenter
the rotation center(checkme)
Definition: RagTime5StructManager.hxx:374
Definition: RagTime5StructManager.hxx:52
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:301
float m_fontSize
the font size
Definition: RagTime5StructManager.hxx:464
Type m_type
the field type
Definition: RagTime5StructManager.hxx:239
GraphicStyle()
constructor
Definition: RagTime5StructManager.hxx:333
friend std::ostream & operator<<(std::ostream &o, RagTime5Zone const &z)
operator<<
Definition: RagTime5StructManager.cxx:2547
int m_breakMethod
the break method 0: asIs, next container, next page, next even page, next odd page ...
Definition: RagTime5StructManager.hxx:451
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:488
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:260
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:721
bool readField(MWAWInputStreamPtr input, long endPos, libmwaw::DebugFile &ascFile, Field &field, long fSz=0)
try to read a field
Definition: RagTime5StructManager.cxx:281
float m_gradientRotation
the gradient rotation(checkme)
Definition: RagTime5StructManager.hxx:372
Definition: RagTime5StructManager.hxx:222
bool read(MWAWInputStreamPtr &input, Field const &field)
try to read a line style
Definition: RagTime5StructManager.cxx:1439
Definition: RagTime5StructManager.hxx:223
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:140
int m_underline
underline : none, single, double
Definition: RagTime5StructManager.hxx:472
long m_defPosition
the position of the definition in the main zones
Definition: RagTime5StructManager.hxx:120
static bool readUnicodeString(MWAWInputStreamPtr input, long endPos, librevenge::RVNGString &string)
try to read a unicode string
Definition: RagTime5StructManager.cxx:231
Definition: RagTime5StructManager.hxx:52
Definition: RagTime5StructManager.hxx:223
FieldParser & operator=(FieldParser const &orig)
void setAsciiFileName(std::string const &name)
defines the ascii name
Definition: RagTime5StructManager.hxx:108
Definition: RagTime5StructManager.hxx:223
std::string m_kinds[2]
the zone types: normal and packing
Definition: RagTime5StructManager.hxx:122
RagTime5StructManager operator=(RagTime5StructManager const &orig)
std::string m_name
the field type name
Definition: RagTime5StructManager.hxx:243
RagTime5Zone(MWAWInputStreamPtr input, libmwaw::DebugFile &asc)
constructor
Definition: RagTime5StructManager.hxx:54
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:220
float m_colorsAlpha[2]
alpha of the first and second color
Definition: RagTime5StructManager.hxx:364
virtual std::string getZoneName(int n) const
return the debug name corresponding to a field
Definition: RagTime5StructManager.hxx:279
std::vector< long > m_longList
the list of long value
Definition: RagTime5StructManager.hxx:253
bool m_regroupFields
a flag use to decide if we output one debug message by field or not
Definition: RagTime5StructManager.hxx:292
void createAsciiFile()
creates the ascii file
Definition: RagTime5StructManager.cxx:2472
std::string getZoneName() const
returns the zone name
Definition: RagTime5StructManager.cxx:2486
Definition: RagTime5StructManager.hxx:222
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
std::vector< MWAWEntry > m_entriesList
the list of original entries
Definition: RagTime5StructManager.hxx:134
Field()
constructor
Definition: RagTime5StructManager.hxx:227
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:124
Definition: RagTime5StructManager.hxx:222
bool m_hidden
flag to know if we need to print the shape
Definition: RagTime5StructManager.hxx:384
long m_fontId
the font id
Definition: RagTime5StructManager.hxx:462
int m_position
the line position inside=1/normal/outside/round
Definition: RagTime5StructManager.hxx:376
std::vector< TabStop > m_tabList
the tabulations
Definition: RagTime5StructManager.hxx:455
std::string m_name
the field name
Definition: RagTime5StructManager.hxx:295
std::vector< TabStop > m_tabList
the list of tabStop
Definition: RagTime5StructManager.hxx:259
std::string m_name
the zone name ( mainly used for debugging)
Definition: RagTime5StructManager.hxx:126
Definition: RagTime5StructManager.hxx:222
MWAWColor m_color
the color
Definition: RagTime5StructManager.hxx:249
Definition: RagTime5StructManager.hxx:223
int m_graphStyleId
the graphic style id
Definition: RagTime5StructManager.hxx:436
void setInput(MWAWInputStreamPtr input)
reset the current input
Definition: RagTime5StructManager.hxx:90
Definition: RagTime5StructManager.hxx:223
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:265
virtual ~GraphicStyle()
destructor
Definition: RagTime5StructManager.hxx:341
the graphic style of a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:331
the text style of a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:389
float m_position
the position
Definition: RagTime5StructManager.hxx:213
std::vector< int > m_linkIdList
the link id list
Definition: RagTime5StructManager.hxx:432
Definition: RagTime5StructManager.hxx:52
int m_numLongByData
the number of long by data (in m_longList)
Definition: RagTime5StructManager.hxx:257
bool isDefault() const
returns true if the line style is default
Definition: RagTime5StructManager.hxx:345
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
Definition: RagTime5StructManager.hxx:223
Type
the different type
Definition: RagTime5StructManager.hxx:222
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:265
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:303
FileType
the zone file type
Definition: RagTime5StructManager.hxx:52
virtual ~DataParser()
destructor
Definition: RagTime5StructManager.hxx:305
double m_spacings[3]
the interline/before/after value
Definition: RagTime5StructManager.hxx:447
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:260
RagTime5StructManager()
constructor
Definition: RagTime5StructManager.cxx:47
RagTime5Zone & operator=(RagTime5Zone const &orig)
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:158
std::vector< long > m_dash
the line dash/...
Definition: RagTime5StructManager.hxx:366
friend std::ostream & operator<<(std::ostream &o, TabStop const &tab)
operator<<
Definition: RagTime5StructManager.hxx:186
MWAWVariable< bool > m_keepWithNext
the keep with next flag
Definition: RagTime5StructManager.hxx:443
bool m_hiLoEndian
true if the endian is hilo
Definition: RagTime5StructManager.hxx:128
bool m_defaultInput
a flag used to know if the input is or not the default input
Definition: RagTime5StructManager.hxx:145
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:130
int m_gradient
the gradient 0: none, normal, radial
Definition: RagTime5StructManager.hxx:370
DataParser & operator=(DataParser const &orig)
int m_spacingUnits[3]
the interline/before/after unit 0: line, 1:point
Definition: RagTime5StructManager.hxx:449
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:261
virtual bool parseField(Field &field, RagTime5Zone &, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5StructManager.hxx:286
int m_parentId
the parent id
Definition: RagTime5StructManager.hxx:358
Definition: RagTime5StructManager.hxx:222
bool isSet() const
return true if the variable is set
Definition: libmwaw_internal.hxx:522
MWAWInputStreamPtr m_input
the main input
Definition: RagTime5StructManager.hxx:143
MWAWEntry m_entry
entry to defined the position of a String or Unstructured data
Definition: RagTime5StructManager.hxx:263
int m_justify
justify 0: left, 1:center, 2:right, 3:full, 4:full all
Definition: RagTime5StructManager.hxx:445
friend std::ostream & operator<<(std::ostream &o, Field const &field)
operator<<
Definition: RagTime5StructManager.cxx:1325
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:85
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:136
Definition: RagTime5StructManager.hxx:223
virtual bool parseData(MWAWInputStreamPtr &, long, RagTime5Zone &, int, libmwaw::DebugStream &)
parse a data
Definition: RagTime5StructManager.hxx:319
static bool readCompressedLong(MWAWInputStreamPtr &input, long endPos, long &val)
try to read a compressed long
Definition: RagTime5StructManager.cxx:58
bool isDefault() const
returns true if the line style is default
Definition: RagTime5StructManager.hxx:410
int m_caps
caps : none, all caps, lower caps, inital caps + other lowers
Definition: RagTime5StructManager.hxx:474
librevenge::RVNGString m_string
small string use to store a string or a 4 char code
Definition: RagTime5StructManager.hxx:251

Generated on Thu Jul 9 2015 20:26:37 for libmwaw by doxygen 1.8.8