38 #ifndef STAR_WRITER_STRUCT 39 # define STAR_WRITER_STRUCT 74 static bool readList(
StarZone &zone, std::vector<Attribute> &attributeList,
StarObject &
object);
87 Bookmark() : m_shortName(
""), m_name(
""), m_offset(0), m_key(0), m_modifier(0)
95 static bool readList(
StarZone &zone, std::vector<Bookmark> &markList);
107 librevenge::RVNGString m_macroNames[4];
125 Data() : m_name(
""), m_selection(0,0)
131 o << data.
m_name.cstr() <<
",";
141 librevenge::RVNGString m_names[2];
163 Data() : m_name(
""), m_language(0), m_id(0), m_spellWrong(true)
169 o << data.
m_name.cstr() <<
",";
171 if (data.
m_id) o <<
"id=" << data.
m_id <<
",";
195 for (
int i=0; i<7; ++i) m_numbers[i]=0;
220 static bool readList(
StarZone &zone, std::vector<Macro> ¯oLis);
224 librevenge::RVNGString m_names[2];
234 Mark() : m_type(-1), m_id(-1), m_offset(-1)
238 friend std::ostream &
operator<<(std::ostream &o,
Mark const &mark);
274 explicit NoteInfo(
bool isFootnote) : m_isFootnote(isFootnote), m_type(0), m_ftnOffset(0), m_posType(0), m_numType(0)
276 for (
int i=0; i<4; ++i) m_idx[i]=0xFFFF;
291 librevenge::RVNGString m_strings[4];
305 for (
int i=0; i<6; ++i) m_spacings[i]=0;
324 Redline() : m_type(0), m_stringId(0), m_date(0), m_time(0), m_comment()
332 static bool readList(
StarZone &zone, std::vector<Redline> &redlineList);
334 static bool readListList(
StarZone &zone, std::vector<std::vector<Redline> > &redlineListList);
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()
355 for (
int i=0; i<3; ++i) m_stringIds[i]=0xFFFF;
360 friend std::ostream &
operator<<(std::ostream &o,
TOX const &tox);
375 o <<
"level=" << style.
m_level <<
",";
378 for (
size_t i=0; i<style.
m_names.size(); ++i) o << style.
m_names[i].cstr() <<
",";
415 std::vector<shared_ptr<StarFormatManagerInternal::FormatDef> >
m_formatList;
423 TOX51() : m_typeName(
""), m_type(0), m_createType(0), m_firstTabPos(0), m_title(
""), m_patternList(), m_stringIdList(), m_infLevel(0)
433 static bool readList(
StarZone &zone, std::vector<TOX51> &toxList,
StarObject &
object);
long m_date
the date
Definition: StarWriterStruct.hxx:340
int m_id
the id
Definition: StarWriterStruct.hxx:262
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:405
the doc statistic
Definition: StarWriterStruct.hxx:300
struct use an attribute and a position
Definition: StarWriterStruct.hxx:61
TOX51()
constructor
Definition: StarWriterStruct.hxx:423
int m_captionDisplay
the captionDisplay
Definition: StarWriterStruct.hxx:393
int m_type
the type: 2: bookmark-start, 3:bookmark-end
Definition: StarWriterStruct.hxx:242
int m_styleId
the style id
Definition: StarWriterStruct.hxx:397
structure to store a TOX in a text zone
Definition: StarWriterStruct.hxx:349
the doc statistic
Definition: StarWriterStruct.hxx:190
int m_infLevel
the inf level
Definition: StarWriterStruct.hxx:450
int m_key
the key
Definition: StarWriterStruct.hxx:103
NoteInfo(bool isFootnote)
constructor
Definition: StarWriterStruct.hxx:274
bool m_isFootnote
a flag to know if this corresponds to a footnote or a endnote
Definition: StarWriterStruct.hxx:283
int m_data
the number of data?
Definition: StarWriterStruct.hxx:399
bool m_isModified
modified flags
Definition: StarWriterStruct.hxx:204
DatabaseName()
constructor
Definition: StarWriterStruct.hxx:115
structure to store a bookmark
Definition: StarWriterStruct.hxx:83
int m_scriptType
the scriptType
Definition: StarWriterStruct.hxx:226
int m_offset
the offset
Definition: StarWriterStruct.hxx:246
structure to store a TOX51 in a text zone
Definition: StarWriterStruct.hxx:420
structure to store a macro in a text zone
Definition: StarWriterStruct.hxx:209
librevenge::RVNGString m_title
the title
Definition: StarWriterStruct.hxx:403
std::vector< Data > m_dataList
the list of data
Definition: StarWriterStruct.hxx:145
PrintData()
constructor
Definition: StarWriterStruct.hxx:303
long m_titleLength
the title length
Definition: StarWriterStruct.hxx:413
librevenge::RVNGString m_shortName
the shortname
Definition: StarWriterStruct.hxx:97
structure to store a redline in a text zone
Definition: StarWriterStruct.hxx:321
std::vector< librevenge::RVNGString > m_names
the list of names
Definition: StarWriterStruct.hxx:386
std::ostream & operator<<(std::ostream &o, STOFFColor const &c)
Definition: libstaroffice_internal.cxx:213
Style()
constructor
Definition: StarWriterStruct.hxx:369
int m_language
the language
Definition: StarWriterStruct.hxx:178
shared_ptr< StarAttribute > m_attribute
the attribute
Definition: StarWriterStruct.hxx:76
Attribute()
constructor
Definition: StarWriterStruct.hxx:64
structure to store a nodeRedline in a text zone
Definition: StarWriterStruct.hxx:251
STOFFVec2i m_colRow
the row, col dim
Definition: StarWriterStruct.hxx:314
Mark()
constructor
Definition: StarWriterStruct.hxx:234
Macro()
constructor
Definition: StarWriterStruct.hxx:212
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition: StarWriterStruct.hxx:167
int m_type
the type
Definition: StarWriterStruct.hxx:389
std::vector< librevenge::RVNGString > m_patternList
the pattern list
Definition: StarWriterStruct.hxx:446
int m_formFlags
the format flags?
Definition: StarWriterStruct.hxx:401
librevenge::RVNGString m_sql
the SQL string
Definition: StarWriterStruct.hxx:143
int m_OLEOptions
the ole options
Definition: StarWriterStruct.hxx:407
int m_id
the id
Definition: StarWriterStruct.hxx:180
std::vector< int > m_stringIdList
a list of template string ids
Definition: StarWriterStruct.hxx:448
namespace use to keep basic writer structure
Definition: StarWriterStruct.cxx:48
librevenge::RVNGString m_typeName
the typeName
Definition: StarWriterStruct.hxx:436
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:176
int m_createType
the createType
Definition: StarWriterStruct.hxx:440
int m_id
the id
Definition: StarWriterStruct.hxx:244
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
bool m_spellWrong
a flag to know if we do spell or not
Definition: StarWriterStruct.hxx:182
Bookmark()
the constructor
Definition: StarWriterStruct.hxx:87
DocStats()
constructor
Definition: StarWriterStruct.hxx:193
STOFFVec2i m_selection
the start/end position
Definition: StarWriterStruct.hxx:138
std::vector< shared_ptr< StarFormatManagerInternal::FormatDef > > m_formatList
the format
Definition: StarWriterStruct.hxx:415
a data of a DatabaseName
Definition: StarWriterStruct.hxx:123
TOX()
constructor
Definition: StarWriterStruct.hxx:352
std::vector< Style > m_styleList
a list of style names?
Definition: StarWriterStruct.hxx:411
int m_type
the type
Definition: StarWriterStruct.hxx:438
Data()
constructor
Definition: StarWriterStruct.hxx:125
int m_key
the key
Definition: StarWriterStruct.hxx:222
int m_posType
the posType
Definition: StarWriterStruct.hxx:293
friend std::ostream & operator<<(std::ostream &o, Style const &style)
operator<<
Definition: StarWriterStruct.hxx:373
Redline()
constructor
Definition: StarWriterStruct.hxx:324
a style
Definition: StarWriterStruct.hxx:367
long m_time
the time
Definition: StarWriterStruct.hxx:342
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:762
int m_stringId
the stringId
Definition: StarWriterStruct.hxx:338
int m_numType
the numType
Definition: StarWriterStruct.hxx:295
int m_createType
the createType
Definition: StarWriterStruct.hxx:391
Data()
constructor
Definition: StarWriterStruct.hxx:163
int m_flags
the flags
Definition: StarWriterStruct.hxx:312
a data of a Dictionary
Definition: StarWriterStruct.hxx:161
int m_offset
the offset
Definition: StarWriterStruct.hxx:101
librevenge::RVNGString m_comment
the comment
Definition: StarWriterStruct.hxx:344
NodeRedline()
constructor
Definition: StarWriterStruct.hxx:254
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:136
std::vector< int > m_stringIdList
a list of template string ids
Definition: StarWriterStruct.hxx:409
int m_offset
the offset
Definition: StarWriterStruct.hxx:264
int m_type
the type
Definition: StarWriterStruct.hxx:285
structure to store a dictionary in a text zone
Definition: StarWriterStruct.hxx:150
librevenge::RVNGString m_title
the title
Definition: StarWriterStruct.hxx:444
structure to store a endnoteInfo or a footnoteInfo in a text zone
Definition: StarWriterStruct.hxx:271
int m_level
the level
Definition: StarWriterStruct.hxx:384
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition: StarWriterStruct.hxx:129
Dictionary()
constructor
Definition: StarWriterStruct.hxx:153
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:99
a zone in a StarOffice file
Definition: StarZone.hxx:56
structure to store a mark in a text zone
Definition: StarWriterStruct.hxx:231
int m_type
the type
Definition: StarWriterStruct.hxx:336
int m_modifier
the modifier
Definition: StarWriterStruct.hxx:105
std::vector< Data > m_dataList
the list of data
Definition: StarWriterStruct.hxx:185
int m_firstTabPos
the firstTabPos
Definition: StarWriterStruct.hxx:442
int m_ftnOffset
the ftnOffset
Definition: StarWriterStruct.hxx:289
STOFFVec2i m_position
the begin/end position
Definition: StarWriterStruct.hxx:78
int m_flags
the flags
Definition: StarWriterStruct.hxx:266
structure to store a databaseName in a text zone
Definition: StarWriterStruct.hxx:112