Go to the documentation of this file.
40 #include <librevenge/librevenge.h>
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
State()
constructor
Definition: ActaParser.cxx:197
Internal: class used to store the optional preferences in ActaParser.
Definition: ActaParser.cxx:162
bool isEmpty() const
returns true if the header is empty
Definition: ActaParser.cxx:115
bool readWindowPos(MWAWEntry const &entry)
read the window position ( WSIZ resource block )
Definition: ActaParser.cxx:784
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
MWAWFont m_font
the font
Definition: ActaParser.cxx:155
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:150
bool readRSRCZones()
read the resource fork zone
Definition: ActaParser.cxx:540
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
friend std::ostream & operator<<(std::ostream &o, Printing const &print)
operator<<
Definition: ActaParser.cxx:136
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition: MWAWList.hxx:113
Internal: the structures of a ActaParser.
Definition: ActaParser.cxx:58
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
Label m_label
the list type
Definition: ActaParser.cxx:214
ActaParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: ActaParser.cxx:268
Printing m_printerPreferences
the printer preferences
Definition: ActaParser.cxx:210
std::string m_DTFormat
the date/time format using strftime format if defined
Definition: libmwaw_internal.hxx:424
@ boldBit
Definition: MWAWFont.hxx:190
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:65
std::string m_title
the title (if defined)
Definition: ActaParser.cxx:212
bool operator!=(Label const &lbl) const
operator=!
Definition: ActaParser.cxx:96
@ NONE
Definition: MWAWList.hxx:46
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
@ LOWER_ALPHA
Definition: MWAWList.hxx:46
int id() const
returns the id
Definition: MWAWEntry.hxx:164
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:208
Printing()
constructor
Definition: ActaParser.cxx:108
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
Internal: class used to store a list type in ActaParser.
Definition: ActaParser.cxx:61
int version() const
returns the works version
Definition: MWAWParser.hxx:108
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:193
void init()
inits all internal variables
Definition: ActaParser.cxx:280
@ Simple
Definition: MWAWFont.hxx:49
bool operator==(Label const &lbl) const
operator==
Definition: ActaParser.cxx:91
@ UPPER_ALPHA
Definition: MWAWList.hxx:46
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
@ MWAW_T_ACTA
Acta (v2 and Classic v1)
Definition: MWAWDocument.hxx:101
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
bool readOption(MWAWEntry const &entry)
read the QOPT resource block (small print change )
Definition: ActaParser.cxx:886
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
bool readEndDataV3()
read the end file data zones
Definition: ActaParser.cxx:607
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
@ embossBit
Definition: MWAWFont.hxx:190
std::shared_ptr< ActaParserInternal::State > m_state
the state
Definition: ActaParser.hxx:133
bool readLabel(MWAWEntry const &entry)
read the label type
Definition: ActaParser.cxx:813
@ Date
Definition: libmwaw_internal.hxx:401
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
int m_flags
the flags
Definition: ActaParser.cxx:190
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
SubDocumentType
Definition: libmwaw_internal.hxx:188
~SubDocument() final
destructor
Definition: ActaParser.cxx:232
Internal: the subdocument of a ActaParser.
Definition: ActaParser.cxx:226
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
@ shadowBit
Definition: MWAWFont.hxx:191
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:158
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
a small structure used to store the informations about a list
Definition: MWAWList.hxx:123
@ UPPER_ROMAN
Definition: MWAWList.hxx:47
int m_actPage
the actual page
Definition: ActaParser.cxx:217
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ActaParser.cxx:249
T y() const
second element
Definition: libmwaw_internal.hxx:673
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:190
int m_footerHeight
the footer height if known
Definition: ActaParser.cxx:220
SubDocument(ActaParser &pars, MWAWInputStreamPtr const &input)
Definition: ActaParser.cxx:228
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
T x() const
first element
Definition: libmwaw_internal.hxx:668
std::shared_ptr< MWAWList > getMainList()
returns a list to be used in the text
Definition: ActaParser.cxx:316
std::shared_ptr< MWAWListManager > MWAWListManagerPtr
a smart pointer of MWAWListManager
Definition: libmwaw_internal.hxx:555
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: ActaParser.cxx:293
bool createZones()
finds the different objects zones
Definition: ActaParser.cxx:525
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
@ PageBreak
Definition: MWAWListener.hxx:58
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
bool readHFProperties(MWAWEntry const &entry)
read the Header/Footer property (QHDR block)
Definition: ActaParser.cxx:836
Internal: the state of a ActaParser.
Definition: ActaParser.cxx:195
Definition: libmwaw_internal.hxx:144
int m_flags[2]
the flags
Definition: ActaParser.cxx:157
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
the main class to read a Acta file
Definition: ActaParser.hxx:58
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
void newPage(int number)
adds a new page
Definition: ActaParser.cxx:397
@ LOWER_ROMAN
Definition: MWAWList.hxx:47
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
bool operator!=(Printing const &print) const
operator=!
Definition: ActaParser.cxx:131
Label(int type=-1)
constructor
Definition: ActaParser.cxx:63
a field
Definition: libmwaw_internal.hxx:399
@ PageNumber
Definition: libmwaw_internal.hxx:401
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:203
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
std::string m_stringLabel
the custom label (if defined)
Definition: ActaParser.cxx:216
int m_type
the label type
Definition: ActaParser.cxx:101
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: MWAWList.hxx:114
@ DECIMAL
Definition: MWAWList.hxx:46
int m_headerHeight
the header height if known
Definition: ActaParser.cxx:219
@ italicBit
Definition: MWAWFont.hxx:190
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
friend std::ostream & operator<<(std::ostream &o, Label const &lbl)
operator<<
Definition: ActaParser.cxx:66
Defines MWAWTextListener: the libmwaw word processor listener.
@ BULLET
Definition: MWAWList.hxx:46
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
small structure to keep information about a list level
Definition: MWAWList.hxx:44
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
Type m_type
the type of the level
Definition: MWAWList.hxx:101
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:198
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
void setHeaderFooter(MWAWHeaderFooter const &headerFooter)
add a header/footer on some page
Definition: MWAWPageSpan.cxx:227
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: ActaParser.cxx:413
int m_numBeforeLabels
the number of label to show before this
Definition: MWAWList.hxx:103
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
double m_labelAfterSpace
the minimum distance between the label and the text
Definition: MWAWList.hxx:106
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ActaParser.cxx:235
friend std::ostream & operator<<(std::ostream &o, Option const &opt)
operator<<
Definition: ActaParser.cxx:167
bool readPrintInfo(MWAWEntry const &entry)
read a PrintInfo block ( PSET resource block )
Definition: ActaParser.cxx:730
Option(int flags=0)
constructor
Definition: ActaParser.cxx:164
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:51
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
Definition: MWAWDocument.hxx:57
void sendHeaderFooter()
sends the header/footer data
Definition: ActaParser.cxx:474
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
Class to store font.
Definition: MWAWFont.hxx:44
librevenge::RVNGString m_prefix
string which preceedes the number if we have an ordered level
Definition: MWAWList.hxx:112
@ Title
Definition: libmwaw_internal.hxx:401
std::shared_ptr< ActaText > m_textParser
the text parser
Definition: ActaParser.hxx:136
Internal: class used to store the printing preferences in ActaParser.
Definition: ActaParser.cxx:106
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ActaParser.cxx:442
the main class to read the text part of Acta Text file
Definition: ActaText.hxx:58
bool operator==(Printing const &print) const
operator==
Definition: ActaParser.cxx:120
friend class ActaText
Definition: ActaParser.hxx:60
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: ActaParser.cxx:916
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
void setUnderlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the underline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:466
~ActaParser() final
destructor
Definition: ActaParser.cxx:276
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: ActaParser.cxx:306
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:163
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: ActaParser.cxx:298
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
int m_numPages
the number of page of the final document
Definition: ActaParser.cxx:217
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20