basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
ReadResult
an enum to defined the result of a parsing use by some picture's classes which can read their data
Definition: MWAWPict.hxx:73
ActaText(ActaText const &orig)
State()
constructor
Definition: ActaText.cxx:122
shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:519
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:221
@ boldBit
Definition: MWAWFont.hxx:182
Internal: a topic of a ActaText.
Definition: ActaText.cxx:62
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:168
MWAWFont m_font
the line font
Definition: ActaText.cxx:105
the class to store a color
Definition: libmwaw_internal.hxx:182
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
shared_ptr< MWAWList > getMainList()
returns a list to be used in the text
Definition: ActaParser.cxx:309
std::string m_extra
extra
Definition: ActaText.cxx:115
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
@ Simple
Definition: MWAWFont.hxx:49
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: ActaText.cxx:133
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
int m_numPages
Definition: ActaText.cxx:136
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
bool m_pageBreak
true if a page break exists before the topic
Definition: ActaText.cxx:103
bool sendTopic(ActaTextInternal::Topic const &topic)
try to send a topic
Definition: ActaText.cxx:336
MWAWEntry m_auxi
an auxialliary entry(unknown)
Definition: ActaText.cxx:113
@ embossBit
Definition: MWAWFont.hxx:182
virtual ~ActaText()
destructor
Definition: ActaText.cxx:164
static ReadResult check(MWAWInputStreamPtr input, int size, MWAWBox2f &box)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:100
bool createZones()
try to create the text zones
Definition: ActaText.cxx:208
std::string m_extra
extra data
Definition: MWAWFont.hxx:552
std::vector< Topic > m_topicList
the topic list
Definition: ActaText.cxx:129
int m_hidden
the number of time a topic is hidden by its parents
Definition: ActaText.cxx:101
@ shadowBit
Definition: MWAWFont.hxx:183
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
std::string getDebugString(shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:197
bool readTopic()
try to read the topic definitions (line or graphic)
Definition: ActaText.cxx:251
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
Topic()
constructor
Definition: ActaText.cxx:64
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
ActaText & operator=(ActaText const &orig)
@ MWAW_R_BAD
Definition: MWAWPict.hxx:73
void setDefaultColorList(int version)
set the default color map
Definition: ActaText.cxx:139
the main class to read a Acta file
Definition: ActaParser.hxx:58
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
MWAWColor m_labelColor
the label color
Definition: ActaText.cxx:107
void newPage(int number)
adds a new page
Definition: ActaParser.cxx:390
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
int m_listId
the list id
Definition: ActaText.cxx:131
ActaText(ActaParser &parser)
constructor
Definition: ActaText.cxx:159
Internal: the structures of a ActaText.
Definition: ActaText.cxx:59
@ Char
Definition: MWAWPosition.hxx:51
friend std::ostream & operator<<(std::ostream &o, Topic const &topic)
operator<<
Definition: ActaText.cxx:74
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:254
int m_version
the file version
Definition: ActaText.cxx:135
int m_actualPage
Definition: ActaText.cxx:136
bool getColor(int id, MWAWColor &col) const
return the color which corresponds to an id (if possible)
Definition: ActaText.cxx:188
bool valid() const
return true if the topic is valid
Definition: ActaText.cxx:69
@ italicBit
Definition: MWAWFont.hxx:182
bool sendGraphic(ActaTextInternal::Topic const &topic)
try to read a graphic
Definition: ActaText.cxx:491
int version() const
returns the file version
Definition: ActaText.cxx:167
ActaParser * m_mainParser
the main parser
Definition: ActaText.hxx:115
shared_ptr< ActaTextInternal::State > m_state
the state
Definition: ActaText.hxx:112
MWAWEntry m_fonts
the fonts entries(for text)
Definition: ActaText.cxx:111
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
int m_depth
the node depth
Definition: ActaText.cxx:97
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
int m_type
the node type: 1=text, 2=graphic
Definition: ActaText.cxx:99
bool readFont(MWAWFont &font, bool inPLC)
try to read a font
Definition: ActaText.cxx:544
int numPages() const
returns the number of pages
Definition: ActaText.cxx:174
Class to store font.
Definition: MWAWFont.hxx:44
the main class to read the text part of Acta Text file
Definition: ActaText.hxx:58
MWAWEntry m_data
the data entries(text or graphic)
Definition: ActaText.cxx:109
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:170
bool sendMainText()
send a main zone
Definition: ActaText.cxx:233
bool sendText(ActaTextInternal::Topic const &topic)
try to read a text entry
Definition: ActaText.cxx:392
MWAWParserStatePtr m_parserState
the parser state
Definition: ActaText.hxx:109
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:445
Internal: the state of a ActaText.
Definition: ActaText.cxx:120
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
Generated on Wed Jun 17 2020 06:30:08 for libmwaw by
doxygen 1.8.18