RagTime5Document.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 -*- */
/* libmwaw
* 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.
*/
#ifndef RAGTIME_5_DOCUMENT
# define RAGTIME_5_DOCUMENT
#include <map>
#include <string>
#include <set>
#include <vector>
#include "MWAWDebug.hxx"
#include "MWAWInputStream.hxx"
#include "MWAWParser.hxx"
#include "RagTime5StructManager.hxx"
#include "RagTime5ClusterManager.hxx"
namespace RagTime5DocumentInternal
{
struct DocInfoFieldParser;
struct State;
class SubDocument;
}
class RagTime5Chart;
class RagTime5Formula;
class RagTime5Graph;
class RagTime5Layout;
class RagTime5Parser;
class RagTime5Pipeline;
class RagTime5SSParser;
class RagTime5Spreadsheet;
class RagTime5StructManager;
class RagTime5StyleManager;
class RagTime5Text;
class RagTime5Zone;
class RagTime5ClusterManager;
class RagTime5Document
{
friend class RagTime5Chart;
friend class RagTime5Formula;
friend class RagTime5Graph;
friend class RagTime5Layout;
friend class RagTime5Parser;
friend class RagTime5Pipeline;
friend class RagTime5Spreadsheet;
friend class RagTime5SSParser;
friend class RagTime5StructManager;
friend class RagTime5Text;
friend class RagTime5ClusterManager;
friend struct RagTime5DocumentInternal::DocInfoFieldParser;
friend class RagTime5StyleManager;
friend class RagTime5DocumentInternal::SubDocument;
public:
explicit RagTime5Document(MWAWParser &parser);
~RagTime5Document();
bool checkHeader(MWAWHeader *header, bool strict=false);
MWAWParser &getMainParser()
{
return *m_parser;
}
protected:
void init();
//
// interface
//
int numPages() const;
void updatePageSpanList(std::vector<MWAWPageSpan> &spanList);
librevenge::RVNGPropertyList getDocumentMetaData() const;
MWAWParserStatePtr getParserState()
{
return m_parserState;
}
int version() const;
void setVersion(int vers);
libmwaw::DebugFile &ascii()
{
return getParserState()->m_asciiFile;
}
std::shared_ptr<RagTime5Zone> getDataZone(int dataId) const;
RagTime5ClusterManager::Cluster::Type getClusterType(int zId) const;
RagTime5ClusterManager::Cluster::Type getPipelineContainerType(int pipelineId) const;
std::shared_ptr<RagTime5ClusterManager> getClusterManager();
std::shared_ptr<RagTime5StructManager> getStructManager();
std::shared_ptr<RagTime5StyleManager> getStyleManager();
std::shared_ptr<RagTime5Formula> getFormulaParser();
std::shared_ptr<RagTime5Graph> getGraphParser();
std::shared_ptr<RagTime5Spreadsheet> getSpreadsheetParser();
std::shared_ptr<RagTime5ClusterManager::Cluster> readButtonCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readChartCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readGraphicCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readLayoutCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readPipelineCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readPictureCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readSpreadsheetCluster(RagTime5Zone &zone, int zoneType);
std::shared_ptr<RagTime5ClusterManager::Cluster> readTextCluster(RagTime5Zone &zone, int zoneType);
bool sendZones(MWAWListenerPtr listener);
bool sendSpreadsheet(MWAWListenerPtr listener);
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0, int cellId=0, double totalWidth=-1);
bool sendButtonZoneAsText(MWAWListenerPtr listener, int buttonId);
void newPage(int number, bool softBreak);
bool createZones();
bool findZones(MWAWEntry const &entry);
bool findZonesKind();
bool updateZone(std::shared_ptr<RagTime5Zone> &zone);
bool updateZoneInput(RagTime5Zone &zone);
bool readZoneData(RagTime5Zone &zone);
bool unpackZone(RagTime5Zone &zone, MWAWEntry const &entry, std::vector<unsigned char> &data);
bool unpackZone(RagTime5Zone &zone);
bool useMainZoneInfoData();
bool parseMainZoneInfoData(RagTime5Zone const &zone);
bool checkIsSpreadsheet();
bool readClusterZone(RagTime5Zone &zone, int type=-1);
bool readClusterLinkList(RagTime5Zone &zone,
RagTime5ClusterManager::Link const &link,
std::vector<RagTime5StructManager::ZoneLink> &listLinks);
bool readClusterLinkList(RagTime5ClusterManager::Link const &link,
std::vector<RagTime5StructManager::ZoneLink> &list, std::string const &name="");
bool readString(RagTime5Zone &zone, std::string &string);
bool readUnicodeString(RagTime5Zone &zone, std::string const &what="");
bool readLongListWithSize(int dataId, int fSz, std::vector<long> &list, std::string const &zoneName="");
bool readPositions(int posId, std::vector<long> &listPosition);
bool readLongList(RagTime5ClusterManager::Link const &link, std::vector<long> &list);
bool readUnicodeStringList(RagTime5ClusterManager::NameLink const &link, std::map<int, librevenge::RVNGString> &idToStringMap);
bool readDocumentVersion(RagTime5Zone &zone);
bool readClusterRootData(RagTime5ClusterManager::ClusterRoot &cluster);
bool readDocInfoClusterData(RagTime5Zone &zone, MWAWEntry const &entry);
bool readScriptComment(RagTime5Zone &zone);
bool readClusterGProp(RagTime5ClusterManager::Cluster &cluster);
bool readUnknownClusterCData(RagTime5ClusterManager::Cluster const &cluster);
bool readStructZone(RagTime5ClusterManager::Link const &link, RagTime5StructManager::FieldParser &parser, int headerSz, RagTime5ClusterManager::NameLink *nameLink=nullptr);
bool readStructData(RagTime5Zone &zone, long endPos, int n, int headerSz,
RagTime5StructManager::FieldParser &parser, librevenge::RVNGString const &dataName);
bool readListZone(RagTime5ClusterManager::Link const &link);
bool readListZone(RagTime5ClusterManager::Link const &link, RagTime5StructManager::DataParser &parser);
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name);
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, RagTime5StructManager::DataParser &parser);
bool readChildList(RagTime5ClusterManager::Link const &link, std::vector<RagTime5StructManager::ZoneLink> &childList, bool findN=false);
bool checkClusterList(std::vector<RagTime5StructManager::ZoneLink> const &list);
bool checkClusterList(std::vector<int> const &list);
void flushExtra(MWAWListenerPtr listener, bool onlyCheck=false);
protected:
//
// data
//
MWAWParser *m_parser;
std::shared_ptr<MWAWParserState> m_parserState;
std::shared_ptr<RagTime5DocumentInternal::State> m_state;
std::shared_ptr<RagTime5Chart> m_chartParser;
std::shared_ptr<RagTime5Formula> m_formulaParser;
std::shared_ptr<RagTime5Graph> m_graphParser;
std::shared_ptr<RagTime5Layout> m_layoutParser;
std::shared_ptr<RagTime5Pipeline> m_pipelineParser;
std::shared_ptr<RagTime5Spreadsheet> m_spreadsheetParser;
std::shared_ptr<RagTime5Text> m_textParser;
std::shared_ptr<RagTime5ClusterManager> m_clusterManager;
std::shared_ptr<RagTime5StructManager> m_structManager;
std::shared_ptr<RagTime5StyleManager> m_styleManager;
//
// the callback
//
typedef void (MWAWParser::* NewPage)(int page, bool softBreak);
typedef void (MWAWParser::* SendFootnote)(int zoneId);
NewPage m_newPage;
SendFootnote m_sendFootnote;
private:
RagTime5Document(RagTime5Document const &)=delete;
RagTime5Document &operator=(RagTime5Document const &)=delete;
};
#endif
// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWDebug.hxx
MWAWInputStream.hxx
MWAWParser.hxx
RagTime5ClusterManager.hxx
RagTime5StructManager.hxx
MWAWEntry
basic class to store an entry in a file This contained :
Definition MWAWEntry.hxx:47
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition MWAWHeader.hxx:57
MWAWParser
virtual class which defines the ancestor of all main zone parser
Definition MWAWParser.hxx:100
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition MWAWPosition.hxx:48
RagTime5Chart
the main class to read the chart part of RagTime 56 file
Definition RagTime5Chart.hxx:74
RagTime5ClusterManager
basic class used to manage RagTime 5/6 zones
Definition RagTime5ClusterManager.hxx:59
RagTime5Document::m_styleManager
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition RagTime5Document.hxx:300
RagTime5Document::readClusterGProp
bool readClusterGProp(RagTime5ClusterManager::Cluster &cluster)
try to read the cluster with contains main graphic object properties
Definition RagTime5Document.cxx:1526
RagTime5Document::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition RagTime5Document.hxx:122
RagTime5Document::getFormulaParser
std::shared_ptr< RagTime5Formula > getFormulaParser()
returns the formula parser
Definition RagTime5Document.cxx:410
RagTime5Document::readDocInfoClusterData
bool readDocInfoClusterData(RagTime5Zone &zone, MWAWEntry const &entry)
try to read the main doc info cluster data
Definition RagTime5Document.cxx:1296
RagTime5Document::m_formulaParser
std::shared_ptr< RagTime5Formula > m_formulaParser
the formula manager
Definition RagTime5Document.hxx:283
RagTime5Document::readFixedSizeZone
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition RagTime5Document.cxx:1658
RagTime5Document::RagTime5Parser
friend class RagTime5Parser
Definition RagTime5Document.hxx:82
RagTime5Document::getPipelineContainerType
RagTime5ClusterManager::Cluster::Type getPipelineContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition RagTime5Document.cxx:477
RagTime5Document::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition RagTime5Document.hxx:132
RagTime5Document::readZoneData
bool readZoneData(RagTime5Zone &zone)
try to read the zone data
Definition RagTime5Document.cxx:679
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
RagTime5Document::readGraphicCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readGraphicCluster(RagTime5Zone &zone, int zoneType)
try to read a graphic cluster (via the graphic manager)
Definition RagTime5Document.cxx:435
RagTime5Document::setVersion
void setVersion(int vers)
sets the document version
Definition RagTime5Document.cxx:361
RagTime5Document::updateZone
bool updateZone(std::shared_ptr< RagTime5Zone > &zone)
try to update a zone: information + input
Definition RagTime5Document.cxx:1909
RagTime5Document::readScriptComment
bool readScriptComment(RagTime5Zone &zone)
try to read a script comment zone
Definition RagTime5Document.cxx:1449
RagTime5Document::readSpreadsheetCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readSpreadsheetCluster(RagTime5Zone &zone, int zoneType)
try to read a spreadsheet cluster (via the spreadsheet manager)
Definition RagTime5Document.cxx:455
RagTime5Document::readPositions
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition RagTime5Document.cxx:923
RagTime5Document::SubDocument
friend class RagTime5DocumentInternal::SubDocument
Definition RagTime5Document.hxx:91
RagTime5Document::m_textParser
std::shared_ptr< RagTime5Text > m_textParser
the text manager
Definition RagTime5Document.hxx:293
RagTime5Document::readDocumentVersion
bool readDocumentVersion(RagTime5Zone &zone)
try to read the document version zone
Definition RagTime5Document.cxx:2178
RagTime5Document::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition RagTime5Document.cxx:2507
RagTime5Document::newPage
void newPage(int number, bool softBreak)
adds a new page
Definition RagTime5Document.cxx:485
RagTime5Document::RagTime5StructManager
friend class RagTime5StructManager
Definition RagTime5Document.hxx:86
RagTime5Document::readUnicodeString
bool readUnicodeString(RagTime5Zone &zone, std::string const &what="")
try to read a unicode string zone
Definition RagTime5Document.cxx:817
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
RagTime5Document::readString
bool readString(RagTime5Zone &zone, std::string &string)
try to read a string zone ( zone with id1=21,id2=23:24)
Definition RagTime5Document.cxx:787
RagTime5Document::readListZone
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition RagTime5Document.cxx:1585
RagTime5Document::SendFootnote
void(MWAWParser::* SendFootnote)(int zoneId)
callback used to send a footnote
Definition RagTime5Document.hxx:309
RagTime5Document::createZones
bool createZones()
finds the different objects zones
Definition RagTime5Document.cxx:500
RagTime5Document::sendButtonZoneAsText
bool sendButtonZoneAsText(MWAWListenerPtr listener, int buttonId)
try to send a button content as text
Definition RagTime5Document.cxx:390
RagTime5Document::m_sendFootnote
SendFootnote m_sendFootnote
the send footnote callback
Definition RagTime5Document.hxx:314
RagTime5Document::~RagTime5Document
~RagTime5Document()
destructor
Definition RagTime5Document.cxx:330
RagTime5Document::RagTime5StyleManager
friend class RagTime5StyleManager
Definition RagTime5Document.hxx:90
RagTime5Document::m_graphParser
std::shared_ptr< RagTime5Graph > m_graphParser
the graph manager
Definition RagTime5Document.hxx:285
RagTime5Document::operator=
RagTime5Document & operator=(RagTime5Document const &)=delete
RagTime5Document::getGraphParser
std::shared_ptr< RagTime5Graph > getGraphParser()
returns the graphic parser
Definition RagTime5Document.cxx:415
RagTime5Document::RagTime5Text
friend class RagTime5Text
Definition RagTime5Document.hxx:87
RagTime5Document::parseMainZoneInfoData
bool parseMainZoneInfoData(RagTime5Zone const &zone)
try to parse the zoneInfo child
Definition RagTime5Document.cxx:589
RagTime5Document::readClusterZone
bool readClusterZone(RagTime5Zone &zone, int type=-1)
try to read a cluster zone
Definition RagTime5Document.cxx:1132
RagTime5Document::m_state
std::shared_ptr< RagTime5DocumentInternal::State > m_state
the state
Definition RagTime5Document.hxx:279
RagTime5Document::version
int version() const
returns the document version
Definition RagTime5Document.cxx:356
RagTime5Document::unpackZone
bool unpackZone(RagTime5Zone &zone, MWAWEntry const &entry, std::vector< unsigned char > &data)
try to unpack a zone
Definition RagTime5Document.cxx:2035
RagTime5Document::readLongList
bool readLongList(RagTime5ClusterManager::Link const &link, std::vector< long > &list)
try to read/get the list of long of a L_LongList
Definition RagTime5Document.cxx:914
RagTime5Document::checkClusterList
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition RagTime5Document.cxx:1117
RagTime5Document::getStyleManager
std::shared_ptr< RagTime5StyleManager > getStyleManager()
returns the style manager
Definition RagTime5Document.cxx:405
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
RagTime5Document::NewPage
void(MWAWParser::* NewPage)(int page, bool softBreak)
callback used to send a page break
Definition RagTime5Document.hxx:307
RagTime5Document::useMainZoneInfoData
bool useMainZoneInfoData()
try to read the main zone info zone and the main cluster(and child)
Definition RagTime5Document.cxx:646
RagTime5Document::readUnknownClusterCData
bool readUnknownClusterCData(RagTime5ClusterManager::Cluster const &cluster)
try to read the unknown clusterC data
Definition RagTime5Document.cxx:1551
RagTime5Document::numPages
int numPages() const
returns the document number of page
Definition RagTime5Document.cxx:366
RagTime5Document::m_layoutParser
std::shared_ptr< RagTime5Layout > m_layoutParser
the layout manager
Definition RagTime5Document.hxx:287
RagTime5Document::readPictureCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readPictureCluster(RagTime5Zone &zone, int zoneType)
try to read a picture cluster (via the graphic manager)
Definition RagTime5Document.cxx:450
RagTime5Document::RagTime5ClusterManager
friend class RagTime5ClusterManager
Definition RagTime5Document.hxx:88
RagTime5Document::readClusterRootData
bool readClusterRootData(RagTime5ClusterManager::ClusterRoot &cluster)
try to read the main cluster
Definition RagTime5Document.cxx:931
RagTime5Document::RagTime5Spreadsheet
friend class RagTime5Spreadsheet
Definition RagTime5Document.hxx:84
RagTime5Document::getMainParser
MWAWParser & getMainParser()
returns the main parser
Definition RagTime5Document.hxx:102
RagTime5Document::readTextCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readTextCluster(RagTime5Zone &zone, int zoneType)
try to read a text cluster (via the text manager)
Definition RagTime5Document.cxx:460
RagTime5Document::m_clusterManager
std::shared_ptr< RagTime5ClusterManager > m_clusterManager
the cluster manager
Definition RagTime5Document.hxx:296
RagTime5Document::m_spreadsheetParser
std::shared_ptr< RagTime5Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition RagTime5Document.hxx:291
RagTime5Document::RagTime5Chart
friend class RagTime5Chart
Definition RagTime5Document.hxx:78
RagTime5Document::readChartCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster (via the spreadsheet manager)
Definition RagTime5Document.cxx:430
RagTime5Document::RagTime5Formula
friend class RagTime5Formula
Definition RagTime5Document.hxx:79
RagTime5Document::m_pipelineParser
std::shared_ptr< RagTime5Pipeline > m_pipelineParser
the pipeline manager
Definition RagTime5Document.hxx:289
RagTime5Document::m_chartParser
std::shared_ptr< RagTime5Chart > m_chartParser
the chart manager
Definition RagTime5Document.hxx:281
RagTime5Document::sendSpreadsheet
bool sendSpreadsheet(MWAWListenerPtr listener)
try to send the spreadsheet (assuming there is only one spreadsheet)
Definition RagTime5Document.cxx:2595
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
RagTime5Document::RagTime5Graph
friend class RagTime5Graph
Definition RagTime5Document.hxx:80
RagTime5Document::RagTime5SSParser
friend class RagTime5SSParser
Definition RagTime5Document.hxx:85
RagTime5Document::flushExtra
void flushExtra(MWAWListenerPtr listener, bool onlyCheck=false)
flush unsent zone (debugging function)
Definition RagTime5Document.cxx:2638
RagTime5Document::RagTime5Pipeline
friend class RagTime5Pipeline
Definition RagTime5Document.hxx:83
RagTime5Document::getClusterManager
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition RagTime5Document.cxx:395
RagTime5Document::init
void init()
inits all internal variables
Definition RagTime5Document.cxx:334
RagTime5Document::sendZones
bool sendZones(MWAWListenerPtr listener)
try to send the different zones
Definition RagTime5Document.cxx:2580
RagTime5Document::findZonesKind
bool findZonesKind()
try to find the zone's kind
Definition RagTime5Document.cxx:554
RagTime5Document::m_newPage
NewPage m_newPage
the new page callback
Definition RagTime5Document.hxx:312
RagTime5Document::m_structManager
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition RagTime5Document.hxx:298
RagTime5Document::findZones
bool findZones(MWAWEntry const &entry)
try to find the list of zones (and stores them in a list)
Definition RagTime5Document.cxx:2230
RagTime5Document::readLayoutCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readLayoutCluster(RagTime5Zone &zone, int zoneType)
try to read a layout cluster (via the layout manager)
Definition RagTime5Document.cxx:440
RagTime5Document::getStructManager
std::shared_ptr< RagTime5StructManager > getStructManager()
returns the structure manager
Definition RagTime5Document.cxx:400
RagTime5Document::RagTime5Document
RagTime5Document(MWAWParser &parser)
constructor
Definition RagTime5Document.cxx:309
RagTime5Document::readClusterLinkList
bool readClusterLinkList(RagTime5Zone &zone, RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &listLinks)
try to read a cluster link zone
Definition RagTime5Document.cxx:1217
RagTime5Document::getSpreadsheetParser
std::shared_ptr< RagTime5Spreadsheet > getSpreadsheetParser()
returns the spreadsheet parser
Definition RagTime5Document.cxx:420
RagTime5Document::m_parser
MWAWParser * m_parser
the main parser
Definition RagTime5Document.hxx:275
RagTime5Document::RagTime5Layout
friend class RagTime5Layout
Definition RagTime5Document.hxx:81
RagTime5Document::readPipelineCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readPipelineCluster(RagTime5Zone &zone, int zoneType)
try to read a pipeline cluster (via the pipeline manager)
Definition RagTime5Document.cxx:445
RagTime5Document::readStructData
bool readStructData(RagTime5Zone &zone, long endPos, int n, int headerSz, RagTime5StructManager::FieldParser &parser, librevenge::RVNGString const &dataName)
try to read a data in a structured zone
Definition RagTime5Document.cxx:1817
RagTime5Document::getDocumentMetaData
librevenge::RVNGPropertyList getDocumentMetaData() const
returns the document meta data
Definition RagTime5Document.cxx:351
RagTime5Document::RagTime5Document
RagTime5Document(RagTime5Document const &)=delete
RagTime5Document::m_parserState
std::shared_ptr< MWAWParserState > m_parserState
the parser state
Definition RagTime5Document.hxx:277
RagTime5Document::readChildList
bool readChildList(RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &childList, bool findN=false)
try to read a cluster child list
Definition RagTime5Document.cxx:1073
RagTime5Document::getDataZone
std::shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition RagTime5Document.cxx:465
RagTime5Document::readButtonCluster
std::shared_ptr< RagTime5ClusterManager::Cluster > readButtonCluster(RagTime5Zone &zone, int zoneType)
try to read a button cluster (via the graphic manager)
Definition RagTime5Document.cxx:425
RagTime5Document::updateZoneInput
bool updateZoneInput(RagTime5Zone &zone)
try to update a zone: create a new input if the zone is stored in different positions,...
Definition RagTime5Document.cxx:1982
RagTime5Document::readLongListWithSize
bool readLongListWithSize(int dataId, int fSz, std::vector< long > &list, std::string const &zoneName="")
try to read a int/long zone data
Definition RagTime5Document.cxx:867
RagTime5Document::checkIsSpreadsheet
bool checkIsSpreadsheet()
check if the document is a spreadsheet
Definition RagTime5Document.cxx:2424
RagTime5Document::updatePageSpanList
void updatePageSpanList(std::vector< MWAWPageSpan > &spanList)
updates the page span list
Definition RagTime5Document.cxx:383
RagTime5Formula
the main class to read the formula part of RagTime 56 file
Definition RagTime5Formula.hxx:74
RagTime5Graph
the main class to read the graphic part of RagTime 56 file
Definition RagTime5Graph.hxx:81
RagTime5Layout
the main class to read the text part of RagTime 56 file
Definition RagTime5Layout.hxx:73
RagTime5Parser
the main class to parse a RagTime 5-6 file
Definition RagTime5Parser.hxx:66
RagTime5Pipeline
the main class to read the text part of RagTime 56 file
Definition RagTime5Pipeline.hxx:73
RagTime5SSParser
the main class to parse a RagTime 5-6 file containing only a spreadsheet
Definition RagTime5SSParser.hxx:66
RagTime5Spreadsheet
the main class to read the spreadsheet part of RagTime 56 file
Definition RagTime5Spreadsheet.hxx:78
RagTime5StructManager
basic class used to store RagTime 5/6 structures
Definition RagTime5StructManager.hxx:175
RagTime5StyleManager
basic class used to read/store RagTime 5/6 styles
Definition RagTime5StyleManager.hxx:63
RagTime5Text
the main class to read the text part of RagTime 56 file
Definition RagTime5Text.hxx:76
RagTime5Zone
main zone in a RagTime v5-v6 document
Definition RagTime5StructManager.hxx:51
libmwaw::DebugFile
Definition MWAWDebug.hxx:66
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition libmwaw_internal.hxx:557
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition libmwaw_internal.hxx:553
RagTime5DocumentInternal
Internal: the structures of a RagTime5Document.
Definition RagTime5Document.cxx:72
RagTime5ClusterManager::ClusterRoot
the cluster for root
Definition RagTime5ClusterManager.hxx:329
RagTime5ClusterManager::Cluster
the cluster data
Definition RagTime5ClusterManager.hxx:261
RagTime5ClusterManager::Cluster::Type
Type
the cluster type
Definition RagTime5ClusterManager.hxx:263
RagTime5ClusterManager::Link
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition RagTime5ClusterManager.hxx:113
RagTime5ClusterManager::NameLink
a link to a name zone in RagTime 5/6 documents
Definition RagTime5ClusterManager.hxx:222
RagTime5DocumentInternal::DocInfoFieldParser
Internal: the helper to read doc info parse.
Definition RagTime5Document.cxx:74
RagTime5DocumentInternal::State
Internal: the state of a RagTime5Document.
Definition RagTime5Document.cxx:252
RagTime5StructManager::DataParser
virtual class use to parse the unstructured data
Definition RagTime5StructManager.hxx:396
RagTime5StructManager::FieldParser
virtual class use to parse the field data
Definition RagTime5StructManager.hxx:353