StarWriterStruct.hxx
Go to the documentation of this file.
/* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
/* libstaroffice
* Version: MPL 2.0 / LGPLv2+
*
* The contents of this file are subject to the Mozilla Public License Version
* 2.0 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* Copyright (C) 2002 William Lachance (wrlach@gmail.com)
* Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
* Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
* Copyright (C) 2006, 2007 Andrew Ziem
* Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
*
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
* in which case the provisions of the LGPLv2+ are applicable
* instead of those above.
*/
/*
* StarWriterStruct to read/parse some basic writer structure in StarOffice documents
*
*/
#ifndef STAR_WRITER_STRUCT
# define STAR_WRITER_STRUCT
#include <ostream>
#include <vector>
#include "libstaroffice_internal.hxx"
#include "STOFFDebug.hxx"
namespace StarFormatManagerInternal
{
struct FormatDef;
}
class StarAttribute;
class StarObject;
class StarZone;
namespace StarWriterStruct
{
struct Attribute {
public:
Attribute()
: m_attribute()
, m_position(-1,-1)
{
}
~Attribute();
friend std::ostream &operator<<(std::ostream &o, Attribute const &attribute);
bool read(StarZone &zone, StarObject &object);
static bool readList(StarZone &zone, std::vector<Attribute> &attributeList, StarObject &object);
std::shared_ptr<StarAttribute> m_attribute;
STOFFVec2i m_position;
};
class Bookmark
{
public:
Bookmark()
: m_shortName("")
, m_name("")
, m_offset(0)
, m_key(0)
, m_modifier(0)
{
}
friend std::ostream &operator<<(std::ostream &o, Bookmark const &mark);
bool read(StarZone &zone);
static bool readList(StarZone &zone, std::vector<Bookmark> &markList);
librevenge::RVNGString m_shortName;
librevenge::RVNGString m_name;
int m_offset;
int m_key;
int m_modifier;
librevenge::RVNGString m_macroNames[4];
};
struct DatabaseName {
public:
DatabaseName()
: m_sql("")
, m_dataList()
{
}
friend std::ostream &operator<<(std::ostream &o, DatabaseName const &databaseName);
bool read(StarZone &zone);
struct Data {
Data()
: m_name("")
, m_selection(0,0)
{
}
friend std::ostream &operator<<(std::ostream &o, Data const &data)
{
o << data.m_name.cstr() << ",";
if (data.m_selection!=STOFFVec2i(0,0)) o << "select=" << STOFFVec2i(0,0) << ",";
return o;
}
librevenge::RVNGString m_name;
STOFFVec2i m_selection;
};
librevenge::RVNGString m_names[2];
librevenge::RVNGString m_sql;
std::vector<Data> m_dataList;
};
struct Dictionary {
public:
Dictionary()
: m_dataList()
{
}
friend std::ostream &operator<<(std::ostream &o, Dictionary const &dictionary);
bool read(StarZone &zone);
struct Data {
Data()
: m_name("")
, m_language(0)
, m_id(0)
, m_spellWrong(true)
{
}
friend std::ostream &operator<<(std::ostream &o, Data const &data)
{
o << data.m_name.cstr() << ",";
if (data.m_language) o << "language=" << data.m_language << ",";
if (data.m_id) o << "id=" << data.m_id << ",";
if (data.m_spellWrong) o << "spellWrong,";
return o;
}
librevenge::RVNGString m_name;
int m_language;
int m_id;
bool m_spellWrong;
};
std::vector<Data> m_dataList;
};
struct DocStats {
public:
DocStats()
: m_isModified(false)
{
for (long &number : m_numbers) number=0;
}
friend std::ostream &operator<<(std::ostream &o, DocStats const &docStats);
bool read(StarZone &zone);
long m_numbers[7];
bool m_isModified;
};
struct Macro {
public:
Macro()
: m_key(0)
, m_scriptType(0)
{
}
friend std::ostream &operator<<(std::ostream &o, Macro const &macro);
bool read(StarZone &zone);
static bool readList(StarZone &zone, std::vector<Macro> &macroLis);
int m_key;
librevenge::RVNGString m_names[2];
int m_scriptType;
};
struct Mark {
public:
Mark()
: m_type(-1)
, m_id(-1)
, m_offset(-1)
{
}
friend std::ostream &operator<<(std::ostream &o, Mark const &mark);
bool read(StarZone &zone);
int m_type;
int m_id;
int m_offset;
};
struct NodeRedline {
public:
NodeRedline()
: m_id(-1)
, m_offset(-1)
, m_flags(0)
{
}
friend std::ostream &operator<<(std::ostream &o, NodeRedline const &nodeRedline);
bool read(StarZone &zone);
int m_id;
int m_offset;
int m_flags;
};
struct NoteInfo {
public:
explicit NoteInfo(bool isFootnote)
: m_isFootnote(isFootnote)
, m_type(0)
, m_ftnOffset(0)
, m_posType(0)
, m_numType(0)
{
for (int &i : m_idx) i=0xFFFF;
}
friend std::ostream &operator<<(std::ostream &o, NoteInfo const &noteInfo);
bool read(StarZone &zone);
bool m_isFootnote;
int m_type;
int m_idx[4];
int m_ftnOffset;
librevenge::RVNGString m_strings[4];
int m_posType;
int m_numType;
};
struct PrintData {
public:
PrintData()
: m_flags(0)
, m_colRow(1,1)
{
for (int &spacing : m_spacings) spacing=0;
}
friend std::ostream &operator<<(std::ostream &o, PrintData const &printData);
bool read(StarZone &zone);
int m_flags;
STOFFVec2i m_colRow;
int m_spacings[6];
};
struct Redline {
public:
Redline()
: m_type(0)
, m_stringId(0)
, m_date(0)
, m_time(0)
, m_comment()
{
}
friend std::ostream &operator<<(std::ostream &o, Redline const &redline);
bool read(StarZone &zone);
static bool readList(StarZone &zone, std::vector<Redline> &redlineList);
static bool readListList(StarZone &zone, std::vector<std::vector<Redline> > &redlineListList);
int m_type;
int m_stringId;
long m_date;
long m_time;
librevenge::RVNGString m_comment;
};
struct TOX {
public:
TOX()
: m_type(0)
, m_createType(0)
, m_captionDisplay(0)
, m_styleId(0xFFFF)
, m_data(0)
, m_formFlags(0)
, m_title("")
, m_name("")
, m_OLEOptions(0)
, m_stringIdList()
, m_styleList()
, m_titleLength()
, m_formatList()
{
for (int &stringId : m_stringIds) stringId=0xFFFF;
}
~TOX();
friend std::ostream &operator<<(std::ostream &o, TOX const &tox);
bool read(StarZone &zone, StarObject &object);
static bool readList(StarZone &zone, std::vector<TOX> &toxList, StarObject &object);
struct Style {
Style()
: m_level(0)
, m_names()
{
}
friend std::ostream &operator<<(std::ostream &o, Style const &style)
{
o << "level=" << style.m_level << ",";
if (!style.m_names.empty()) {
o << "names=[";
for (auto const &name : style.m_names) o << name.cstr() << ",";
o << "],";
}
return o;
}
int m_level;
std::vector<librevenge::RVNGString> m_names;
};
int m_type;
int m_createType;
int m_captionDisplay;
int m_stringIds[3];
int m_styleId;
int m_data;
int m_formFlags;
librevenge::RVNGString m_title;
librevenge::RVNGString m_name;
int m_OLEOptions;
std::vector<int> m_stringIdList;
std::vector<Style> m_styleList;
long m_titleLength;
std::vector<std::shared_ptr<StarFormatManagerInternal::FormatDef> > m_formatList;
};
struct TOX51 {
public:
TOX51()
: m_typeName("")
, m_type(0)
, m_createType(0)
, m_firstTabPos(0)
, m_title("")
, m_patternList()
, m_stringIdList()
, m_infLevel(0)
{
}
~TOX51();
friend std::ostream &operator<<(std::ostream &o, TOX51 const &tox);
bool read(StarZone &zone, StarObject &object);
static bool readList(StarZone &zone, std::vector<TOX51> &toxList, StarObject &object);
librevenge::RVNGString m_typeName;
int m_type;
int m_createType;
int m_firstTabPos;
librevenge::RVNGString m_title;
std::vector<librevenge::RVNGString> m_patternList;
std::vector<int> m_stringIdList;
int m_infLevel;
};
}
#endif
// 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:86
StarWriterStruct::Bookmark::m_key
int m_key
the key
Definition StarWriterStruct.hxx:110
StarWriterStruct::Bookmark::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:108
StarWriterStruct::Bookmark::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:106
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:112
StarWriterStruct::Bookmark::m_macroNames
librevenge::RVNGString m_macroNames[4]
the macros names
Definition StarWriterStruct.hxx:114
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:89
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:104
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:767
StarFormatManagerInternal
Internal: the structures of a StarFormatManager.
Definition StarFormatManager.cxx:59
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:80
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::m_attribute
std::shared_ptr< StarAttribute > m_attribute
the attribute
Definition StarWriterStruct.hxx:78
StarWriterStruct::Attribute::Attribute
Attribute()
constructor
Definition StarWriterStruct.hxx:64
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:147
StarWriterStruct::DatabaseName::Data::m_selection
STOFFVec2i m_selection
the start/end position
Definition StarWriterStruct.hxx:149
StarWriterStruct::DatabaseName::Data::Data
Data()
constructor
Definition StarWriterStruct.hxx:134
StarWriterStruct::DatabaseName::Data::operator<<
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition StarWriterStruct.hxx:140
StarWriterStruct::DatabaseName
structure to store a databaseName in a text zone
Definition StarWriterStruct.hxx:119
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:122
StarWriterStruct::DatabaseName::m_sql
librevenge::RVNGString m_sql
the SQL string
Definition StarWriterStruct.hxx:154
StarWriterStruct::DatabaseName::m_dataList
std::vector< Data > m_dataList
the list of data
Definition StarWriterStruct.hxx:156
StarWriterStruct::DatabaseName::m_names
librevenge::RVNGString m_names[2]
the names: database, table
Definition StarWriterStruct.hxx:152
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:175
StarWriterStruct::Dictionary::Data::m_language
int m_language
the language
Definition StarWriterStruct.hxx:194
StarWriterStruct::Dictionary::Data::m_name
librevenge::RVNGString m_name
the name
Definition StarWriterStruct.hxx:192
StarWriterStruct::Dictionary::Data::m_id
int m_id
the id
Definition StarWriterStruct.hxx:196
StarWriterStruct::Dictionary::Data::m_spellWrong
bool m_spellWrong
a flag to know if we do spell or not
Definition StarWriterStruct.hxx:198
StarWriterStruct::Dictionary::Data::operator<<
friend std::ostream & operator<<(std::ostream &o, Data const &data)
operator<<
Definition StarWriterStruct.hxx:183
StarWriterStruct::Dictionary
structure to store a dictionary in a text zone
Definition StarWriterStruct.hxx:161
StarWriterStruct::Dictionary::m_dataList
std::vector< Data > m_dataList
the list of data
Definition StarWriterStruct.hxx:201
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:164
StarWriterStruct::DocStats
the doc statistic
Definition StarWriterStruct.hxx:206
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:221
StarWriterStruct::DocStats::m_numbers
long m_numbers[7]
the list of number: tbl, graf, ole, page, para, word, char
Definition StarWriterStruct.hxx:219
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:209
StarWriterStruct::Macro
structure to store a macro in a text zone
Definition StarWriterStruct.hxx:226
StarWriterStruct::Macro::m_scriptType
int m_scriptType
the scriptType
Definition StarWriterStruct.hxx:245
StarWriterStruct::Macro::Macro
Macro()
constructor
Definition StarWriterStruct.hxx:229
StarWriterStruct::Macro::m_names
librevenge::RVNGString m_names[2]
the names
Definition StarWriterStruct.hxx:243
StarWriterStruct::Macro::m_key
int m_key
the key
Definition StarWriterStruct.hxx:241
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:250
StarWriterStruct::Mark::m_id
int m_id
the id
Definition StarWriterStruct.hxx:266
StarWriterStruct::Mark::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:268
StarWriterStruct::Mark::read
bool read(StarZone &zone)
try to read a mark
Definition StarWriterStruct.cxx:540
StarWriterStruct::Mark::Mark
Mark()
constructor
Definition StarWriterStruct.hxx:253
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:264
StarWriterStruct::NodeRedline
structure to store a nodeRedline in a text zone
Definition StarWriterStruct.hxx:273
StarWriterStruct::NodeRedline::m_offset
int m_offset
the offset
Definition StarWriterStruct.hxx:289
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:291
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:276
StarWriterStruct::NodeRedline::m_id
int m_id
the id
Definition StarWriterStruct.hxx:287
StarWriterStruct::NoteInfo
structure to store a endnoteInfo or a footnoteInfo in a text zone
Definition StarWriterStruct.hxx:296
StarWriterStruct::NoteInfo::NoteInfo
NoteInfo(bool isFootnote)
constructor
Definition StarWriterStruct.hxx:299
StarWriterStruct::NoteInfo::m_numType
int m_numType
the numType
Definition StarWriterStruct.hxx:325
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:315
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:319
StarWriterStruct::NoteInfo::m_idx
int m_idx[4]
the list of idx: the page, the coll, the char and the anchorChar
Definition StarWriterStruct.hxx:317
StarWriterStruct::NoteInfo::m_posType
int m_posType
the posType
Definition StarWriterStruct.hxx:323
StarWriterStruct::NoteInfo::m_strings
librevenge::RVNGString m_strings[4]
the strings: prefix, suffix, quoValis, ergoSum
Definition StarWriterStruct.hxx:321
StarWriterStruct::NoteInfo::m_isFootnote
bool m_isFootnote
a flag to know if this corresponds to a footnote or a endnote
Definition StarWriterStruct.hxx:313
StarWriterStruct::PrintData
the doc statistic
Definition StarWriterStruct.hxx:330
StarWriterStruct::PrintData::m_spacings
int m_spacings[6]
the spaces: left, right, top, bottom, horizontal, verticals
Definition StarWriterStruct.hxx:348
StarWriterStruct::PrintData::m_flags
int m_flags
the flags
Definition StarWriterStruct.hxx:344
StarWriterStruct::PrintData::PrintData
PrintData()
constructor
Definition StarWriterStruct.hxx:333
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:346
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:353
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:377
StarWriterStruct::Redline::m_stringId
int m_stringId
the stringId
Definition StarWriterStruct.hxx:375
StarWriterStruct::Redline::m_comment
librevenge::RVNGString m_comment
the comment
Definition StarWriterStruct.hxx:381
StarWriterStruct::Redline::m_time
long m_time
the time
Definition StarWriterStruct.hxx:379
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:356
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:373
StarWriterStruct::TOX51
structure to store a TOX51 in a text zone
Definition StarWriterStruct.hxx:471
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:501
StarWriterStruct::TOX51::m_type
int m_type
the type
Definition StarWriterStruct.hxx:497
StarWriterStruct::TOX51::m_stringIdList
std::vector< int > m_stringIdList
a list of template string ids
Definition StarWriterStruct.hxx:507
StarWriterStruct::TOX51::m_title
librevenge::RVNGString m_title
the title
Definition StarWriterStruct.hxx:503
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:499
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:505
StarWriterStruct::TOX51::m_infLevel
int m_infLevel
the inf level
Definition StarWriterStruct.hxx:509
StarWriterStruct::TOX51::TOX51
TOX51()
constructor
Definition StarWriterStruct.hxx:474
StarWriterStruct::TOX51::m_typeName
librevenge::RVNGString m_typeName
the typeName
Definition StarWriterStruct.hxx:495
StarWriterStruct::TOX::Style::operator<<
friend std::ostream & operator<<(std::ostream &o, Style const &style)
operator<<
Definition StarWriterStruct.hxx:424
StarWriterStruct::TOX::Style::m_names
std::vector< librevenge::RVNGString > m_names
the list of names
Definition StarWriterStruct.hxx:437
StarWriterStruct::TOX::Style::Style
Style()
constructor
Definition StarWriterStruct.hxx:418
StarWriterStruct::TOX::Style::m_level
int m_level
the level
Definition StarWriterStruct.hxx:435
StarWriterStruct::TOX
structure to store a TOX in a text zone
Definition StarWriterStruct.hxx:386
StarWriterStruct::TOX::m_type
int m_type
the type
Definition StarWriterStruct.hxx:440
StarWriterStruct::TOX::m_title
librevenge::RVNGString m_title
the title
Definition StarWriterStruct.hxx:454
StarWriterStruct::TOX::m_stringIds
int m_stringIds[3]
the string id, the seq string id, the sect string id
Definition StarWriterStruct.hxx:446
StarWriterStruct::TOX::m_formatList
std::vector< std::shared_ptr< StarFormatManagerInternal::FormatDef > > m_formatList
the format
Definition StarWriterStruct.hxx:466
StarWriterStruct::TOX::m_formFlags
int m_formFlags
the format flags?
Definition StarWriterStruct.hxx:452
StarWriterStruct::TOX::TOX
TOX()
constructor
Definition StarWriterStruct.hxx:389
StarWriterStruct::TOX::~TOX
~TOX()
destructor
Definition StarWriterStruct.cxx:874
StarWriterStruct::TOX::m_data
int m_data
the number of data?
Definition StarWriterStruct.hxx:450
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:456
StarWriterStruct::TOX::m_captionDisplay
int m_captionDisplay
the captionDisplay
Definition StarWriterStruct.hxx:444
StarWriterStruct::TOX::m_styleId
int m_styleId
the style id
Definition StarWriterStruct.hxx:448
StarWriterStruct::TOX::m_stringIdList
std::vector< int > m_stringIdList
a list of template string ids
Definition StarWriterStruct.hxx:460
StarWriterStruct::TOX::m_createType
int m_createType
the createType
Definition StarWriterStruct.hxx:442
StarWriterStruct::TOX::m_OLEOptions
int m_OLEOptions
the ole options
Definition StarWriterStruct.hxx:458
StarWriterStruct::TOX::m_titleLength
long m_titleLength
the title length
Definition StarWriterStruct.hxx:464
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:462
StarWriterStruct::TOX::operator<<
friend std::ostream & operator<<(std::ostream &o, TOX const &tox)
operator<<
Definition StarWriterStruct.cxx:1039