RagTime5Layout.hxx Source File documentation

RagTime5Layout.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 ( layout part )
36 *
37 */
38 #ifndef RAGTIME5_LAYOUT
39 # define RAGTIME5_LAYOUT
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
54 #include "RagTime5StructManager.hxx"
55 #include "RagTime5ClusterManager.hxx"
56
57 namespace RagTime5LayoutInternal
58 {
59 struct ClusterLayout;
60 struct State;
61 }
62
63 class RagTime5Document;
64 class RagTime5StructManager;
65 class RagTime5Zone;
66
72 class RagTime5Layout
73 {
74 friend class RagTime5Document;
75
76 public:
77
79 explicit RagTime5Layout(RagTime5Document &doc);
81 virtual ~RagTime5Layout();
82
84 int version() const;
85
87 int numPages() const;
88
89 protected:
90
92 void flushExtra();
93
94 // interface with main parser
95
97 std::shared_ptr<RagTime5ClusterManager::Cluster> readLayoutCluster(RagTime5Zone &zone, int zoneType);
98
99 //
100 // Intermediate level
101 //
102
104 void updateLayouts();
105
107 void updateLayout(RagTime5LayoutInternal::ClusterLayout &layout);
108 //
109 // low level
110 //
111
112 //
113 // send data
114 //
115
117 bool sendPageContents();
119 bool send(RagTime5LayoutInternal::ClusterLayout &cluster, MWAWListenerPtr listener, int page);
120
121 public:
123 static std::string printType(unsigned long fileType)
124 {
125 return RagTime5StructManager::printType(fileType);
126 }
127
128 private:
129 RagTime5Layout(RagTime5Layout const &orig) = delete;
130 RagTime5Layout &operator=(RagTime5Layout const &orig) = delete;
131
132 protected:
133 //
134 // data
135 //
137 RagTime5Document &m_document;
138
140 std::shared_ptr<RagTime5StructManager> m_structManager;
142 MWAWParserStatePtr m_parserState;
143
145 std::shared_ptr<RagTime5LayoutInternal::State> m_state;
146 };
147 #endif
148 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
RagTime5LayoutInternal::LayoutCParser::m_idStack
std::stack< int > m_idStack
the id stack
Definition: RagTime5Layout.cxx:1158
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
RagTime5LayoutInternal
Internal: the structures of a RagTime5Layout.
Definition: RagTime5Layout.cxx:62
RagTime5LayoutInternal::ClustListParser::ClustListParser
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Layout.cxx:302
RagTime5LayoutInternal::LayoutCParser::m_linkId
int m_linkId
the link id : 0: listItem, 1: pipeline, 2: settinglinks, 3: namelink,
Definition: RagTime5Layout.cxx:1148
RagTime5LayoutInternal::ClusterLayout::m_pageDataLink
RagTime5ClusterManager::Link m_pageDataLink
link to a zone of fieldSize 8(unknown)
Definition: RagTime5Layout.cxx:105
RagTime5LayoutInternal::PageDataParser::PageDataParser
PageDataParser(int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Layout.cxx:374
RagTime5Layout::numPages
int numPages() const
returns the number of pages
Definition: RagTime5Layout.cxx:161
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
RagTime5LayoutInternal::LayoutCParser::F_pipeline
@ F_pipeline
Definition: RagTime5Layout.cxx:419
RagTime5Layout::m_structManager
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Layout.hxx:140
RagTime5Layout::send
bool send(RagTime5LayoutInternal::ClusterLayout &cluster, MWAWListenerPtr listener, int page)
try to send the cluster zone
Definition: RagTime5Layout.cxx:277
RagTime5LayoutInternal::LayoutCParser::~LayoutCParser
~LayoutCParser() final
destructor
Definition: RagTime5Layout.cxx:1161
RagTime5LayoutInternal::LayoutCParser
low level: parser of layout cluster
Definition: RagTime5Layout.cxx:418
RagTime5LayoutInternal::LayoutCParser::F_page
@ F_page
Definition: RagTime5Layout.cxx:419
RagTime5LayoutInternal::LayoutCParser::parseField
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Layout.cxx:780
RagTime5LayoutInternal::ClusterLayout::m_pageNameLink
RagTime5ClusterManager::NameLink m_pageNameLink
the name link for page?
Definition: RagTime5Layout.cxx:101
RagTime5LayoutInternal::ClusterLayout::m_pageList
std::vector< Zone > m_pageList
list of zone's
Definition: RagTime5Layout.cxx:99
RagTime5LayoutInternal::ClusterLayout::~ClusterLayout
~ClusterLayout() final
destructor
Definition: RagTime5Layout.cxx:114
RagTime5ClusterManager::Cluster::Cluster
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:279
RagTime5Layout::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Layout.hxx:142
MWAWPosition::setPage
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:205
RagTime5LayoutInternal::ClusterLayout::Zone::m_dimension
MWAWVec2f m_dimension
the dimension
Definition: RagTime5Layout.cxx:95
RagTime5ClusterManager::ClusterParser::m_link
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:459
RagTime5StructManager.hxx
RagTime5StructManager::Field::T_Unstructured
@ T_Unstructured
Definition: RagTime5StructManager.hxx:245
RagTime5Layout::~RagTime5Layout
virtual ~RagTime5Layout()
destructor
Definition: RagTime5Layout.cxx:152
RagTime5LayoutInternal::LayoutCParser::getCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5Layout.cxx:437
RagTime5ClusterManager::ClusterParser::getClusterDebugName
std::string getClusterDebugName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:555
RagTime5LayoutInternal::State::State
State()
constructor
Definition: RagTime5Layout.cxx:122
MWAWFontConverter.hxx
RagTime5LayoutInternal::ClusterLayout::m_pipelineLink
RagTime5ClusterManager::Link m_pipelineLink
link to a pipeline cluster list
Definition: RagTime5Layout.cxx:103
RagTime5StructManager::Field
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:242
RagTime5Document::checkClusterList
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Document.cxx:1117
RagTime5LayoutInternal::LayoutCParser::parseHeaderZone
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Layout.cxx:1014
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:560
RagTime5Document.hxx
RagTime5ClusterManager::ClusterParser
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:381
RagTime5LayoutInternal::LayoutCParser::setExpectedType
void setExpectedType(int id, int type)
set a data id type
Definition: RagTime5Layout.cxx:447
RagTime5Layout
the main class to read the text part of RagTime 56 file
Definition: RagTime5Layout.hxx:72
RagTime5LayoutInternal::ClusterLayout::Zone
a zone of in a layout
Definition: RagTime5Layout.cxx:82
RagTime5LayoutInternal::ClusterLayout::m_numMasterChild
int m_numMasterChild
the number of master child
Definition: RagTime5Layout.cxx:111
RagTime5LayoutInternal::State::m_numPages
int m_numPages
the number of pages
Definition: RagTime5Layout.cxx:130
RagTime5StructManager::DataParser
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:396
RagTime5StructManager::DataParser::DataParser
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.cxx:61
RagTime5LayoutInternal::PageDataParser::~PageDataParser
~PageDataParser() final
destructor
Definition: RagTime5Layout.cxx:411
RagTime5StructManager::Field::T_FieldList
@ T_FieldList
Definition: RagTime5StructManager.hxx:244
RagTime5LayoutInternal::LayoutCParser::parsePageZone
bool parsePageZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a page
Definition: RagTime5Layout.cxx:910
RagTime5LayoutInternal::ClusterLayout
the layout cluster ( 4001 zone)
Definition: RagTime5Layout.cxx:65
RagTime5LayoutInternal::ClustListParser::m_fieldSize
int m_fieldSize
the field size
Definition: RagTime5Layout.cxx:355
RagTime5LayoutInternal::PageDataParser
Internal: the helper to read a extra page data.
Definition: RagTime5Layout.cxx:372
RagTime5Layout::readLayoutCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readLayoutCluster(RagTime5Zone &zone, int zoneType)
try to read a layout cluster
Definition: RagTime5Layout.cxx:1167
RagTime5LayoutInternal::ClusterLayout::m_numChild
int m_numChild
the number of classic child
Definition: RagTime5Layout.cxx:109
RagTime5LayoutInternal::ClusterLayout::ClusterLayout
ClusterLayout()
constructor
Definition: RagTime5Layout.cxx:67
RagTime5ClusterManager
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
RagTime5LayoutInternal::ClustListParser::operator=
ClustListParser & operator=(ClustListParser &orig)=delete
copy operator, not implemented
RagTime5LayoutInternal::LayoutCParser::getLayoutCluster
std::shared_ptr< ClusterLayout > getLayoutCluster()
return the current layout cluster
Definition: RagTime5Layout.cxx:442
RagTime5LayoutInternal::LayoutCParser::F_settingsDef
@ F_settingsDef
Definition: RagTime5Layout.cxx:419
RagTime5Layout::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Layout.cxx:272
RagTime5Layout::operator=
RagTime5Layout & operator=(RagTime5Layout const &orig)=delete
MWAWSubDocument.hxx
RagTime5ClusterManager.hxx
RagTime5StructManager::ZoneLink::m_dataId
int m_dataId
the data id (or 0)
Definition: RagTime5StructManager.hxx:344
RagTime5StructManager::FieldParser
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:353
RagTime5LayoutInternal::PageDataParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Layout.cxx:386
RagTime5ClusterManager::Link::m_N
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:212
RagTime5ClusterManager::NameLink
a link to a name zone in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:222
RagTime5Document
the main class to read a RagTime v5 file
Definition: RagTime5Document.hxx:76
RagTime5Layout::updateLayouts
void updateLayouts()
update all internal data: list of master layout, ...
Definition: RagTime5Layout.cxx:211
RagTime5LayoutInternal::State::m_layoutIdToSendList
std::vector< int > m_layoutIdToSendList
the list of layout to send
Definition: RagTime5Layout.cxx:136
RagTime5LayoutInternal::ClusterLayout::Zone::Zone
Zone()
constructor
Definition: RagTime5Layout.cxx:84
RagTime5Layout::sendPageContents
bool sendPageContents()
try to send the page content corresponding to the layout
Definition: RagTime5Layout.cxx:168
MWAWParagraph.hxx
RagTime5LayoutInternal::ClustListParser::m_linkList
std::vector< RagTime5StructManager::ZoneLink > m_linkList
the list of read cluster
Definition: RagTime5Layout.cxx:357
RagTime5LayoutInternal::LayoutCParser::parseZone
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Layout.cxx:501
RagTime5ClusterManager::Link::empty
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:133
RagTime5LayoutInternal::ClusterLayout::Zone::m_mainId
int m_mainId
the main zone id
Definition: RagTime5Layout.cxx:91
libmwaw_internal.hxx
RagTime5StructManager::printType
static std::string printType(unsigned long fileType)
debug: print a file type
Definition: RagTime5StructManager.cxx:94
MWAWPosition.hxx
RagTime5LayoutInternal::State
Internal: the state of a RagTime5Layout.
Definition: RagTime5Layout.cxx:120
RagTime5LayoutInternal::State::m_idLayoutMap
std::map< int, std::shared_ptr< ClusterLayout > > m_idLayoutMap
map data id to text zone
Definition: RagTime5Layout.cxx:132
RagTime5LayoutInternal::ClustListParser::getClusterDebugName
std::string getClusterDebugName(int id) const
return the cluster name
Definition: RagTime5Layout.cxx:326
RagTime5Document::readStructZone
bool readStructZone(RagTime5ClusterManager::Link const &link, RagTime5StructManager::FieldParser &parser, int headerSz, RagTime5ClusterManager::NameLink *nameLink=nullptr)
try to read a structured zone
Definition: RagTime5Document.cxx:1722
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
RagTime5ClusterManager::ClusterParser::m_dataId
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:457
RagTime5StructManager::Field::T_Long
@ T_Long
Definition: RagTime5StructManager.hxx:244
RagTime5ClusterManager::Cluster::C_GraphicZone
@ C_GraphicZone
Definition: RagTime5ClusterManager.hxx:268
RagTime5LayoutInternal::PageDataParser::operator=
PageDataParser & operator=(PageDataParser &orig)=delete
copy operator, not implemented
RagTime5LayoutInternal::ClustListParser::~ClustListParser
~ClustListParser() final
destructor
Definition: RagTime5Layout.cxx:367
RagTime5LayoutInternal::ClustListParser::getIdList
std::vector< int > getIdList() const
returns the not null list dataId list
Definition: RagTime5Layout.cxx:316
RagTime5Zone
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:50
RagTime5LayoutInternal::LayoutCParser::m_fieldName
std::string m_fieldName
the actual field name
Definition: RagTime5Layout.cxx:1150
RagTime5Layout::RagTime5Layout
RagTime5Layout(RagTime5Document &doc)
constructor
Definition: RagTime5Layout.cxx:144
RagTime5LayoutInternal::ClusterLayout::m_childIdSet
std::set< int > m_childIdSet
list of child id
Definition: RagTime5Layout.cxx:107
RagTime5Layout::printType
static std::string printType(unsigned long fileType)
debug: print a file type
Definition: RagTime5Layout.hxx:123
MWAWVec2< float >
RagTime5Layout::m_document
RagTime5Document & m_document
the parser
Definition: RagTime5Layout.hxx:137
RagTime5Document::readListZone
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Document.cxx:1585
MWAWDebug.hxx
RagTime5ClusterManager::Link::m_longList
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:218
RagTime5LayoutInternal::LayoutCParser::endZone
void endZone() final
end of a start zone call
Definition: RagTime5Layout.cxx:473
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
RagTime5Document::getClusterType
RagTime5ClusterManager::Cluster::Type getClusterType(int zId) const
returns the cluster type corresponding to zone id or C_Unknown (if the zone is not a cluster or was n...
Definition: RagTime5Document.cxx:472
RagTime5StyleManager.hxx
RagTime5LayoutInternal::ClustListParser
Internal: the helper to read a clustList.
Definition: RagTime5Layout.cxx:300
RagTime5Layout::m_state
std::shared_ptr< RagTime5LayoutInternal::State > m_state
the state
Definition: RagTime5Layout.hxx:145
RagTime5LayoutInternal::LayoutCParser::F_nextId
@ F_nextId
Definition: RagTime5Layout.cxx:419
RagTime5LayoutInternal::State::m_masterIdSet
std::set< int > m_masterIdSet
the list of master id
Definition: RagTime5Layout.cxx:134
RagTime5LayoutInternal::ClustListParser::m_clusterManager
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Layout.cxx:360
RagTime5LayoutInternal::LayoutCParser::F_pageData1
@ F_pageData1
Definition: RagTime5Layout.cxx:419
RagTime5LayoutInternal::LayoutCParser::m_what
int m_what
a index to know which field is parsed : 0: main, 1:list of pages, 2: unknown, 3:data0,...
Definition: RagTime5Layout.cxx:1146
RagTime5Layout.hxx
RagTime5ClusterManager::Link::L_List
@ L_List
Definition: RagTime5ClusterManager.hxx:117
RagTime5LayoutInternal::LayoutCParser::m_actualZone
ClusterLayout::Zone m_actualZone
the actual zone
Definition: RagTime5Layout.cxx:1153
RagTime5LayoutInternal::LayoutCParser::F_pageData2
@ F_pageData2
Definition: RagTime5Layout.cxx:419
RagTime5LayoutInternal::LayoutCParser::startZone
void startZone() final
start a new zone
Definition: RagTime5Layout.cxx:462
RagTime5LayoutInternal::LayoutCParser::m_expectedIdToType
std::map< int, int > m_expectedIdToType
the expected id
Definition: RagTime5Layout.cxx:1156
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
RagTime5LayoutInternal::LayoutCParser::m_cluster
std::shared_ptr< ClusterLayout > m_cluster
the current cluster
Definition: RagTime5Layout.cxx:1142
RagTime5StructManager::Field::T_LongList
@ T_LongList
Definition: RagTime5StructManager.hxx:244
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
RagTime5LayoutInternal::LayoutCParser::LayoutCParser
LayoutCParser(RagTime5ClusterManager &parser, int zoneType)
constructor
Definition: RagTime5Layout.cxx:421
RagTime5ClusterManager::getClusterDebugName
std::string getClusterDebugName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:230
RagTime5Document::getClusterManager
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Document.cxx:395
RagTime5ClusterManager::Link::m_fileType
unsigned long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:216
RagTime5StructManager
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:174
RagTime5LayoutInternal::LayoutCParser::F_pageData0
@ F_pageData0
Definition: RagTime5Layout.cxx:419
RagTime5LayoutInternal::PageDataParser::m_fieldSize
int m_fieldSize
the field size
Definition: RagTime5Layout.cxx:403
RagTime5Zone::m_ids
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:140
MWAWListener.hxx
RagTime5LayoutInternal::ClusterLayout::Zone::m_masterId
int m_masterId
the master zone id or 0
Definition: RagTime5Layout.cxx:93
RagTime5ClusterManager::Link
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:113
RagTime5LayoutInternal::ClustListParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Layout.cxx:332
RagTime5Layout::version
int version() const
returns the file version
Definition: RagTime5Layout.cxx:156
RagTime5ClusterManager::Cluster
the cluster data
Definition: RagTime5ClusterManager.hxx:261
RagTime5LayoutInternal::LayoutCParser::F_settings
@ F_settings
Definition: RagTime5Layout.cxx:419
libmwaw
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
RagTime5LayoutInternal::LayoutCParser::getNewZoneToParse
int getNewZoneToParse() final
returns to new zone to parse.
Definition: RagTime5Layout.cxx:453
RagTime5ClusterManager::ClusterParser::m_type
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:451
MWAWInputStream.hxx
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWFont.hxx
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
RagTime5Document::readUnicodeStringList
bool readUnicodeStringList(RagTime5ClusterManager::NameLink const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Document.cxx:843
RagTime5LayoutInternal::LayoutCParser::m_numPages
int m_numPages
the number of pages
Definition: RagTime5Layout.cxx:1144
RagTime5Document::readFixedSizeZone
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Document.cxx:1658
RagTime5Document::send
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0, int cellId=0, double totalWidth=-1)
try to send a cluster zone (mainly unimplemented)
Definition: RagTime5Document.cxx:2609
RagTime5LayoutInternal::LayoutCParser::F_name
@ F_name
Definition: RagTime5Layout.cxx:419
RagTime5ClusterManager::Cluster::C_Layout
@ C_Layout
Definition: RagTime5ClusterManager.hxx:264
RagTime5StructManager::ZoneLink
a zone link in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:303
RagTime5StructManager::readDataIdList
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:332
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
RagTime5Layout::updateLayout
void updateLayout(RagTime5LayoutInternal::ClusterLayout &layout)
check that a layout is valid, ...
Definition: RagTime5Layout.cxx:235
RagTime5ClusterManager::Link::m_name
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:208
RagTime5ClusterManager::ClusterParser::ClusterParser
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:383