Go to the documentation of this file.
119 bool sendTopic(
int tId,
int dLevel, std::vector<MWAWParagraph> ¶Stack);
155 std::shared_ptr<MoreTextInternal::State>
m_state;
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:563
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
bool sendTopic(int tId, int dLevel, std::vector< MWAWParagraph > ¶Stack)
try to send a topic knowing the topic id
Definition: MoreText.cxx:920
@ Time
Definition: libmwaw_internal.hxx:401
std::shared_ptr< MoreTextInternal::State > m_state
the state
Definition: MoreText.hxx:155
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:547
MWAWEntry m_entry
the text entry
Definition: MoreText.cxx:385
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:314
the main class to read the text part of More Text file
Definition: MoreText.hxx:65
uint16_t m_leaderCharacter
the leader char
Definition: MWAWParagraph.hxx:78
SubDocument(MoreText &pars, MWAWInputStreamPtr const &input, int zId, int what)
Definition: MoreText.cxx:445
MoreText(MoreText const &orig)=delete
bool readBackside(long endPos, std::string &extra)
read a backside ( some sub zone of block 9)
Definition: MoreParser.cxx:1102
std::string m_extra
extra data
Definition: MoreText.cxx:401
int getLastTopicChildId(int tId) const
returns the last sub topic id corresponding to a topic and its child
Definition: MoreText.cxx:651
int m_actualComment
the actual comment
Definition: MoreText.cxx:432
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
int m_cloneId
if not 0, indicate that we must cloned the cloneId^th clone
Definition: MoreText.cxx:391
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition: MWAWList.hxx:110
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:838
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
SubDocument & operator=(SubDocument const &orig)=delete
int m_unknowns[2]
some unknown flags
Definition: MoreText.cxx:320
std::vector< Outline > m_outlineList
the outline list
Definition: MoreText.cxx:430
std::vector< Topic > m_topicList
the topic list
Definition: MoreText.cxx:424
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:159
MoreText * m_textParser
the text parser
Definition: MoreText.cxx:464
int id() const
returns the font id
Definition: MWAWFont.hxx:259
@ boldBit
Definition: MWAWFont.hxx:190
std::shared_ptr< MWAWSubDocument > getHeaderFooter(bool header)
returns a subdocument to send the header or the footer
Definition: MoreText.cxx:547
Internal: the structures of a MoreText.
Definition: MoreText.cxx:61
bool readTabs(MWAWEntry const &entry, MoreTextInternal::Paragraph ¶, std::string &mess)
try to read some tabs
Definition: MoreText.cxx:2020
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:171
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
the main class to read a More file
Definition: MoreParser.hxx:81
@ CENTER
Definition: MWAWParagraph.hxx:48
@ LOWER_ALPHA
Definition: MWAWList.hxx:46
int m_attachList[3]
a list of id to retrieve the attachment
Definition: MoreText.cxx:395
Paragraph()
constructor
Definition: MoreText.cxx:66
bool m_keepOutlineTogether
true if we need to keep outline together
Definition: MoreText.cxx:181
int id() const
returns the id
Definition: MWAWEntry.hxx:162
the class to store a color
Definition: libmwaw_internal.hxx:192
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:561
@ outlineBit
Definition: MWAWFont.hxx:191
bool m_pageBreak
true if we need to add a page break before
Definition: MoreText.cxx:179
std::string m_extra
extra data
Definition: MoreText.cxx:322
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
double m_marginsFromParent[2]
the left and right margins from parent in inches
Definition: MoreText.cxx:173
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:177
std::shared_ptr< MWAWList > getNewList(std::shared_ptr< MWAWList > actList, int levl, MWAWListLevel const &level)
returns a new list corresponding to a list where we have a new level
Definition: MWAWList.cxx:404
int numPages() const
returns the number of pages
Definition: MoreText.cxx:537
OutlineMod()
constructor
Definition: MoreText.cxx:208
@ Simple
Definition: MWAWFont.hxx:49
@ UPPER_ALPHA
Definition: MWAWList.hxx:46
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
static MWAWPictData * get(MWAWInputStreamPtr const &input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
void setRightMargin(double margin, bool fromParent)
set the right margin in inch
Definition: MoreText.cxx:91
Definition: MoreParser.hxx:59
~SubDocument() final
destructor
Definition: MoreText.cxx:454
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:124
int m_id
the subdocument id
Definition: MoreText.cxx:466
int m_level
the topic level
Definition: MoreText.cxx:387
@ AOutline
Definition: MoreText.cxx:350
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 isSet() const
return true if the line is not empty
Definition: MWAWFont.hxx:62
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:145
MWAWListLevel m_customListLevel
a custom list level ( only defined if m_listType>=0xb)
Definition: MoreText.cxx:177
@ DECIMAL
Definition: MWAWParagraph.hxx:48
Internal: the subdocument of a MoreText.
Definition: MoreText.cxx:443
void newPage(int number)
adds a new page
Definition: MoreParser.cxx:220
@ PageCount
Definition: libmwaw_internal.hxx:401
@ Date
Definition: libmwaw_internal.hxx:401
bool readOutline(MWAWEntry const &entry, MoreTextInternal::Outline &outline)
read a outline
Definition: MoreText.cxx:1520
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
int m_numPages
Definition: MoreText.cxx:437
std::vector< Comment > m_commentList
the header/footer/comment list
Definition: MoreText.cxx:426
int m_numPageBreak
the number of pages in the sub list
Definition: MoreText.cxx:397
int checkTopicList(size_t tId, std::set< size_t > &parent)
check that the topic and its child does not loop (if so, cut some edge), return the number of breakpa...
Definition: MoreText.cxx:665
bool readFont(MWAWEntry const &entry, std::string &fName, int &fId)
try to read a fontname
Definition: MoreText.cxx:1868
int m_actualSpeaker
the actual speaker note
Definition: MoreText.cxx:434
SubDocumentType
Definition: libmwaw_internal.hxx:188
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
@ AtLeast
Definition: MWAWParagraph.hxx:94
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
bool parseUnknown(MWAWEntry const &entry, long fDecal)
try to read either a font, a fontname, a pattern, a int
Definition: MoreText.cxx:2096
@ None
Definition: MWAWFont.hxx:49
@ shadowBit
Definition: MWAWFont.hxx:191
@ UPPER_ROMAN
Definition: MWAWList.hxx:47
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
void getColor(MWAWColor &c) const
returns the font color
Definition: MWAWFont.hxx:336
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
State()
constructor
Definition: MoreText.cxx:408
bool readPattern(long endPos, MoreStruct::Pattern &pattern)
read a pattern ( some sub zone of block 9)
Definition: MoreParser.cxx:1148
AttachementType
an enum used to define the different type of data attached to a topic
Definition: MoreText.cxx:350
virtual ~MoreText()
destructor
Definition: MoreText.cxx:526
bool checkAndFindSize(MWAWEntry &entry)
check if the entry is valid defined by the begin pos points to a zone: dataSz data
Definition: MoreParser.cxx:201
bool readSpeakerNote(MWAWEntry const &entry)
read the list of speaker note
Definition: MoreText.cxx:828
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
friend std::ostream & operator<<(std::ostream &o, OutlineMod const &head)
operator<<
Definition: MoreText.cxx:234
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:65
int m_actualOutline
the actual outline
Definition: MoreText.cxx:436
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:91
bool m_isCloned
true if the entry is cloned
Definition: MoreText.cxx:389
Outline()
constructor
Definition: MoreText.cxx:192
float size() const
returns the font size
Definition: MWAWFont.hxx:270
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
bool readTopic(MWAWEntry const &entry)
read the list of topic positions
Definition: MoreText.cxx:706
Definition: libmwaw_internal.hxx:144
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:81
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:70
@ LOWER_ROMAN
Definition: MWAWList.hxx:47
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: MoreText.cxx:474
~Paragraph() final
destructor
Definition: MoreText.cxx:184
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:167
a field
Definition: libmwaw_internal.hxx:399
@ PageNumber
Definition: libmwaw_internal.hxx:401
uint16_t m_decimalCharacter
the decimal char
Definition: MWAWParagraph.hxx:80
@ JustificationLeft
Definition: MWAWParagraph.hxx:90
Internal: the outline data of a MoreText.
Definition: MoreText.cxx:190
Paragraph m_paragraphs[4]
the paragraphs : organizer, slide, tree, unknowns
Definition: MoreText.cxx:199
@ Char
Definition: MWAWPosition.hxx:51
@ LABEL
Definition: MWAWList.hxx:47
SubDocument(SubDocument const &orig)=delete
Internal: the topic data of a MoreText.
Definition: MoreText.cxx:348
long end() const
returns the end offset
Definition: MWAWEntry.hxx:86
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:111
int m_what
a int to know what to send 0: header/footer, 1: comment, 2:note
Definition: MoreText.cxx:468
@ DECIMAL
Definition: MWAWList.hxx:46
std::vector< MWAWEntry > m_speakerList
the speaker note list
Definition: MoreText.cxx:428
bool sendSpeakerNote(int nId)
try to send a speakernote knowing the note id
Definition: MoreText.cxx:906
bool sendComment(int cId)
try to send a comment knowing the comment id
Definition: MoreText.cxx:892
bool sendText(MWAWEntry const &entry, MWAWFont const &font)
send a text entry
Definition: MoreText.cxx:1009
@ ASpeakerNote
Definition: MoreText.cxx:350
@ italicBit
Definition: MWAWFont.hxx:190
bool readFonts(MWAWEntry const &entry)
read the list of fonts
Definition: MoreText.cxx:1410
@ NoBreakWithNextBit
Definition: MWAWParagraph.hxx:88
Defines MWAWTextListener: the libmwaw word processor listener.
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: MoreText.cxx:505
bool sendMainText()
send a main zone
Definition: MoreText.cxx:865
@ BULLET
Definition: MWAWList.hxx:46
bool readCustomListLevel(MWAWEntry const &entry, MWAWListLevel &level)
read a custom list level
Definition: MoreText.cxx:1898
librevenge::RVNGString m_label
the text label
Definition: MWAWList.hxx:108
bool m_hasList[3]
a list of boolean use to note if a topic is associated with a Outline, ...
Definition: MoreText.cxx:393
@ JustificationFull
Definition: MWAWParagraph.hxx:90
double m_labelWidth
the minimum label width
Definition: MWAWList.hxx:102
@ JustificationRight
Definition: MWAWParagraph.hxx:91
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:553
Internal: the paragraph of a MoreText.
Definition: MoreText.cxx:64
void updateToFinalState(MWAWParagraph const &parent, int level, MWAWListManager &listManager)
update the paragraph to obtain the final paragraph
Definition: MoreText.cxx:103
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
Internal: the state of a MoreText.
Definition: MoreText.cxx:406
Type m_type
the type of the level
Definition: MWAWList.hxx:98
bool m_isStartSlide
true if we start a new slide
Definition: MoreText.cxx:399
@ AComment
Definition: MoreText.cxx:350
Internal and low level: the outline modifier header of a MoreText.
Definition: MoreText.cxx:206
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:97
T const & get() const
return the current value
Definition: libmwaw_internal.hxx:626
Line const & getUnderline() const
returns the underline
Definition: MWAWFont.hxx:456
std::string m_extra
extra data
Definition: MWAWList.hxx:115
MWAWFont m_fonts[4]
the fonts : organizer, slide, tree unknowns
Definition: MoreText.cxx:201
friend std::ostream & operator<<(std::ostream &o, Topic const &topic)
operator<<
Definition: MoreText.cxx:365
int m_numBeforeLabels
the number of label to show before this
Definition: MWAWList.hxx:100
bool createZones()
try to create the text zones using read data
Definition: MoreText.cxx:571
bool readOutlineList(MWAWEntry const &entry)
read the list of outlines
Definition: MoreText.cxx:1470
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_flags
the flag
Definition: MoreText.cxx:316
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each l...
Definition: MWAWList.hxx:213
int m_version
the file version
Definition: MoreText.cxx:422
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:549
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:267
uint32_t flags() const
returns the font flags
Definition: MWAWFont.hxx:320
MoreParser * m_mainParser
the main parser;
Definition: MoreText.hxx:158
bool readComment(MWAWEntry const &entry)
read the list of comment/header/footer zones
Definition: MoreText.cxx:780
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
int m_type
the type
Definition: MoreText.cxx:314
MoreText(MoreParser &parser)
constructor
Definition: MoreText.cxx:519
librevenge::RVNGString m_prefix
string which preceedes the number if we have an ordered level
Definition: MWAWList.hxx:109
@ Title
Definition: libmwaw_internal.hxx:401
Topic()
constructor
Definition: MoreText.cxx:352
MWAWParserStatePtr m_parserState
the parser state
Definition: MoreText.hxx:152
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:173
int m_listType
the list type (0: none, 1: leader, ...)
Definition: MoreText.cxx:175
MoreText & operator=(MoreText const &orig)=delete
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
int getModId() const
returns the data id to change in Outline
Definition: MoreText.cxx:217
std::shared_ptr< MWAWList > getList(int index) const
returns a list with given index ( if found )
Definition: MWAWList.cxx:391
int m_actualPage
Definition: MoreText.cxx:437
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
void setLeftMargin(double margin, bool fromParent)
set the left margin in inch
Definition: MoreText.cxx:79
int version() const
returns the file version
Definition: MoreText.cxx:530
MWAWEntry m_entry
the data entry
Definition: MoreText.cxx:318
Generated on Tue Apr 24 2018 22:55:11 for libmwaw by
doxygen 1.8.20