RagTime5Text.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 /*
35  * Parser to RagTime 5-6 document ( text part )
36  *
37  */
38 #ifndef RAGTIME5_TEXT
39 # define RAGTIME5_TEXT
40 
41 #include <set>
42 #include <string>
43 #include <map>
44 #include <vector>
45 
46 #include <librevenge/librevenge.h>
47 
48 #include "libmwaw_internal.hxx"
49 
50 #include "MWAWDebug.hxx"
51 #include "MWAWInputStream.hxx"
52 #include "MWAWPosition.hxx"
53 
56 
57 namespace RagTime5TextInternal
58 {
59 struct ClusterText;
60 struct State;
61 
62 class SubDocument;
63 }
64 
65 class RagTime5Parser;
68 class RagTime5Zone;
69 
76 {
78  friend class RagTime5Parser;
79 
80 public:
81 
83  explicit RagTime5Text(RagTime5Parser &parser);
85  virtual ~RagTime5Text();
86 
88  int version() const;
89 
91  int numPages() const;
92 
93 protected:
94 
96  void flushExtra();
97 
98  // interface with main parser
99 
101  std::shared_ptr<RagTime5ClusterManager::Cluster> readTextCluster(RagTime5Zone &zone, int zoneType);
102 
103  //
104  // Intermediate level
105  //
106 
107  //
108  // basic text
109  //
110 
112  bool readPLC(RagTime5TextInternal::ClusterText &cluster, int zoneId);
115 
118 
120  bool readFieldZones(RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link, bool isDefinition);
122  bool readFieldDefinition(RagTime5Zone &zone, long endPos, int n);
124  bool readFieldPosition(RagTime5Zone &zone, long endPos, int n);
125 
127  bool readTextSeparators(RagTime5Zone &zone, std::vector<int> &pos);
128 
129  //
130  // low level
131  //
132 
133  //
134  // send data
135  //
136 
138  bool send(int zoneId, MWAWListenerPtr listener, int partId=0, int block2Id=0);
140  bool send(RagTime5TextInternal::ClusterText &cluster, MWAWListenerPtr listener, int partId=0, int block2Id=0);
141 
142 private:
143  RagTime5Text(RagTime5Text const &orig) = delete;
144  RagTime5Text &operator=(RagTime5Text const &orig) = delete;
145 
146 protected:
147  //
148  // data
149  //
152 
154  std::shared_ptr<RagTime5StructManager> m_structManager;
156  std::shared_ptr<RagTime5StyleManager> m_styleManager;
159 
161  std::shared_ptr<RagTime5TextInternal::State> m_state;
162 };
163 #endif
164 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
RagTime5TextInternal::ClusterText::ClusterText
ClusterText()
constructor
Definition: RagTime5Text.cxx:144
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
RagTime5Zone::m_isParsed
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:148
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
RagTime5TextInternal::ClustListParser::~ClustListParser
~ClustListParser() final
destructor
Definition: RagTime5Text.cxx:1150
RagTime5Text::readFieldZones
bool readFieldZones(RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link, bool isDefinition)
try to read a list of field definition
Definition: RagTime5Text.cxx:307
RagTime5TextInternal::TextCParser::endZone
void endZone() final
end of a start zone call
Definition: RagTime5Text.cxx:1254
RagTime5Parser::getClusterManager
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:326
RagTime5TextInternal::ClusterText::m_PLCList
std::vector< PLC > m_PLCList
the PLC list
Definition: RagTime5Text.cxx:190
RagTime5TextInternal::ClusterText::m_separatorLink
RagTime5ClusterManager::Link m_separatorLink
the word/separator link
Definition: RagTime5Text.cxx:175
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
RagTime5TextInternal::TextCParser::m_what
int m_what
a index to know which field is parsed : 0: main, 1: list zones, 3: linkdef, 4: list,...
Definition: RagTime5Text.cxx:2002
RagTime5TextInternal::ClustListParser
Internal: the helper to read a clustList.
Definition: RagTime5Text.cxx:1088
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
RagTime5TextInternal::PLC
a PLC of a RagTime5Text
Definition: RagTime5Text.cxx:65
RagTime5TextInternal::ClusterText::m_block2ToPlcLink
RagTime5ClusterManager::Link m_block2ToPlcLink
the block2 to plc link
Definition: RagTime5Text.cxx:173
RagTime5TextInternal::TextCParser::m_numZones
int m_numZones
the number of zones
Definition: RagTime5Text.cxx:1998
RagTime5TextInternal::TextCParser::operator=
TextCParser & operator=(TextCParser const &orig)=delete
copy operator (not implemented)
RagTime5TextInternal::ClusterText::m_contentLink
RagTime5ClusterManager::Link m_contentLink
the main content
Definition: RagTime5Text.cxx:163
RagTime5ClusterManager::Cluster::Cluster
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:237
RagTime5TextInternal::TextCParser::getCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5Text.cxx:1233
RagTime5TextInternal::TextCParser::parseDataZone
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Text.cxx:1467
RagTime5TextInternal::Block
a small struct use to define a block of a RagTime5Text
Definition: RagTime5Text.cxx:109
RagTime5ClusterManager::ClusterParser::m_link
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:428
RagTime5Zone::m_kinds
std::string m_kinds[2]
the zone types: normal and packing
Definition: RagTime5StructManager.hxx:130
RagTime5StructManager.hxx
RagTime5StructManager::Field::T_Unstructured
@ T_Unstructured
Definition: RagTime5StructManager.hxx:238
RagTime5Parser
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
RagTime5Text::m_state
std::shared_ptr< RagTime5TextInternal::State > m_state
the state
Definition: RagTime5Text.hxx:161
RagTime5Zone::ascii
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:107
RagTime5Text::send
bool send(int zoneId, MWAWListenerPtr listener, int partId=0, int block2Id=0)
try to send the cluster zone
Definition: RagTime5Text.cxx:243
RagTime5Parser::readListZone
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1608
RagTime5TextInternal::Block2ListParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Text.cxx:1165
RagTime5TextInternal::Block::Block
Block()
constructor
Definition: RagTime5Text.cxx:111
RagTime5Text::operator=
RagTime5Text & operator=(RagTime5Text const &orig)=delete
MWAWFontConverter.hxx
RagTime5StructManager::Field
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:235
RagTime5TextInternal::ClusterText::m_plcToStyleLink
RagTime5ClusterManager::Link m_plcToStyleLink
the plc to text style link
Definition: RagTime5Text.cxx:171
RagTime5ClusterManager::ClusterParser::readLinkHeader
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:552
RagTime5ClusterManager::Cluster::m_isSent
bool m_isSent
true if the cluster was send
Definition: RagTime5ClusterManager.hxx:277
RagTime5ClusterManager::getClusterName
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:223
RagTime5ClusterManager::ClusterParser
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:350
RagTime5TextInternal::ClusterText::m_plcDefNumFree
int m_plcDefNumFree
the number of free block in the plc definition list
Definition: RagTime5Text.cxx:169
RagTime5TextInternal::ClustListParser::ClustListParser
ClustListParser(RagTime5ClusterManager &clusterManager, std::string const &zoneName)
constructor
Definition: RagTime5Text.cxx:1090
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
RagTime5Text::readTextSeparators
bool readTextSeparators(RagTime5Zone &zone, std::vector< int > &pos)
try to read the text separators
Definition: RagTime5Text.cxx:262
RagTime5Zone::m_entry
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:132
RagTime5TextInternal::TextCParser::parseZone
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Text.cxx:1301
RagTime5TextInternal::Block::operator<<
friend std::ostream & operator<<(std::ostream &o, Block const &block)
operator<<
Definition: RagTime5Text.cxx:120
RagTime5StructManager::DataParser
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:384
RagTime5Text::numPages
int numPages() const
returns the number of pages
Definition: RagTime5Text.cxx:236
RagTime5TextInternal::Block::m_dimension
MWAWBox2f m_dimension
the block dimension
Definition: RagTime5Text.cxx:134
RagTime5ClusterManager::ClusterParser::getClusterName
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:547
RagTime5TextInternal::Block::m_id
int m_id
the block id
Definition: RagTime5Text.cxx:130
RagTime5StructManager::DataParser::DataParser
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:386
RagTime5Parser::readFixedSizeZone
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1681
RagTime5TextInternal::TextCParser::getTextCluster
std::shared_ptr< ClusterText > getTextCluster()
return the text cluster
Definition: RagTime5Text.cxx:1238
RagTime5TextInternal::TextCParser::~TextCParser
~TextCParser() final
destructor
Definition: RagTime5Text.cxx:2016
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
RagTime5TextInternal::TextCParser::parseZoneBlock
bool parseZoneBlock(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone block
Definition: RagTime5Text.cxx:1919
RagTime5TextInternal
Internal: the structures of a RagTime5Text.
Definition: RagTime5Text.cxx:62
RagTime5StructManager::Field::T_FieldList
@ T_FieldList
Definition: RagTime5StructManager.hxx:237
RagTime5Parser::getDataZone
std::shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Parser.cxx:376
RagTime5TextInternal::PLC::PLC
PLC()
constructor
Definition: RagTime5Text.cxx:67
RagTime5Text::readFieldPosition
bool readFieldPosition(RagTime5Zone &zone, long endPos, int n)
try to read a field position
Definition: RagTime5Text.cxx:511
RagTime5ClusterManager
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
RagTime5TextInternal::ClusterText::m_clusterLink
RagTime5ClusterManager::Link m_clusterLink[2]
cluster links 0: list of size 10(pipeline?) and 14(graphic?), 1: list of size 12(related to link)
Definition: RagTime5Text.cxx:177
RagTime5Text::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Text.hxx:158
RagTime5StyleManager
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:60
RagTime5TextInternal::ClustListParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Text.cxx:1105
RagTime5Parser::checkClusterList
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1093
RagTime5TextInternal::ClusterText::m_posToStyleIdMap
std::multimap< int, int > m_posToStyleIdMap
position to plc map
Definition: RagTime5Text.cxx:192
MWAWSubDocument.hxx
RagTime5ClusterManager.hxx
RagTime5TextInternal::State
Internal: the state of a RagTime5Text.
Definition: RagTime5Text.cxx:201
RagTime5TextInternal::TextCParser::m_linkId
int m_linkId
the link id: 0: linkdef, 1-2: cluster list, 3: text unknown, 4: unkA list, 5:unkn fixed fSz==14
Definition: RagTime5Text.cxx:2004
MWAWParagraph.hxx
RagTime5TextInternal::TextCParser::startZone
void startZone() final
start a new zone
Definition: RagTime5Text.cxx:1243
libmwaw_internal.hxx
RagTime5TextInternal::TextCParser::m_actualZone
int m_actualZone
the actual zone
Definition: RagTime5Text.cxx:1996
MWAWPosition.hxx
RagTime5TextInternal::ClusterText::m_plcDefFreeBegin
int m_plcDefFreeBegin
the plc first free block in the plc definition list
Definition: RagTime5Text.cxx:167
RagTime5Zone::getKindLastPart
std::string getKindLastPart(bool main=true) const
returns the main type
Definition: RagTime5StructManager.hxx:80
RagTime5ClusterManager::ClusterParser::m_dataId
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:426
RagTime5StructManager::Field::T_Long
@ T_Long
Definition: RagTime5StructManager.hxx:237
RagTime5TextInternal::PLC::m_position
int m_position
the position in the text
Definition: RagTime5Text.cxx:101
RagTime5ClusterManager::Cluster::m_hiLoEndian
bool m_hiLoEndian
the cluster hiLo endian
Definition: RagTime5ClusterManager.hxx:259
RagTime5Zone
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
RagTime5TextInternal::ClusterText::m_blockList
std::vector< std::vector< Block > > m_blockList
list of block (defined in header)
Definition: RagTime5Text.cxx:186
RagTime5Text::readPLC
bool readPLC(RagTime5TextInternal::ClusterText &cluster, int zoneId)
try to read a list of PLC
Definition: RagTime5Text.cxx:687
RagTime5ClusterManager::Cluster::C_TextZone
@ C_TextZone
Definition: RagTime5ClusterManager.hxx:228
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:92
RagTime5Parser::readPositions
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition: RagTime5Parser.cxx:922
RagTime5TextInternal::PLC::m_fileType
int m_fileType
the file type
Definition: RagTime5Text.cxx:103
RagTime5TextInternal::TextCParser::parseField
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Text.cxx:1324
RagTime5Zone::getInput
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:91
MWAWDebug.hxx
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:82
RagTime5TextInternal::State::m_numPages
int m_numPages
the number of pages
Definition: RagTime5Text.cxx:209
RagTime5Text::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Text.cxx:848
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1191
RagTime5TextInternal::ClusterText
low level: the text cluster of a RagTime5Text
Definition: RagTime5Text.cxx:142
RagTime5StyleManager.hxx
RagTime5Text::version
int version() const
returns the file version
Definition: RagTime5Text.cxx:231
RagTime5Text::m_styleManager
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Text.hxx:156
RagTime5TextInternal::TextCParser::m_asciiFile
libmwaw::DebugFile & m_asciiFile
the ascii file
Definition: RagTime5Text.cxx:2008
RagTime5TextInternal::ClusterText::m_unknownLink
RagTime5ClusterManager::Link m_unknownLink[2]
list of unknown link: first with field of size 14, 2th with field of size 12
Definition: RagTime5Text.cxx:181
RagTime5StructManager::Field::T_2Long
@ T_2Long
Definition: RagTime5StructManager.hxx:237
RagTime5Text
the main class to read the text part of RagTime 56 file
Definition: RagTime5Text.hxx:75
RagTime5TextInternal::ClustListParser::m_clusterList
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Text.cxx:1140
RagTime5TextInternal::ClustListParser::m_clusterManager
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Text.cxx:1143
RagTime5TextInternal::ClustListParser::getClusterName
std::string getClusterName(int id) const
returns a name which can be used to debugging
Definition: RagTime5Text.cxx:1099
RagTime5Text::readTextCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readTextCluster(RagTime5Zone &zone, int zoneType)
try to read a text cluster
Definition: RagTime5Text.cxx:2022
RagTime5TextInternal::Block2ListParser::operator=
Block2ListParser & operator=(Block2ListParser &orig)=delete
copy operator, not implemented
RagTime5TextInternal::PLC::m_value
int m_value
an unknown value
Definition: RagTime5Text.cxx:105
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:87
RagTime5Text::readFieldDefinition
bool readFieldDefinition(RagTime5Zone &zone, long endPos, int n)
try to read a field definition
Definition: RagTime5Text.cxx:378
RagTime5TextInternal::ClusterText::~ClusterText
~ClusterText() final
destructor
Definition: RagTime5Text.cxx:195
RagTime5TextInternal::TextCParser::m_cluster
std::shared_ptr< ClusterText > m_cluster
the current cluster
Definition: RagTime5Text.cxx:1992
RagTime5TextInternal::TextCParser::m_NToBlockIdMap
std::map< int, size_t > m_NToBlockIdMap
the field pos to block map
Definition: RagTime5Text.cxx:2000
RagTime5ClusterManager::Cluster::m_zoneId
int m_zoneId
the zone id
Definition: RagTime5ClusterManager.hxx:257
RagTime5TextInternal::Block::m_subId
int m_subId
the block sub id
Definition: RagTime5Text.cxx:132
RagTime5TextInternal::TextCParser::m_fieldName
std::string m_fieldName
the actual field name
Definition: RagTime5Text.cxx:2006
RagTime5TextInternal::TextCParser::TextCParser
TextCParser(RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
constructor
Definition: RagTime5Text.cxx:1217
RagTime5TextInternal::Block2ListParser
Internal: the helper to read a block 2 list.
Definition: RagTime5Text.cxx:1155
RagTime5TextInternal::TextCParser::m_id
int m_id
the block id
Definition: RagTime5Text.cxx:1994
RagTime5Text::m_mainParser
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Text.hxx:151
RagTime5TextInternal::PLC::operator<<
friend std::ostream & operator<<(std::ostream &o, PLC const &plc)
operator<<
Definition: RagTime5Text.cxx:74
RagTime5Text::m_structManager
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Text.hxx:154
RagTime5StructManager::Field::T_LongList
@ T_LongList
Definition: RagTime5StructManager.hxx:237
RagTime5TextInternal::TextCParser::parseHeaderZone
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Text.cxx:1748
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
RagTime5Text::RagTime5Text
RagTime5Text(RagTime5Parser &parser)
constructor
Definition: RagTime5Text.cxx:219
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:98
RagTime5StructManager
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:170
RagTime5Text::~RagTime5Text
virtual ~RagTime5Text()
destructor
Definition: RagTime5Text.cxx:228
RagTime5Zone::m_ids
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:138
MWAWListener.hxx
RagTime5TextInternal::ClustListParser::operator=
ClustListParser & operator=(ClustListParser &orig)=delete
copy operator, not implemented
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
RagTime5ClusterManager::Cluster
the cluster data
Definition: RagTime5ClusterManager.hxx:221
libmwaw
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
RagTime5ClusterManager::ClusterParser::m_type
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:420
MWAWInputStream.hxx
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
RagTime5TextInternal::Block2ListParser::~Block2ListParser
~Block2ListParser() final
destructor
Definition: RagTime5Text.cxx:1208
MWAWFont.hxx
MWAWBox2< float >
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:43
RagTime5TextInternal::Block::m_extra
std::string m_extra
extra data
Definition: RagTime5Text.cxx:138
RagTime5Text::readPLCToCharStyle
bool readPLCToCharStyle(RagTime5TextInternal::ClusterText &cluster)
try to read a plc id to char style correspondance
Definition: RagTime5Text.cxx:766
RagTime5TextInternal::Block2ListParser::m_blockList
std::vector< Block > m_blockList
the list of block
Definition: RagTime5Text.cxx:1200
RagTime5Text::readLinkZones
bool readLinkZones(RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link)
try to read a list of link/list definition
Definition: RagTime5Text.cxx:549
RagTime5Text::SubDocument
friend class RagTime5TextInternal::SubDocument
Definition: RagTime5Text.hxx:77
RagTime5TextInternal::ClusterText::m_plcDefLink
RagTime5ClusterManager::Link m_plcDefLink
the plc definition link
Definition: RagTime5Text.cxx:165
RagTime5TextInternal::TextCParser
low level: parser of text cluster
Definition: RagTime5Text.cxx:1215
RagTime5TextInternal::Block2ListParser::Block2ListParser
Block2ListParser()
constructor
Definition: RagTime5Text.cxx:1157
RagTime5StructManager::readDataIdList
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:269
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
RagTime5TextInternal::State::m_idTextMap
std::map< int, std::shared_ptr< ClusterText > > m_idTextMap
map data id to text zone
Definition: RagTime5Text.cxx:211
RagTime5TextInternal::ClusterText::m_linkDefList
std::vector< RagTime5ClusterManager::Link > m_linkDefList
the list of link zone
Definition: RagTime5Text.cxx:179
RagTime5Parser.hxx
RagTime5TextInternal::Block::m_plc
int m_plc[2]
the list of zone plc (first-end)
Definition: RagTime5Text.cxx:136
RagTime5Text.hxx
RagTime5TextInternal::ClusterText::m_block2List
std::vector< Block > m_block2List
list of block (defined in block2 list)
Definition: RagTime5Text.cxx:188
RagTime5ClusterManager::ClusterParser::ClusterParser
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:352
RagTime5TextInternal::State::State
State()
constructor
Definition: RagTime5Text.cxx:203

Generated on Wed Jan 29 2020 00:00:00 for libmwaw by doxygen 1.8.17