34 #ifndef MACDRAFT5_STYLE_MANAGER
35 # define MACDRAFT5_STYLE_MANAGER
40 #include <librevenge/librevenge.h>
130 shared_ptr<MacDraft5StyleManagerInternal::State>
m_state;
MacDraft5Parser & m_parser
the main parser
Definition: MacDraft5StyleManager.hxx:126
bool readVersion(MWAWEntry &entry)
try to read a version (in data fork)
Definition: MacDraft5StyleManager.cxx:1489
bool readDashes(MWAWEntry const &entry, bool inRsrc)
try to read a list of dashs : DASH 128
Definition: MacDraft5StyleManager.cxx:1162
bool getPixmap(int pId, MWAWEmbeddedObject &picture, MWAWVec2i &pictSize, MWAWColor &avColor) const
try to get a pixpat pattern
Definition: MacDraft5StyleManager.cxx:735
bool readFonts(MWAWEntry const &entry, bool inRsrc)
try to read FNUS:1 resource
Definition: MacDraft5StyleManager.cxx:1056
virtual ~MacDraft5StyleManager()
destructor
Definition: MacDraft5StyleManager.cxx:571
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
bool readColors(MWAWEntry const &entry, bool inRsrc)
try to read a list of colors : pltt 128
Definition: MacDraft5StyleManager.cxx:1106
the class to store a color
Definition: libmwaw_internal.hxx:176
MWAWParserStatePtr m_parserState
the parser state
Definition: MacDraft5StyleManager.hxx:128
bool readResources()
try to read the resource block: either the resource fork(v4) or last file's part (v5) ...
Definition: MacDraft5StyleManager.cxx:825
bool getBitmap(int bId, MWAWEmbeddedObject &picture) const
try to get a bitmap
Definition: MacDraft5StyleManager.cxx:714
class to read/store MacDraft5 v4-v5 styles
Definition: MacDraft5StyleManager.hxx:57
bool readBitmapZones()
try to read the bitmap zones: end file(v4) or the zone before the rsrc part (v5)
Definition: MacDraft5StyleManager.cxx:791
bool readBitmap(MWAWEntry const &entry)
try to a bitmap
Definition: MacDraft5StyleManager.cxx:1281
bool getColor(int cId, MWAWColor &color) const
tries to return the color corresponding to an id
Definition: MacDraft5StyleManager.cxx:580
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:608
bool readPixPat(MWAWEntry const &entry, bool inRsrc)
try to read a ppat resource
Definition: MacDraft5StyleManager.cxx:1359
bool readOpcd(MWAWEntry const &entry, bool inRsrc)
try to read Opcd:131 resource (unknown)
Definition: MacDraft5StyleManager.cxx:1662
small class use to define a embedded object
Definition: libmwaw_internal.hxx:419
Internal: the structures of a MacDraft5StyleManager.
Definition: MacDraft5StyleManager.cxx:60
MacDraft5StyleManager(MacDraft5Parser &parser)
constructor
Definition: MacDraft5StyleManager.cxx:566
the main class to read a MacDraft5 v4-v5 file
Definition: MacDraft5Parser.hxx:61
bool readRSRCList(MWAWEntry const &entry, bool inRsrc)
try to read a resource list: PATL:128 or Opac:128+xxx
Definition: MacDraft5StyleManager.cxx:1623
shared_ptr< MacDraft5StyleManagerInternal::State > m_state
the state
Definition: MacDraft5StyleManager.hxx:130
std::string updateSurfaceStyle(int type, int id, MWAWGraphicStyle &style)
update the surface graphic style ( using surface type and id ).
Definition: MacDraft5StyleManager.cxx:664
bool readResource(MWAWEntry &entry, bool inRsrc)
try to read a resource
Definition: MacDraft5StyleManager.cxx:946
bool readBitmapList(MWAWEntry const &entry, bool inRsrc)
try to read BITList:0 resource
Definition: MacDraft5StyleManager.cxx:1533
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:502
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
void updatePatterns()
try to update the pattern list
Definition: MacDraft5StyleManager.cxx:754
std::string updateArrows(int startId, int endId, MWAWGraphicStyle &style)
update the arrow style
Definition: MacDraft5StyleManager.cxx:585
bool readPatterns(MWAWEntry const &entry, bool inRsrc)
try to read a list of patterns/gradient? : PLDT 128
Definition: MacDraft5StyleManager.cxx:1209
long getEndDataPosition() const
returns the end of data position (before the bitmap zones) if known or -1
Definition: MacDraft5StyleManager.cxx:575