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
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
State()
constructor
Definition: ActaText.cxx:131
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
@ boldBit
Definition: MWAWFont.hxx:190
Internal: a topic of a ActaText.
Definition: ActaText.cxx:62
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:174
MWAWFont m_font
the line font
Definition: ActaText.cxx:114
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
std::string m_extra
extra
Definition: ActaText.cxx:124
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
@ Simple
Definition: MWAWFont.hxx:49
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: ActaText.cxx:148
int m_numPages
Definition: ActaText.cxx:151
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:148
bool m_pageBreak
true if a page break exists before the topic
Definition: ActaText.cxx:112
bool sendTopic(ActaTextInternal::Topic const &topic)
try to send a topic
Definition: ActaText.cxx:353
MWAWEntry m_auxi
an auxialliary entry(unknown)
Definition: ActaText.cxx:122
@ embossBit
Definition: MWAWFont.hxx:190
virtual ~ActaText()
destructor
Definition: ActaText.cxx:181
std::shared_ptr< ActaTextInternal::State > m_state
the state
Definition: ActaText.hxx:112
bool createZones()
try to create the text zones
Definition: ActaText.cxx:225
std::string m_extra
extra data
Definition: MWAWFont.hxx:573
std::vector< Topic > m_topicList
the topic list
Definition: ActaText.cxx:144
int m_hidden
the number of time a topic is hidden by its parents
Definition: ActaText.cxx:110
@ shadowBit
Definition: MWAWFont.hxx:191
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
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:193
bool readTopic()
try to read the topic definitions (line or graphic)
Definition: ActaText.cxx:268
std::shared_ptr< MWAWList > getMainList()
returns a list to be used in the text
Definition: ActaParser.cxx:316
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:67
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:284
Topic()
constructor
Definition: ActaText.cxx:64
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
ActaText & operator=(ActaText const &orig)=delete
@ MWAW_R_BAD
Definition: MWAWPict.hxx:73
void setDefaultColorList(int version)
set the default color map
Definition: ActaText.cxx:154
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
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MWAWColor m_labelColor
the label color
Definition: ActaText.cxx:116
void newPage(int number)
adds a new page
Definition: ActaParser.cxx:397
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
int m_listId
the list id
Definition: ActaText.cxx:146
ActaText(ActaText const &orig)=delete
ActaText(ActaParser &parser)
constructor
Definition: ActaText.cxx:174
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:83
static ReadResult check(MWAWInputStreamPtr const &input, int size, MWAWBox2f &box)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:100
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
int m_version
the file version
Definition: ActaText.cxx:150
int m_actualPage
Definition: ActaText.cxx:151
bool getColor(int id, MWAWColor &col) const
return the color which corresponds to an id (if possible)
Definition: ActaText.cxx:205
bool valid() const
return true if the topic is valid
Definition: ActaText.cxx:78
@ italicBit
Definition: MWAWFont.hxx:190
bool sendGraphic(ActaTextInternal::Topic const &topic)
try to read a graphic
Definition: ActaText.cxx:507
int version() const
returns the file version
Definition: ActaText.cxx:184
ActaParser * m_mainParser
the main parser
Definition: ActaText.hxx:115
Defines MWAWTextListener: the libmwaw word processor listener.
MWAWEntry m_fonts
the fonts entries(for text)
Definition: ActaText.cxx:120
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
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:99
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
int m_depth
the node depth
Definition: ActaText.cxx:106
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:108
bool readFont(MWAWFont &font, bool inPLC)
try to read a font
Definition: ActaText.cxx:560
int numPages() const
returns the number of pages
Definition: ActaText.cxx:191
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:118
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:176
bool sendMainText()
send a main zone
Definition: ActaText.cxx:250
bool sendText(ActaTextInternal::Topic const &topic)
try to read a text entry
Definition: ActaText.cxx:409
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:466
Internal: the state of a ActaText.
Definition: ActaText.cxx:129
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20