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:551
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:549
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
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:237
void init()
inits all internal variables
Definition: ClarisWksBMParser.cxx:94
@ MWAW_K_PAINT
bitmap graphic
Definition: MWAWDocument.hxx:84
the main class to read a bitmap AppleWorks/ClarisWorks file
Definition: ClarisWksBMParser.hxx:66
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:67
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:74
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWPageSpan.hxx:157
double getMarginLeft() const
returns the left margin
Definition: MWAWPageSpan.hxx:132
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::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
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:137
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
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
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
double getPageLength() const
returns the page length (form width without margin )
Definition: MWAWPageSpan.hxx:152
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
Definition: libmwaw_internal.hxx:144
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
@ Page
Definition: MWAWPosition.hxx:51
std::shared_ptr< ClarisWksDocument > m_document
the style manager
Definition: ClarisWksBMParser.hxx:96
State()
constructor
Definition: ClarisWksBMParser.cxx:73
@ WNone
Definition: MWAWPosition.hxx:53
Definition: MWAWDocument.hxx:57
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:130
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20