Go to the documentation of this file.
38 #ifndef CLARIS_WKS_BM_PARSER
39 # define CLARIS_WKS_BM_PARSER
44 #include <librevenge/librevenge.h>
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
Internal: the state of a ClarisWksBMParser.
Definition: ClarisWksBMParser.cxx:71
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: ClarisWksBMParser.cxx:119
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:547
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
MWAWGraphicListenerPtr & getGraphicListener()
returns the graphic listener
Definition: MWAWParser.hxx:130
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:236
void init()
inits all internal variables
Definition: ClarisWksBMParser.cxx:94
bitmap graphic
Definition: MWAWDocument.hxx:84
the main class to read a bitmap AppleWorks/ClarisWorks file
Definition: ClarisWksBMParser.hxx:65
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
~ClarisWksBMParser() final
destructor
Definition: ClarisWksBMParser.cxx:90
Internal: the structures of a ClarisWksBMParser.
Definition: ClarisWksBMParser.cxx:66
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksBMParser.cxx:159
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWPageSpan.hxx:155
double getMarginLeft() const
returns the left margin
Definition: MWAWPageSpan.hxx:130
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
ClarisWksBMParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksBMParser.cxx:82
friend class ClarisWksDocument
Definition: ClarisWksBMParser.hxx:67
std::shared_ptr< ClarisWksBMParserInternal::State > m_state
the state
Definition: ClarisWksBMParser.hxx:93
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
double getMarginRight() const
returns the right margin
Definition: MWAWPageSpan.hxx:135
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
void setGraphicListener(MWAWGraphicListenerPtr &listener)
sets the graphic listener
Definition: MWAWParser.cxx:125
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: ClarisWksBMParser.cxx:108
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
double getPageLength() const
returns the page length (form width without margin )
Definition: MWAWPageSpan.hxx:150
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
Definition: libmwaw_internal.hxx:143
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
Definition: MWAWPosition.hxx:51
std::shared_ptr< ClarisWksDocument > m_document
the style manager
Definition: ClarisWksBMParser.hxx:96
State()
constructor
Definition: ClarisWksBMParser.cxx:73
Definition: MWAWPosition.hxx:53
Definition: MWAWDocument.hxx:56
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:211
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:130
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:97
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:59
Generated on Wed Jul 24 2024 03:44:19 for libmwaw by
doxygen 1.8.16