StarWriterStruct.hxx Source File documentation

StarWriterStruct.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/* libstaroffice
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 * StarWriterStruct to read/parse some basic writer structure in StarOffice documents
36 *
37 */
38#ifndef STAR_WRITER_STRUCT
39# define STAR_WRITER_STRUCT
40
41#include <ostream>
42#include <vector>
43
44#include "libstaroffice_internal.hxx"
45
46#include "STOFFDebug.hxx"
47
48namespace StarFormatManagerInternal
49{
50struct FormatDef;
51}
52class StarAttribute;
53class StarObject;
54class StarZone;
55
57namespace StarWriterStruct
58{
61 struct Attribute {
62public:
64 Attribute() : m_attribute(), m_position(-1,-1)
65 {
66 }
67
68 ~Attribute();
70 friend std::ostream &operator<<(std::ostream &o, Attribute const &attribute);
72 bool read(StarZone &zone, StarObject &object);
74 static bool readList(StarZone &zone, std::vector<Attribute> &attributeList, StarObject &object);
76 shared_ptr<StarAttribute> m_attribute;
78 STOFFVec2i m_position;
79};
80
83 class Bookmark
84{
85public:
87 Bookmark() : m_shortName(""), m_name(""), m_offset(0), m_key(0), m_modifier(0)
88 {
89 }
90
91 friend std::ostream &operator<<(std::ostream &o, Bookmark const &mark);
93 bool read(StarZone &zone);
95 static bool readList(StarZone &zone, std::vector<Bookmark> &markList);
97 librevenge::RVNGString m_shortName;
99 librevenge::RVNGString m_name;
101 int m_offset;
103 int m_key;
105 int m_modifier;
107 librevenge::RVNGString m_macroNames[4];
108};
109
112 struct DatabaseName {
113public:
115 DatabaseName() : m_sql(""), m_dataList()
116 {
117 }
118
119 friend std::ostream &operator<<(std::ostream &o, DatabaseName const &databaseName);
121 bool read(StarZone &zone);
123 struct Data {
125 Data() : m_name(""), m_selection(0,0)
126 {
127 }
128
129 friend std::ostream &operator<<(std::ostream &o, Data const &data)
130 {
131 o << data.m_name.cstr() << ",";
132 if (data.m_selection!=STOFFVec2i(0,0)) o << "select=" << STOFFVec2i(0,0) << ",";
133 return o;
134 }
135
136 librevenge::RVNGString m_name;
138 STOFFVec2i m_selection;
139 };
140
141 librevenge::RVNGString m_names[2];
143 librevenge::RVNGString m_sql;
145 std::vector<Data> m_dataList;
146};
147
150 struct Dictionary {
151public:
153 Dictionary() : m_dataList()
154 {
155 }
156
157 friend std::ostream &operator<<(std::ostream &o, Dictionary const &dictionary);
159 bool read(StarZone &zone);
161 struct Data {
163 Data() : m_name(""), m_language(0), m_id(0), m_spellWrong(true)
164 {
165 }
166
167 friend std::ostream &operator<<(std::ostream &o, Data const &data)
168 {
169 o << data.m_name.cstr() << ",";
170 if (data.m_language) o << "language=" << data.m_language << ",";
171 if (data.m_id) o << "id=" << data.m_id << ",";
172 if (data.m_spellWrong) o << "spellWrong,";
173 return o;
174 }
175
176 librevenge::RVNGString m_name;
178 int m_language;
180 int m_id;
182 bool m_spellWrong;
183 };
184
185 std::vector<Data> m_dataList;
186};
187
190 struct DocStats {
191public:
193 DocStats() : m_isModified(false)
194 {
195 for (int i=0; i<7; ++i) m_numbers[i]=0;
196 }
197
198 friend std::ostream &operator<<(std::ostream &o, DocStats const &docStats);
200 bool read(StarZone &zone);
202 long m_numbers[7];
204 bool m_isModified;
205};
206
209 struct Macro {
210public:
212 Macro() : m_key(0), m_scriptType(0)
213 {
214 }
215
216 friend std::ostream &operator<<(std::ostream &o, Macro const &macro);
218 bool read(StarZone &zone);
220 static bool readList(StarZone &zone, std::vector<Macro> &macroLis);
222 int m_key;
224 librevenge::RVNGString m_names[2];
226 int m_scriptType;
227};
228
231 struct Mark {
232public:
234 Mark() : m_type(-1), m_id(-1), m_offset(-1)
235 {
236 }
237
238 friend std::ostream &operator<<(std::ostream &o, Mark const &mark);
240 bool read(StarZone &zone);
242 int m_type;
244 int m_id;
246 int m_offset;
247};
248
251 struct NodeRedline {
252public:
254 NodeRedline() : m_id(-1), m_offset(-1), m_flags(0)
255 {
256 }
257
258 friend std::ostream &operator<<(std::ostream &o, NodeRedline const &nodeRedline);
260 bool read(StarZone &zone);
262 int m_id;
264 int m_offset;
266 int m_flags;
267};
268
271 struct NoteInfo {
272public:
274 explicit NoteInfo(bool isFootnote) : m_isFootnote(isFootnote), m_type(0), m_ftnOffset(0), m_posType(0), m_numType(0)
275 {
276 for (int i=0; i<4; ++i) m_idx[i]=0xFFFF;
277 }
278
279 friend std::ostream &operator<<(std::ostream &o, NoteInfo const &noteInfo);
281 bool read(StarZone &zone);
283 bool m_isFootnote;
285 int m_type;
287 int m_idx[4];
289 int m_ftnOffset;
291 librevenge::RVNGString m_strings[4];
293 int m_posType;
295 int m_numType;
296};
297
300 struct PrintData {
301public:
303 PrintData() : m_flags(0), m_colRow(1,1)
304 {
305 for (int i=0; i<6; ++i) m_spacings[i]=0;
306 }
307
308 friend std::ostream &operator<<(std::ostream &o, PrintData const &printData);
310 bool read(StarZone &zone);
312 int m_flags;
314 STOFFVec2i m_colRow;
316 int m_spacings[6];
317};
318
321 struct Redline {
322public:
324 Redline() : m_type(0), m_stringId(0), m_date(0), m_time(0), m_comment()
325 {
326 }
327
328 friend std::ostream &operator<<(std::ostream &o, Redline const &redline);
330 bool read(StarZone &zone);
332 static bool readList(StarZone &zone, std::vector<Redline> &redlineList);
334 static bool readListList(StarZone &zone, std::vector<std::vector<Redline> > &redlineListList);
336 int m_type;
338 int m_stringId;
340 long m_date;
342 long m_time;
344 librevenge::RVNGString m_comment;
345};
346
349 struct TOX {
350public:
352 TOX() : m_type(0), m_createType(0), m_captionDisplay(0), m_styleId(0xFFFF), m_data(0), m_formFlags(0)
353 , m_title(""), m_name(""), m_OLEOptions(0), m_stringIdList(), m_styleList(), m_titleLength(), m_formatList()
354 {
355 for (int i=0; i<3; ++i) m_stringIds[i]=0xFFFF;
356 }
357
358 ~TOX();
360 friend std::ostream &operator<<(std::ostream &o, TOX const &tox);
362 bool read(StarZone &zone, StarObject &object);
364 static bool readList(StarZone &zone, std::vector<TOX> &toxList, StarObject &object);
365
367 struct Style {
369 Style() : m_level(0), m_names()
370 {
371 }
372
373 friend std::ostream &operator<<(std::ostream &o, Style const &style)
374 {
375 o << "level=" << style.m_level << ",";
376 if (!style.m_names.empty()) {
377 o << "names=[";
378 for (size_t i=0; i<style.m_names.size(); ++i) o << style.m_names[i].cstr() << ",";
379 o << "],";
380 }
381 return o;
382 }
383
384 int m_level;
386 std::vector<librevenge::RVNGString> m_names;
387 };
388
389 int m_type;
391 int m_createType;
393 int m_captionDisplay;
395 int m_stringIds[3];
397 int m_styleId;
399 int m_data;
401 int m_formFlags;
403 librevenge::RVNGString m_title;
405 librevenge::RVNGString m_name;
407 int m_OLEOptions;
409 std::vector<int> m_stringIdList;
411 std::vector<Style> m_styleList;
413 long m_titleLength;
415 std::vector<shared_ptr<StarFormatManagerInternal::FormatDef> > m_formatList;
416};
417
420 struct TOX51 {
421public:
423 TOX51() : m_typeName(""), m_type(0), m_createType(0), m_firstTabPos(0), m_title(""), m_patternList(), m_stringIdList(), m_infLevel(0)
424 {
425 }
426
427 ~TOX51();
429 friend std::ostream &operator<<(std::ostream &o, TOX51 const &tox);
431 bool read(StarZone &zone, StarObject &object);
433 static bool readList(StarZone &zone, std::vector<TOX51> &toxList, StarObject &object);
434
436 librevenge::RVNGString m_typeName;
438 int m_type;
440 int m_createType;
442 int m_firstTabPos;
444 librevenge::RVNGString m_title;
446 std::vector<librevenge::RVNGString> m_patternList;
448 std::vector<int> m_stringIdList;
450 int m_infLevel;
451};
452
453}
454#endif
455// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
STOFFDebug.hxx
StarAttribute
virtual class used to store the different attribute
Definition StarAttribute.hxx:63
StarObject
an object corresponding to an OLE directory
Definition StarObject.hxx:65
StarWriterStruct::Bookmark
structure to store a bookmark
Definition StarWriterStruct.hxx:84
StarWriterStruct::Bookmark::m_key
int m_key
the key
Definition StarWriterStruct.hxx:103
StarWriterStruct::Bookmark::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:101
StarWriterStruct::Bookmark::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:99
StarWriterStruct::Bookmark::readList
static bool readList(StarZone &zone, std::vector< Bookmark > &markList)
try to read a list of bookmark
Definition StarWriterStruct.cxx:207
StarWriterStruct::Bookmark::m_modifier
int m_modifier
the modifier
Definition StarWriterStruct.hxx:105
StarWriterStruct::Bookmark::m_macroNames
librevenge::RVNGString m_macroNames[4]
the macros names
Definition StarWriterStruct.hxx:107
StarWriterStruct::Bookmark::operator<<
friend std::ostream & operator<<(std::ostream &o, Bookmark const &mark)
operator<<
Definition StarWriterStruct.cxx:238
StarWriterStruct::Bookmark::Bookmark
Bookmark()
the constructor
Definition StarWriterStruct.hxx:87
StarWriterStruct::Bookmark::read
bool read(StarZone &zone)
try to read a mark
Definition StarWriterStruct.cxx:153
StarWriterStruct::Bookmark::m_shortName
librevenge::RVNGString m_shortName
the shortname
Definition StarWriterStruct.hxx:97
StarZone
a zone in a StarOffice file
Definition StarZone.hxx:57
libstaroffice_internal.hxx
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition libstaroffice_internal.hxx:748
StarFormatManagerInternal
Internal: the structures of a StarFormatManager.
Definition StarFormatManager.cxx:58
StarWriterStruct
namespace use to keep basic writer structure
Definition StarWriterStruct.cxx:49
StarFormatManagerInternal::FormatDef
Definition StarFormatManager.hxx:54
StarWriterStruct::Attribute
struct use an attribute and a position
Definition StarWriterStruct.hxx:61
StarWriterStruct::Attribute::m_position
STOFFVec2i m_position
the begin/end position
Definition StarWriterStruct.hxx:78
StarWriterStruct::Attribute::read
bool read(StarZone &zone, StarObject &object)
try to read a attribute: 'A'
Definition StarWriterStruct.cxx:57
StarWriterStruct::Attribute::~Attribute
~Attribute()
destructor
Definition StarWriterStruct.cxx:53
StarWriterStruct::Attribute::Attribute
Attribute()
constructor
Definition StarWriterStruct.hxx:64
StarWriterStruct::Attribute::m_attribute
shared_ptr< StarAttribute > m_attribute
the attribute
Definition StarWriterStruct.hxx:76
StarWriterStruct::Attribute::readList
static bool readList(StarZone &zone, std::vector< Attribute > &attributeList, StarObject &object)
try to read a list of attribute: 'S'
Definition StarWriterStruct.cxx:107
StarWriterStruct::Attribute::operator<<
friend std::ostream & operator<<(std::ostream &o, Attribute const &attribute)
operator<<
Definition StarWriterStruct.cxx:137
StarWriterStruct::DatabaseName::Data::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:136
StarWriterStruct::DatabaseName::Data::m_selection
STOFFVec2i m_selection
the start/end position
Definition StarWriterStruct.hxx:138
StarWriterStruct::DatabaseName::Data::Data
Data()
constructor
Definition StarWriterStruct.hxx:125
StarWriterStruct::DatabaseName::Data::operator<<
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition StarWriterStruct.hxx:129
StarWriterStruct::DatabaseName
structure to store a databaseName in a text zone
Definition StarWriterStruct.hxx:112
StarWriterStruct::DatabaseName::operator<<
friend std::ostream & operator<<(std::ostream &o, DatabaseName const &databaseName)
operator<<
Definition StarWriterStruct.cxx:343
StarWriterStruct::DatabaseName::DatabaseName
DatabaseName()
constructor
Definition StarWriterStruct.hxx:115
StarWriterStruct::DatabaseName::m_sql
librevenge::RVNGString m_sql
the SQL string
Definition StarWriterStruct.hxx:143
StarWriterStruct::DatabaseName::m_dataList
std::vector< Data > m_dataList
the list of data
Definition StarWriterStruct.hxx:145
StarWriterStruct::DatabaseName::m_names
librevenge::RVNGString m_names[2]
the names: database, table
Definition StarWriterStruct.hxx:141
StarWriterStruct::DatabaseName::read
bool read(StarZone &zone)
try to read a databaseName: 'D'
Definition StarWriterStruct.cxx:255
StarWriterStruct::Dictionary::Data::Data
Data()
constructor
Definition StarWriterStruct.hxx:163
StarWriterStruct::Dictionary::Data::m_language
int m_language
the language
Definition StarWriterStruct.hxx:178
StarWriterStruct::Dictionary::Data::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:176
StarWriterStruct::Dictionary::Data::m_id
int m_id
the id
Definition StarWriterStruct.hxx:180
StarWriterStruct::Dictionary::Data::m_spellWrong
bool m_spellWrong
a flag to know if we do spell or not
Definition StarWriterStruct.hxx:182
StarWriterStruct::Dictionary::Data::operator<<
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition StarWriterStruct.hxx:167
StarWriterStruct::Dictionary
structure to store a dictionary in a text zone
Definition StarWriterStruct.hxx:150
StarWriterStruct::Dictionary::m_dataList
std::vector< Data > m_dataList
the list of data
Definition StarWriterStruct.hxx:185
StarWriterStruct::Dictionary::operator<<
friend std::ostream & operator<<(std::ostream &o, Dictionary const &dictionary)
operator<<
Definition StarWriterStruct.cxx:401
StarWriterStruct::Dictionary::read
bool read(StarZone &zone)
try to read a dictionary: 'j'
Definition StarWriterStruct.cxx:363
StarWriterStruct::Dictionary::Dictionary
Dictionary()
constructor
Definition StarWriterStruct.hxx:153
StarWriterStruct::DocStats
the doc statistic
Definition StarWriterStruct.hxx:190
StarWriterStruct::DocStats::operator<<
friend std::ostream & operator<<(std::ostream &o, DocStats const &docStats)
operator<<
Definition StarWriterStruct.cxx:447
StarWriterStruct::DocStats::m_isModified
bool m_isModified
modified flags
Definition StarWriterStruct.hxx:204
StarWriterStruct::DocStats::m_numbers
long m_numbers[7]
the list of number: tbl, graf, ole, page, para, word, char
Definition StarWriterStruct.hxx:202
StarWriterStruct::DocStats::read
bool read(StarZone &zone)
try to read a docStats: 'd'
Definition StarWriterStruct.cxx:415
StarWriterStruct::DocStats::DocStats
DocStats()
constructor
Definition StarWriterStruct.hxx:193
StarWriterStruct::Macro
structure to store a macro in a text zone
Definition StarWriterStruct.hxx:209
StarWriterStruct::Macro::m_scriptType
int m_scriptType
the scriptType
Definition StarWriterStruct.hxx:226
StarWriterStruct::Macro::Macro
Macro()
constructor
Definition StarWriterStruct.hxx:212
StarWriterStruct::Macro::m_names
librevenge::RVNGString m_names[2]
the names
Definition StarWriterStruct.hxx:224
StarWriterStruct::Macro::m_key
int m_key
the key
Definition StarWriterStruct.hxx:222
StarWriterStruct::Macro::operator<<
friend std::ostream & operator<<(std::ostream &o, Macro const &macro)
operator<<
Definition StarWriterStruct.cxx:526
StarWriterStruct::Macro::read
bool read(StarZone &zone)
try to read a macro: 'm'
Definition StarWriterStruct.cxx:460
StarWriterStruct::Macro::readList
static bool readList(StarZone &zone, std::vector< Macro > &macroLis)
try to read a list of macro: 'M'
Definition StarWriterStruct.cxx:495
StarWriterStruct::Mark
structure to store a mark in a text zone
Definition StarWriterStruct.hxx:231
StarWriterStruct::Mark::m_id
int m_id
the id
Definition StarWriterStruct.hxx:244
StarWriterStruct::Mark::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:246
StarWriterStruct::Mark::read
bool read(StarZone &zone)
try to read a mark
Definition StarWriterStruct.cxx:540
StarWriterStruct::Mark::Mark
Mark()
constructor
Definition StarWriterStruct.hxx:234
StarWriterStruct::Mark::operator<<
friend std::ostream & operator<<(std::ostream &o, Mark const &mark)
operator<<
Definition StarWriterStruct.cxx:564
StarWriterStruct::Mark::m_type
int m_type
the type: 2: bookmark-start, 3:bookmark-end
Definition StarWriterStruct.hxx:242
StarWriterStruct::NodeRedline
structure to store a nodeRedline in a text zone
Definition StarWriterStruct.hxx:251
StarWriterStruct::NodeRedline::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:264
StarWriterStruct::NodeRedline::read
bool read(StarZone &zone)
try to read a nodeRedline
Definition StarWriterStruct.cxx:575
StarWriterStruct::NodeRedline::m_flags
int m_flags
the flags
Definition StarWriterStruct.hxx:266
StarWriterStruct::NodeRedline::operator<<
friend std::ostream & operator<<(std::ostream &o, NodeRedline const &nodeRedline)
operator<<
Definition StarWriterStruct.cxx:600
StarWriterStruct::NodeRedline::NodeRedline
NodeRedline()
constructor
Definition StarWriterStruct.hxx:254
StarWriterStruct::NodeRedline::m_id
int m_id
the id
Definition StarWriterStruct.hxx:262
StarWriterStruct::NoteInfo
structure to store a endnoteInfo or a footnoteInfo in a text zone
Definition StarWriterStruct.hxx:271
StarWriterStruct::NoteInfo::NoteInfo
NoteInfo(bool isFootnote)
constructor
Definition StarWriterStruct.hxx:274
StarWriterStruct::NoteInfo::m_numType
int m_numType
the numType
Definition StarWriterStruct.hxx:295
StarWriterStruct::NoteInfo::operator<<
friend std::ostream & operator<<(std::ostream &o, NoteInfo const &noteInfo)
operator<<
Definition StarWriterStruct.cxx:696
StarWriterStruct::NoteInfo::m_type
int m_type
the type
Definition StarWriterStruct.hxx:285
StarWriterStruct::NoteInfo::read
bool read(StarZone &zone)
try to read a noteInfo
Definition StarWriterStruct.cxx:612
StarWriterStruct::NoteInfo::m_ftnOffset
int m_ftnOffset
the ftnOffset
Definition StarWriterStruct.hxx:289
StarWriterStruct::NoteInfo::m_idx
int m_idx[4]
the list of idx: the page, the coll, the char and the anchorChar
Definition StarWriterStruct.hxx:287
StarWriterStruct::NoteInfo::m_posType
int m_posType
the posType
Definition StarWriterStruct.hxx:293
StarWriterStruct::NoteInfo::m_strings
librevenge::RVNGString m_strings[4]
the strings: prefix, suffix, quoValis, ergoSum
Definition StarWriterStruct.hxx:291
StarWriterStruct::NoteInfo::m_isFootnote
bool m_isFootnote
a flag to know if this corresponds to a footnote or a endnote
Definition StarWriterStruct.hxx:283
StarWriterStruct::PrintData
the doc statistic
Definition StarWriterStruct.hxx:300
StarWriterStruct::PrintData::m_spacings
int m_spacings[6]
the spaces: left, right, top, bottom, horizontal, verticals
Definition StarWriterStruct.hxx:316
StarWriterStruct::PrintData::m_flags
int m_flags
the flags
Definition StarWriterStruct.hxx:312
StarWriterStruct::PrintData::PrintData
PrintData()
constructor
Definition StarWriterStruct.hxx:303
StarWriterStruct::PrintData::read
bool read(StarZone &zone)
try to read a printData: '8'
Definition StarWriterStruct.cxx:719
StarWriterStruct::PrintData::m_colRow
STOFFVec2i m_colRow
the row, col dim
Definition StarWriterStruct.hxx:314
StarWriterStruct::PrintData::operator<<
friend std::ostream & operator<<(std::ostream &o, PrintData const &printData)
operator<<
Definition StarWriterStruct.cxx:745
StarWriterStruct::Redline
structure to store a redline in a text zone
Definition StarWriterStruct.hxx:321
StarWriterStruct::Redline::operator<<
friend std::ostream & operator<<(std::ostream &o, Redline const &redline)
operator<<
Definition StarWriterStruct.cxx:861
StarWriterStruct::Redline::readListList
static bool readListList(StarZone &zone, std::vector< std::vector< Redline > > &redlineListList)
try to read a list of list of redline : V
Definition StarWriterStruct.cxx:829
StarWriterStruct::Redline::m_date
long m_date
the date
Definition StarWriterStruct.hxx:340
StarWriterStruct::Redline::m_stringId
int m_stringId
the stringId
Definition StarWriterStruct.hxx:338
StarWriterStruct::Redline::m_comment
librevenge::RVNGString m_comment
the comment
Definition StarWriterStruct.hxx:344
StarWriterStruct::Redline::m_time
long m_time
the time
Definition StarWriterStruct.hxx:342
StarWriterStruct::Redline::read
bool read(StarZone &zone)
try to read a redline : D
Definition StarWriterStruct.cxx:760
StarWriterStruct::Redline::Redline
Redline()
constructor
Definition StarWriterStruct.hxx:324
StarWriterStruct::Redline::readList
static bool readList(StarZone &zone, std::vector< Redline > &redlineList)
try to read a list of redline : R
Definition StarWriterStruct.cxx:794
StarWriterStruct::Redline::m_type
int m_type
the type
Definition StarWriterStruct.hxx:336
StarWriterStruct::TOX51
structure to store a TOX51 in a text zone
Definition StarWriterStruct.hxx:420
StarWriterStruct::TOX51::readList
static bool readList(StarZone &zone, std::vector< TOX51 > &toxList, StarObject &object)
try to read a list of TOX51
Definition StarWriterStruct.cxx:1160
StarWriterStruct::TOX51::m_firstTabPos
int m_firstTabPos
the firstTabPos
Definition StarWriterStruct.hxx:442
StarWriterStruct::TOX51::m_type
int m_type
the type
Definition StarWriterStruct.hxx:438
StarWriterStruct::TOX51::m_stringIdList
std::vector< int > m_stringIdList
a list of template string ids
Definition StarWriterStruct.hxx:448
StarWriterStruct::TOX51::m_title
librevenge::RVNGString m_title
the title
Definition StarWriterStruct.hxx:444
StarWriterStruct::TOX51::read
bool read(StarZone &zone, StarObject &object)
try to read a TOX51
Definition StarWriterStruct.cxx:1083
StarWriterStruct::TOX51::m_createType
int m_createType
the createType
Definition StarWriterStruct.hxx:440
StarWriterStruct::TOX51::~TOX51
~TOX51()
destructor
Definition StarWriterStruct.cxx:1079
StarWriterStruct::TOX51::operator<<
friend std::ostream & operator<<(std::ostream &o, TOX51 const &tox)
operator<<
Definition StarWriterStruct.cxx:1191
StarWriterStruct::TOX51::m_patternList
std::vector< librevenge::RVNGString > m_patternList
the pattern list
Definition StarWriterStruct.hxx:446
StarWriterStruct::TOX51::m_infLevel
int m_infLevel
the inf level
Definition StarWriterStruct.hxx:450
StarWriterStruct::TOX51::TOX51
TOX51()
constructor
Definition StarWriterStruct.hxx:423
StarWriterStruct::TOX51::m_typeName
librevenge::RVNGString m_typeName
the typeName
Definition StarWriterStruct.hxx:436
StarWriterStruct::TOX::Style::operator<<
friend std::ostream & operator<<(std::ostream &o, Style const &style)
operator<<
Definition StarWriterStruct.hxx:373
StarWriterStruct::TOX::Style::m_names
std::vector< librevenge::RVNGString > m_names
the list of names
Definition StarWriterStruct.hxx:386
StarWriterStruct::TOX::Style::Style
Style()
constructor
Definition StarWriterStruct.hxx:369
StarWriterStruct::TOX::Style::m_level
int m_level
the level
Definition StarWriterStruct.hxx:384
StarWriterStruct::TOX
structure to store a TOX in a text zone
Definition StarWriterStruct.hxx:349
StarWriterStruct::TOX::m_type
int m_type
the type
Definition StarWriterStruct.hxx:389
StarWriterStruct::TOX::m_title
librevenge::RVNGString m_title
the title
Definition StarWriterStruct.hxx:403
StarWriterStruct::TOX::m_stringIds
int m_stringIds[3]
the string id, the seq string id, the sect string id
Definition StarWriterStruct.hxx:395
StarWriterStruct::TOX::m_formFlags
int m_formFlags
the format flags?
Definition StarWriterStruct.hxx:401
StarWriterStruct::TOX::TOX
TOX()
constructor
Definition StarWriterStruct.hxx:352
StarWriterStruct::TOX::~TOX
~TOX()
destructor
Definition StarWriterStruct.cxx:874
StarWriterStruct::TOX::m_data
int m_data
the number of data?
Definition StarWriterStruct.hxx:399
StarWriterStruct::TOX::readList
static bool readList(StarZone &zone, std::vector< TOX > &toxList, StarObject &object)
try to read a list of TOX
Definition StarWriterStruct.cxx:1008
StarWriterStruct::TOX::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:405
StarWriterStruct::TOX::m_captionDisplay
int m_captionDisplay
the captionDisplay
Definition StarWriterStruct.hxx:393
StarWriterStruct::TOX::m_formatList
std::vector< shared_ptr< StarFormatManagerInternal::FormatDef > > m_formatList
the format
Definition StarWriterStruct.hxx:415
StarWriterStruct::TOX::m_styleId
int m_styleId
the style id
Definition StarWriterStruct.hxx:397
StarWriterStruct::TOX::m_stringIdList
std::vector< int > m_stringIdList
a list of template string ids
Definition StarWriterStruct.hxx:409
StarWriterStruct::TOX::m_createType
int m_createType
the createType
Definition StarWriterStruct.hxx:391
StarWriterStruct::TOX::m_OLEOptions
int m_OLEOptions
the ole options
Definition StarWriterStruct.hxx:407
StarWriterStruct::TOX::m_titleLength
long m_titleLength
the title length
Definition StarWriterStruct.hxx:413
StarWriterStruct::TOX::read
bool read(StarZone &zone, StarObject &object)
try to read a TOX
Definition StarWriterStruct.cxx:878
StarWriterStruct::TOX::m_styleList
std::vector< Style > m_styleList
a list of style names?
Definition StarWriterStruct.hxx:411
StarWriterStruct::TOX::operator<<
friend std::ostream & operator<<(std::ostream &o, TOX const &tox)
operator<<
Definition StarWriterStruct.cxx:1039