the main class to read the graphic part of RagTime 56 file More...
#include <RagTime5Graph.hxx>
Public Member Functions | |
RagTime5Graph (RagTime5Document &doc) | |
constructor | |
virtual | ~RagTime5Graph () |
destructor | |
int | version () const |
returns the file version | |
int | numPages () const |
returns the number of pages | |
Static Public Member Functions | |
static std::string | printType (unsigned long fileType) |
debug: print a file type | |
Protected Member Functions | |
void | flushExtra (bool onlyCheck=false) |
sends the data which have not yet been sent to the listener | |
bool | sendTextZone (MWAWListenerPtr listener, int zId, int pId, double totalWidth=-1) |
ask to send a text zone | |
bool | sendButtonZoneAsText (MWAWListenerPtr listener, int zId) |
ask to send the button content as text | |
bool | readPictureContainer (RagTime5Zone &zone) |
try to read a picture data zone | |
bool | readPictureData (RagTime5Zone &zone) |
try to read a picture data zone: ie. the zone which contains jpeg, tiff, ... | |
bool | readPictureData (RagTime5Zone &zone, librevenge::RVNGBinaryData &data, std::string &type) |
try to read a picture data zone: ie. the zone which contains jpeg, tiff and then returns the picture content... | |
bool | readPictureList (RagTime5Zone &zone) |
try to read a picture list | |
bool | readPictureRep (RagTime5Zone &zone) |
try to read a picture rep | |
bool | readPictureMatch (RagTime5Zone &zone, bool color) |
try to read a picture match zone | |
bool | readGraphicTypes (RagTime5ClusterManager::Link const &link) |
try to read a main graphic types | |
bool | readColorPatternZone (RagTime5ClusterManager::Cluster &cluster) |
try to read a zone of color and pattern | |
std::shared_ptr< RagTime5ClusterManager::Cluster > | readButtonCluster (RagTime5Zone &zone, int zoneType) |
try to read a button zone | |
std::shared_ptr< RagTime5ClusterManager::Cluster > | readGraphicCluster (RagTime5Zone &zone, int zoneType) |
try to read a graphic zone | |
bool | readGraphicUsed (int typeId) |
try to read the id zone => used | |
bool | readGraphicShapes (RagTime5GraphInternal::ClusterGraphic &cluster) |
try to read the graphic shapes of a cluster | |
bool | readGraphicShape (RagTime5GraphInternal::ClusterGraphic &cluster, RagTime5Zone &dataZone, long endPos, int n, librevenge::RVNGString const &dataName) |
try to read a graphic | |
bool | readGraphicTransformations (RagTime5ClusterManager::Link const &link) |
try to read a graphic transformations zone | |
std::shared_ptr< RagTime5ClusterManager::Cluster > | readPictureCluster (RagTime5Zone &zone, int zoneType) |
try to read a picture zone | |
void | checkGraphicCluster (RagTime5GraphInternal::ClusterGraphic &cluster) |
check the graphic cluster data: check if there is no loop, ... | |
bool | send (int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos) |
try to send the cluster zone | |
bool | send (RagTime5GraphInternal::ClusterButton &cluster, MWAWListenerPtr listener, MWAWPosition const &pos, MWAWGraphicStyle const &style) |
try to send a button of cluster zone | |
bool | send (RagTime5GraphInternal::ClusterGraphic &cluster, MWAWListenerPtr listener, MWAWPosition const &pos) |
try to send the shapes of cluster zone | |
bool | send (RagTime5GraphInternal::Shape const &shape, RagTime5GraphInternal::ClusterGraphic const &cluster, MWAWListenerPtr listener, MWAWPosition const &pos) |
try to send a shape of cluster zone | |
bool | send (RagTime5GraphInternal::ClusterPicture &cluster, MWAWListenerPtr listener, MWAWPosition const &pos) |
try to send the picture of cluster zone | |
Protected Attributes | |
RagTime5Document & | m_document |
the parser | |
std::shared_ptr< RagTime5StructManager > | m_structManager |
the structure manager | |
std::shared_ptr< RagTime5StyleManager > | m_styleManager |
the style manager | |
MWAWParserStatePtr | m_parserState |
the parser state | |
std::shared_ptr< RagTime5GraphInternal::State > | m_state |
the state | |
Private Member Functions | |
RagTime5Graph (RagTime5Graph const &orig) | |
RagTime5Graph & | operator= (RagTime5Graph const &orig) |
Friends | |
class | RagTime5GraphInternal::SubDocument |
class | RagTime5Document |
the main class to read the graphic part of RagTime 56 file
|
explicit |
constructor
|
virtual |
destructor
|
private |
|
protected |
check the graphic cluster data: check if there is no loop, ...
Referenced by readGraphicCluster().
|
protected |
sends the data which have not yet been sent to the listener
int RagTime5Graph::numPages | ( | ) | const |
returns the number of pages
|
private |
|
inlinestatic |
debug: print a file type
Referenced by RagTime5GraphInternal::PictCParser::parseDataZone(), RagTime5GraphInternal::GraphicCParser::parseDataZone(), RagTime5GraphInternal::PictCParser::parseHeaderZone(), RagTime5GraphInternal::GraphicCParser::parseHeaderZone(), readGraphicShape(), and readGraphicTypes().
|
protected |
try to read a button zone
|
protected |
try to read a zone of color and pattern
|
protected |
try to read a graphic zone
|
protected |
try to read a graphic
Referenced by readGraphicShapes().
|
protected |
try to read the graphic shapes of a cluster
Referenced by readGraphicCluster().
|
protected |
try to read a graphic transformations zone
Referenced by readGraphicCluster().
|
protected |
try to read a main graphic types
|
protected |
try to read the id zone => used
Referenced by readGraphicCluster().
|
protected |
try to read a picture zone
|
protected |
try to read a picture data zone
Referenced by readPictureCluster().
|
protected |
try to read a picture data zone: ie. the zone which contains jpeg, tiff, ...
Referenced by readPictureContainer(), readPictureData(), and readPictureRep().
|
protected |
try to read a picture data zone: ie. the zone which contains jpeg, tiff and then returns the picture content...
|
protected |
try to read a picture list
Referenced by readPictureContainer().
|
protected |
try to read a picture match zone
Referenced by readPictureRep().
|
protected |
try to read a picture rep
Referenced by readPictureList().
|
protected |
try to send the cluster zone
Referenced by flushExtra(), and send().
|
protected |
try to send a button of cluster zone
|
protected |
try to send the shapes of cluster zone
|
protected |
try to send the picture of cluster zone
|
protected |
try to send a shape of cluster zone
|
protected |
ask to send the button content as text
|
protected |
ask to send a text zone
int RagTime5Graph::version | ( | ) | const |
returns the file version
|
friend |
|
friend |
|
protected |
the parser
Referenced by readButtonCluster(), readColorPatternZone(), readGraphicCluster(), readGraphicShapes(), readGraphicTransformations(), readGraphicTypes(), readGraphicUsed(), readPictureCluster(), readPictureContainer(), readPictureData(), readPictureList(), readPictureMatch(), send(), and sendTextZone().
|
protected |
the parser state
Referenced by flushExtra(), send(), sendButtonZoneAsText(), and version().
|
protected |
the state
Referenced by flushExtra(), readButtonCluster(), readGraphicCluster(), readGraphicShape(), readGraphicTypes(), readPictureCluster(), readPictureContainer(), readPictureData(), readPictureRep(), send(), and sendButtonZoneAsText().
|
protected |
the structure manager
|
protected |
the style manager
Referenced by send().