Go to the documentation of this file.
38 #ifndef STAR_WRITER_STRUCT
39 # define STAR_WRITER_STRUCT
142 o << data.
m_name.cstr() <<
",";
185 o << data.
m_name.cstr() <<
",";
187 if (data.
m_id) o <<
"id=" << data.
m_id <<
",";
260 friend std::ostream &
operator<<(std::ostream &o,
Mark const &mark);
306 for (
int &i :
m_idx) i=0xFFFF;
409 friend std::ostream &
operator<<(std::ostream &o,
TOX const &tox);
426 o <<
"level=" << style.
m_level <<
",";
429 for (
auto const &name : style.
m_names) o << name.cstr() <<
",";
466 std::vector<std::shared_ptr<StarFormatManagerInternal::FormatDef> >
m_formatList;
int m_captionDisplay
the captionDisplay
Definition: StarWriterStruct.hxx:444
librevenge::RVNGString m_title
the title
Definition: StarWriterStruct.hxx:503
static bool readList(StarZone &zone, std::vector< Macro > ¯oLis)
try to read a list of macro: 'M'
Definition: StarWriterStruct.cxx:495
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
bool m_isModified
modified flags
Definition: StarWriterStruct.hxx:221
DatabaseName()
constructor
Definition: StarWriterStruct.hxx:122
librevenge::RVNGString m_names[2]
the names: database, table
Definition: StarWriterStruct.hxx:152
structure to store a bookmark
Definition: StarWriterStruct.hxx:85
bool read(StarZone &zone)
try to read a macro: 'm'
Definition: StarWriterStruct.cxx:460
int m_language
the language
Definition: StarWriterStruct.hxx:194
librevenge::RVNGString m_comment
the comment
Definition: StarWriterStruct.hxx:381
bool m_spellWrong
a flag to know if we do spell or not
Definition: StarWriterStruct.hxx:198
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
librevenge::RVNGString m_names[2]
the names
Definition: StarWriterStruct.hxx:243
static bool readList(StarZone &zone, std::vector< Bookmark > &markList)
try to read a list of bookmark
Definition: StarWriterStruct.cxx:207
bool read(StarZone &zone)
try to read a mark
Definition: StarWriterStruct.cxx:540
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
TOX51()
constructor
Definition: StarWriterStruct.hxx:474
friend std::ostream & operator<<(std::ostream &o, DatabaseName const &databaseName)
operator<<
Definition: StarWriterStruct.cxx:343
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
NoteInfo(bool isFootnote)
constructor
Definition: StarWriterStruct.hxx:299
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
int isCompatibleWith(int vers) const
checks if the document is compatible with vers
Definition: StarZone.hxx:99
std::vector< std::shared_ptr< StarFormatManagerInternal::FormatDef > > m_formatList
the format
Definition: StarWriterStruct.hxx:466
static bool readList(StarZone &zone, std::vector< Attribute > &attributeList, StarObject &object)
try to read a list of attribute: 'S'
Definition: StarWriterStruct.cxx:107
structure to store a databaseName in a text zone
Definition: StarWriterStruct.hxx:119
int m_data
the number of data?
Definition: StarWriterStruct.hxx:450
int m_offset
the offset
Definition: StarWriterStruct.hxx:268
int m_styleId
the style id
Definition: StarWriterStruct.hxx:448
bool read(StarZone &zone)
try to read a databaseName: 'D'
Definition: StarWriterStruct.cxx:255
bool read(StarZone &zone)
try to read a docStats: 'd'
Definition: StarWriterStruct.cxx:415
friend std::ostream & operator<<(std::ostream &o, Style const &style)
operator<<
Definition: StarWriterStruct.hxx:424
std::vector< librevenge::RVNGString > m_patternList
the pattern list
Definition: StarWriterStruct.hxx:505
bool read(StarZone &zone)
try to read a printData: '8'
Definition: StarWriterStruct.cxx:719
int m_id
the id
Definition: StarWriterStruct.hxx:266
bool read(StarZone &zone)
try to read a noteInfo
Definition: StarWriterStruct.cxx:612
bool m_isFootnote
a flag to know if this corresponds to a footnote or a endnote
Definition: StarWriterStruct.hxx:313
std::vector< int > m_stringIdList
a list of template string ids
Definition: StarWriterStruct.hxx:460
Attribute()
constructor
Definition: StarWriterStruct.hxx:64
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
TOX()
constructor
Definition: StarWriterStruct.hxx:389
int m_offset
the offset
Definition: StarWriterStruct.hxx:108
int m_id
the id
Definition: StarWriterStruct.hxx:287
STOFFVec2i m_position
the begin/end position
Definition: StarWriterStruct.hxx:80
int m_createType
the createType
Definition: StarWriterStruct.hxx:442
int m_scriptType
the scriptType
Definition: StarWriterStruct.hxx:245
librevenge::RVNGString m_sql
the SQL string
Definition: StarWriterStruct.hxx:154
namespace use to keep basic writer structure
Definition: StarWriterStruct.cxx:48
friend std::ostream & operator<<(std::ostream &o, Attribute const &attribute)
operator<<
Definition: StarWriterStruct.cxx:137
structure to store a TOX in a text zone
Definition: StarWriterStruct.hxx:386
void closeFlagZone()
close the cflag zone
Definition: StarZone.cxx:618
int m_infLevel
the inf level
Definition: StarWriterStruct.hxx:509
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libstaroffice_internal.cxx:81
std::vector< librevenge::RVNGString > m_names
the list of names
Definition: StarWriterStruct.hxx:437
a data of a DatabaseName
Definition: StarWriterStruct.hxx:132
int m_OLEOptions
the ole options
Definition: StarWriterStruct.hxx:458
Style()
constructor
Definition: StarWriterStruct.hxx:418
int m_type
the type
Definition: StarWriterStruct.hxx:373
long m_numbers[7]
the list of number: tbl, graf, ole, page, para, word, char
Definition: StarWriterStruct.hxx:219
librevenge::RVNGString m_macroNames[4]
the macros names
Definition: StarWriterStruct.hxx:114
Definition: StarAttribute.hxx:146
Definition: StarAttribute.hxx:117
friend std::ostream & operator<<(std::ostream &o, NodeRedline const &nodeRedline)
operator<<
Definition: StarWriterStruct.cxx:600
static std::string str()
Definition: STOFFDebug.hxx:203
bool read(StarZone &zone, StarObject &object)
try to read a attribute: 'A'
Definition: StarWriterStruct.cxx:57
~Attribute()
destructor
Definition: StarWriterStruct.cxx:53
std::vector< int > m_stringIdList
a list of template string ids
Definition: StarWriterStruct.hxx:507
friend std::ostream & operator<<(std::ostream &o, PrintData const &printData)
operator<<
Definition: StarWriterStruct.cxx:745
long m_time
the time
Definition: StarWriterStruct.hxx:379
~TOX51()
destructor
Definition: StarWriterStruct.cxx:1079
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:106
~TOX()
destructor
Definition: StarWriterStruct.cxx:874
int m_modifier
the modifier
Definition: StarWriterStruct.hxx:112
Macro()
constructor
Definition: StarWriterStruct.hxx:229
structure to store a endnoteInfo or a footnoteInfo in a text zone
Definition: StarWriterStruct.hxx:296
DocStats()
constructor
Definition: StarWriterStruct.hxx:209
Data()
constructor
Definition: StarWriterStruct.hxx:175
STOFFVec2i m_selection
the start/end position
Definition: StarWriterStruct.hxx:149
Redline()
constructor
Definition: StarWriterStruct.hxx:356
int m_type
the type: 2: bookmark-start, 3:bookmark-end
Definition: StarWriterStruct.hxx:264
bool closeSWRecord(char type, std::string const &debugName)
try to close a record
Definition: StarZone.hxx:177
friend std::ostream & operator<<(std::ostream &o, Macro const ¯o)
operator<<
Definition: StarWriterStruct.cxx:526
Mark()
constructor
Definition: StarWriterStruct.hxx:253
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
int m_type
the type
Definition: StarWriterStruct.hxx:440
Definition: StarAttribute.hxx:68
a zone in a StarOffice file
Definition: StarZone.hxx:56
PrintData()
constructor
Definition: StarWriterStruct.hxx:333
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
structure to store a mark in a text zone
Definition: StarWriterStruct.hxx:250
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
int m_createType
the createType
Definition: StarWriterStruct.hxx:499
int m_stringId
the stringId
Definition: StarWriterStruct.hxx:375
int m_stringIds[3]
the string id, the seq string id, the sect string id
Definition: StarWriterStruct.hxx:446
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:456
Definition: StarAttribute.hxx:125
Definition: STOFFDebug.hxx:194
int m_flags
the flags
Definition: StarWriterStruct.hxx:344
bool read(StarZone &zone)
try to read a nodeRedline
Definition: StarWriterStruct.cxx:575
int m_formFlags
the format flags?
Definition: StarWriterStruct.hxx:452
a data of a Dictionary
Definition: StarWriterStruct.hxx:173
structure to store a TOX51 in a text zone
Definition: StarWriterStruct.hxx:471
int m_flags
the flags
Definition: StarWriterStruct.hxx:291
int m_level
the level
Definition: StarWriterStruct.hxx:435
bool read(StarZone &zone)
try to read a redline : D
Definition: StarWriterStruct.cxx:760
friend std::ostream & operator<<(std::ostream &o, DocStats const &docStats)
operator<<
Definition: StarWriterStruct.cxx:447
friend std::ostream & operator<<(std::ostream &o, Dictionary const &dictionary)
operator<<
Definition: StarWriterStruct.cxx:401
int m_idx[4]
the list of idx: the page, the coll, the char and the anchorChar
Definition: StarWriterStruct.hxx:317
STOFFVec2i m_colRow
the row, col dim
Definition: StarWriterStruct.hxx:346
structure to store a macro in a text zone
Definition: StarWriterStruct.hxx:226
Data()
constructor
Definition: StarWriterStruct.hxx:134
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:147
long m_date
the date
Definition: StarWriterStruct.hxx:377
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
Definition: StarAttribute.hxx:106
int m_key
the key
Definition: StarWriterStruct.hxx:110
int m_type
the type
Definition: StarWriterStruct.hxx:315
NodeRedline()
constructor
Definition: StarWriterStruct.hxx:276
friend std::ostream & operator<<(std::ostream &o, TOX51 const &tox)
operator<<
Definition: StarWriterStruct.cxx:1191
structure to store a redline in a text zone
Definition: StarWriterStruct.hxx:353
int m_posType
the posType
Definition: StarWriterStruct.hxx:323
librevenge::RVNGString m_typeName
the typeName
Definition: StarWriterStruct.hxx:495
static bool readList(StarZone &zone, std::vector< TOX > &toxList, StarObject &object)
try to read a list of TOX
Definition: StarWriterStruct.cxx:1008
int m_key
the key
Definition: StarWriterStruct.hxx:241
static void addPos(long)
Definition: STOFFDebug.hxx:223
friend std::ostream & operator<<(std::ostream &o, Mark const &mark)
operator<<
Definition: StarWriterStruct.cxx:564
librevenge::RVNGString m_title
the title
Definition: StarWriterStruct.hxx:454
Definition: StarAttribute.hxx:182
std::vector< Data > m_dataList
the list of data
Definition: StarWriterStruct.hxx:201
friend std::ostream & operator<<(std::ostream &o, Redline const &redline)
operator<<
Definition: StarWriterStruct.cxx:861
int m_numType
the numType
Definition: StarWriterStruct.hxx:325
std::shared_ptr< StarAttribute > m_attribute
the attribute
Definition: StarWriterStruct.hxx:78
Definition: STOFFDebug.hxx:210
friend std::ostream & operator<<(std::ostream &o, TOX const &tox)
operator<<
Definition: StarWriterStruct.cxx:1039
int m_offset
the offset
Definition: StarWriterStruct.hxx:289
int m_firstTabPos
the firstTabPos
Definition: StarWriterStruct.hxx:501
friend std::ostream & operator<<(std::ostream &o, NoteInfo const ¬eInfo)
operator<<
Definition: StarWriterStruct.cxx:696
the doc statistic
Definition: StarWriterStruct.hxx:330
void splitString(librevenge::RVNGString const &string, librevenge::RVNGString const &delim, librevenge::RVNGString &string1, librevenge::RVNGString &string2)
split a string in two. If the delimiter is not present, string1=string
Definition: libstaroffice_internal.cxx:414
Dictionary()
constructor
Definition: StarWriterStruct.hxx:164
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
static bool readList(StarZone &zone, std::vector< Redline > &redlineList)
try to read a list of redline : R
Definition: StarWriterStruct.cxx:794
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition: StarWriterStruct.hxx:140
a style
Definition: StarWriterStruct.hxx:416
int m_type
the type
Definition: StarWriterStruct.hxx:497
friend std::ostream & operator<<(std::ostream &o, Bookmark const &mark)
operator<<
Definition: StarWriterStruct.cxx:238
std::vector< Data > m_dataList
the list of data
Definition: StarWriterStruct.hxx:156
librevenge::RVNGString m_shortName
the shortname
Definition: StarWriterStruct.hxx:104
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
long m_titleLength
the title length
Definition: StarWriterStruct.hxx:464
bool read(StarZone &zone, StarObject &object)
try to read a TOX51
Definition: StarWriterStruct.cxx:1083
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
int m_ftnOffset
the ftnOffset
Definition: StarWriterStruct.hxx:319
int getDocumentVersion() const
returns the StarOffice document version
Definition: StarZone.hxx:89
unsigned char openFlagZone()
try to open a cflag zone
Definition: StarZone.cxx:611
int m_spacings[6]
the spaces: left, right, top, bottom, horizontal, verticals
Definition: StarWriterStruct.hxx:348
librevenge::RVNGString m_strings[4]
the strings: prefix, suffix, quoValis, ergoSum
Definition: StarWriterStruct.hxx:321
struct use an attribute and a position
Definition: StarWriterStruct.hxx:61
structure to store a nodeRedline in a text zone
Definition: StarWriterStruct.hxx:273
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
bool read(StarZone &zone, StarObject &object)
try to read a TOX
Definition: StarWriterStruct.cxx:878
static bool readList(StarZone &zone, std::vector< TOX51 > &toxList, StarObject &object)
try to read a list of TOX51
Definition: StarWriterStruct.cxx:1160
librevenge::RVNGString m_name
the name
Definition: StarWriterStruct.hxx:192
std::ostream & operator<<(std::ostream &o, Attribute const &attrib)
Definition: StarWriterStruct.cxx:137
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition: StarWriterStruct.hxx:183
structure to store a dictionary in a text zone
Definition: StarWriterStruct.hxx:161
bool read(StarZone &zone)
try to read a mark
Definition: StarWriterStruct.cxx:153
std::vector< Style > m_styleList
a list of style names?
Definition: StarWriterStruct.hxx:462
bool openSWRecord(char &type)
try to open a SW record: type + size (24 bytes)
Definition: StarZone.cxx:507
int m_id
the id
Definition: StarWriterStruct.hxx:196
bool read(StarZone &zone)
try to read a dictionary: 'j'
Definition: StarWriterStruct.cxx:363
Bookmark()
the constructor
Definition: StarWriterStruct.hxx:89
the doc statistic
Definition: StarWriterStruct.hxx:206
Generated on Mon Jan 20 2020 23:02:18 for libstaroffice by
doxygen 1.8.16