34#ifndef MACDRAFT5_STYLE_MANAGER
35# define MACDRAFT5_STYLE_MANAGER
40#include <librevenge/librevenge.h>
130 std::shared_ptr<MacDraft5StyleManagerInternal::State>
m_state;
basic class to store an entry in a file This contained :
Definition MWAWEntry.hxx:47
a structure used to define a picture style
Definition MWAWGraphicStyle.hxx:48
the main class to read a MacDraft5 v4-v5 file
Definition MacDraft5Parser.hxx:62
class to read/store MacDraft5 v4-v5 styles
Definition MacDraft5StyleManager.hxx:58
bool readPixPat(MWAWEntry const &entry, bool inRsrc)
try to read a ppat resource
Definition MacDraft5StyleManager.cxx:1378
bool readBitmapZones()
try to read the bitmap zones: end file(v4) or the zone before the rsrc part (v5)
Definition MacDraft5StyleManager.cxx:811
bool readColors(MWAWEntry const &entry, bool inRsrc)
try to read a list of colors : pltt 128
Definition MacDraft5StyleManager.cxx:1125
std::string updateSurfaceStyle(int type, int id, MWAWGraphicStyle &style)
update the surface graphic style ( using surface type and id ).
Definition MacDraft5StyleManager.cxx:686
bool readBitmap(MWAWEntry const &entry)
try to a bitmap
Definition MacDraft5StyleManager.cxx:1300
std::shared_ptr< MacDraft5StyleManagerInternal::State > m_state
the state
Definition MacDraft5StyleManager.hxx:130
bool readPatterns(MWAWEntry const &entry, bool inRsrc)
try to read a list of patterns/gradient? : PLDT 128
Definition MacDraft5StyleManager.cxx:1228
MacDraft5Parser & m_parser
the main parser
Definition MacDraft5StyleManager.hxx:126
virtual ~MacDraft5StyleManager()
destructor
Definition MacDraft5StyleManager.cxx:593
bool readVersion(MWAWEntry &entry)
try to read a version (in data fork)
Definition MacDraft5StyleManager.cxx:1508
MacDraft5StyleManager(MacDraft5Parser &parser)
constructor
Definition MacDraft5StyleManager.cxx:586
bool readFonts(MWAWEntry const &entry, bool inRsrc)
try to read FNUS:1 resource
Definition MacDraft5StyleManager.cxx:1075
std::string updateArrows(int startId, int endId, MWAWGraphicStyle &style)
update the arrow style
Definition MacDraft5StyleManager.cxx:607
bool readResources()
try to read the resource block: either the resource fork(v4) or last file's part (v5)
Definition MacDraft5StyleManager.cxx:845
std::string updateLineStyle(int type, int id, int dashId, MWAWGraphicStyle &style)
update the line style ( using line type and col/pat id and the dashId).
Definition MacDraft5StyleManager.cxx:630
bool readBitmapList(MWAWEntry const &entry, bool inRsrc)
try to read BITList:0 resource
Definition MacDraft5StyleManager.cxx:1552
bool getBitmap(int bId, MWAWEmbeddedObject &picture) const
try to get a bitmap
Definition MacDraft5StyleManager.cxx:736
bool readResource(MWAWEntry &entry, bool inRsrc)
try to read a resource
Definition MacDraft5StyleManager.cxx:965
bool getColor(int cId, MWAWColor &color) const
tries to return the color corresponding to an id
Definition MacDraft5StyleManager.cxx:602
bool readDashes(MWAWEntry const &entry, bool inRsrc)
try to read a list of dashs : DASH 128
Definition MacDraft5StyleManager.cxx:1181
long getEndDataPosition() const
returns the end of data position (before the bitmap zones) if known or -1
Definition MacDraft5StyleManager.cxx:597
bool readRSRCList(MWAWEntry const &entry, bool inRsrc)
try to read a resource list: PATL:128 or Opac:128+xxx
Definition MacDraft5StyleManager.cxx:1641
void updatePatterns()
try to update the pattern list
Definition MacDraft5StyleManager.cxx:776
MWAWParserStatePtr m_parserState
the parser state
Definition MacDraft5StyleManager.hxx:128
bool readOpcd(MWAWEntry const &entry, bool inRsrc)
try to read Opcd:131 resource (unknown)
Definition MacDraft5StyleManager.cxx:1680
bool getPixmap(int pId, MWAWEmbeddedObject &picture, MWAWVec2i &pictSize, MWAWColor &avColor) const
try to get a pixpat pattern
Definition MacDraft5StyleManager.cxx:757
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition libmwaw_internal.hxx:557
Internal: the structures of a MacDraft5StyleManager.
Definition MacDraft5StyleManager.cxx:61
the class to store a color
Definition libmwaw_internal.hxx:192
small class use to define a embedded object
Definition libmwaw_internal.hxx:467