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:567
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:922
@ 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:551
MWAWEntry m_entry
the text entry
Definition: MoreText.cxx:387
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:447
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:403
int getLastTopicChildId(int tId) const
returns the last sub topic id corresponding to a topic and its child
Definition: MoreText.cxx:653
int m_actualComment
the actual comment
Definition: MoreText.cxx:434
#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:393
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition: MWAWList.hxx:113
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
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:322
std::vector< Outline > m_outlineList
the outline list
Definition: MoreText.cxx:432
std::vector< Topic > m_topicList
the topic list
Definition: MoreText.cxx:426
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
MoreText * m_textParser
the text parser
Definition: MoreText.cxx:466
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:549
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:2022
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:174
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:397
Paragraph()
constructor
Definition: MoreText.cxx:66
bool m_keepOutlineTogether
true if we need to keep outline together
Definition: MoreText.cxx:183
int id() const
returns the id
Definition: MWAWEntry.hxx:164
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:565
@ outlineBit
Definition: MWAWFont.hxx:191
bool m_pageBreak
true if we need to add a page break before
Definition: MoreText.cxx:181
std::string m_extra
extra data
Definition: MoreText.cxx:324
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:175
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:180
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:539
OutlineMod()
constructor
Definition: MoreText.cxx:210
@ 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:93
Definition: MoreParser.hxx:59
~SubDocument() final
destructor
Definition: MoreText.cxx:456
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
int m_id
the subdocument id
Definition: MoreText.cxx:468
int m_level
the topic level
Definition: MoreText.cxx:389
@ AOutline
Definition: MoreText.cxx:352
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:148
MWAWListLevel m_customListLevel
a custom list level ( only defined if m_listType>=0xb)
Definition: MoreText.cxx:179
@ DECIMAL
Definition: MWAWParagraph.hxx:48
Internal: the subdocument of a MoreText.
Definition: MoreText.cxx:445
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:1522
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
int m_numPages
Definition: MoreText.cxx:439
std::vector< Comment > m_commentList
the header/footer/comment list
Definition: MoreText.cxx:428
int m_numPageBreak
the number of pages in the sub list
Definition: MoreText.cxx:399
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:667
bool readFont(MWAWEntry const &entry, std::string &fName, int &fId)
try to read a fontname
Definition: MoreText.cxx:1870
int m_actualSpeaker
the actual speaker note
Definition: MoreText.cxx:436
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:2098
@ 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:410
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:352
virtual ~MoreText()
destructor
Definition: MoreText.cxx:528
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:830
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:236
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
int m_actualOutline
the actual outline
Definition: MoreText.cxx:438
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
bool m_isCloned
true if the entry is cloned
Definition: MoreText.cxx:391
Paragraph(Paragraph const &)=default
Outline()
constructor
Definition: MoreText.cxx:194
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:708
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:83
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
Paragraph & operator=(Paragraph const &)=default
@ 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:476
~Paragraph() final
destructor
Definition: MoreText.cxx:186
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:169
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:192
Paragraph m_paragraphs[4]
the paragraphs : organizer, slide, tree, unknowns
Definition: MoreText.cxx:201
@ 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:350
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
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: MWAWList.hxx:114
int m_what
a int to know what to send 0: header/footer, 1: comment, 2:note
Definition: MoreText.cxx:470
@ DECIMAL
Definition: MWAWList.hxx:46
std::vector< MWAWEntry > m_speakerList
the speaker note list
Definition: MoreText.cxx:430
bool sendSpeakerNote(int nId)
try to send a speakernote knowing the note id
Definition: MoreText.cxx:908
bool sendComment(int cId)
try to send a comment knowing the comment id
Definition: MoreText.cxx:894
bool sendText(MWAWEntry const &entry, MWAWFont const &font)
send a text entry
Definition: MoreText.cxx:1011
@ ASpeakerNote
Definition: MoreText.cxx:352
@ italicBit
Definition: MWAWFont.hxx:190
bool readFonts(MWAWEntry const &entry)
read the list of fonts
Definition: MoreText.cxx:1412
Defines MWAWTextListener: the libmwaw word processor listener.
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: MoreText.cxx:507
bool sendMainText()
send a main zone
Definition: MoreText.cxx:867
@ BULLET
Definition: MWAWList.hxx:46
bool readCustomListLevel(MWAWEntry const &entry, MWAWListLevel &level)
read a custom list level
Definition: MoreText.cxx:1900
librevenge::RVNGString m_label
the text label
Definition: MWAWList.hxx:111
bool m_hasList[3]
a list of boolean use to note if a topic is associated with a Outline, ...
Definition: MoreText.cxx:395
@ JustificationFull
Definition: MWAWParagraph.hxx:90
double m_labelWidth
the minimum label width
Definition: MWAWList.hxx:105
@ JustificationRight
Definition: MWAWParagraph.hxx:91
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
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:105
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:408
Type m_type
the type of the level
Definition: MWAWList.hxx:101
bool m_isStartSlide
true if we start a new slide
Definition: MoreText.cxx:401
@ AComment
Definition: MoreText.cxx:352
Internal and low level: the outline modifier header of a MoreText.
Definition: MoreText.cxx:208
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
T const & get() const
return the current value
Definition: libmwaw_internal.hxx:630
Line const & getUnderline() const
returns the underline
Definition: MWAWFont.hxx:456
std::string m_extra
extra data
Definition: MWAWList.hxx:118
MWAWFont m_fonts[4]
the fonts : organizer, slide, tree unknowns
Definition: MoreText.cxx:203
friend std::ostream & operator<<(std::ostream &o, Topic const &topic)
operator<<
Definition: MoreText.cxx:367
int m_numBeforeLabels
the number of label to show before this
Definition: MWAWList.hxx:103
bool createZones()
try to create the text zones using read data
Definition: MoreText.cxx:573
bool readOutlineList(MWAWEntry const &entry)
read the list of outlines
Definition: MoreText.cxx:1472
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:318
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:216
int m_version
the file version
Definition: MoreText.cxx:424
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
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:782
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
int m_type
the type
Definition: MoreText.cxx:316
MoreText(MoreParser &parser)
constructor
Definition: MoreText.cxx:521
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
Topic()
constructor
Definition: MoreText.cxx:354
MWAWParserStatePtr m_parserState
the parser state
Definition: MoreText.hxx:152
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:176
int m_listType
the list type (0: none, 1: leader, ...)
Definition: MoreText.cxx:177
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
@ NoBreakWithNextBit
Definition: MWAWParagraph.hxx:88
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:219
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:439
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:81
int version() const
returns the file version
Definition: MoreText.cxx:532
MWAWEntry m_entry
the data entry
Definition: MoreText.cxx:320
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20