Go to the documentation of this file.
119 bool sendTopic(
int tId,
int dLevel, std::vector<MWAWParagraph> ¶Stack);
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:896
@ Time
Definition: libmwaw_internal.hxx:371
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
MWAWEntry m_entry
the text entry
Definition: MoreText.cxx:373
SubDocument & operator=(SubDocument const &orig)
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:293
shared_ptr< MoreTextInternal::State > m_state
the state
Definition: MoreText.hxx:155
shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:519
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:75
bool readBackside(long endPos, std::string &extra)
read a backside ( some sub zone of block 9)
Definition: MoreParser.cxx:1110
std::string m_extra
extra data
Definition: MoreText.cxx:389
int getLastTopicChildId(int tId) const
returns the last sub topic id corresponding to a topic and its child
Definition: MoreText.cxx:627
int m_actualComment
the actual comment
Definition: MoreText.cxx:411
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
int m_cloneId
if not 0, indicate that we must cloned the cloneId^th clone
Definition: MoreText.cxx:379
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition: MWAWList.hxx:98
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: MoreText.cxx:453
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
int m_unknowns[2]
some unknown flags
Definition: MoreText.cxx:315
std::vector< Outline > m_outlineList
the outline list
Definition: MoreText.cxx:409
std::vector< Topic > m_topicList
the topic list
Definition: MoreText.cxx:403
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
MoreText * m_textParser
the text parser
Definition: MoreText.cxx:443
int id() const
returns the font id
Definition: MWAWFont.hxx:238
@ boldBit
Definition: MWAWFont.hxx:182
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:2003
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:168
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:320
the main class to read a More file
Definition: MoreParser.hxx:79
@ CENTER
Definition: MWAWParagraph.hxx:48
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:123
@ LOWER_ALPHA
Definition: MWAWList.hxx:46
int m_attachList[3]
a list of id to retrieve the attachment
Definition: MoreText.cxx:383
Paragraph()
constructor
Definition: MoreText.cxx:66
bool m_keepOutlineTogether
true if we need to keep outline together
Definition: MoreText.cxx:178
int id() const
returns the id
Definition: MWAWEntry.hxx:153
the class to store a color
Definition: libmwaw_internal.hxx:182
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:425
SubDocument(SubDocument const &orig)
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:150
@ outlineBit
Definition: MWAWFont.hxx:183
bool m_pageBreak
true if we need to add a page break before
Definition: MoreText.cxx:176
std::string m_extra
extra data
Definition: MoreText.cxx:317
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
double m_marginsFromParent[2]
the left and right margins from parent in inches
Definition: MoreText.cxx:170
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:174
int numPages() const
returns the number of pages
Definition: MoreText.cxx:513
OutlineMod()
constructor
Definition: MoreText.cxx:206
@ Simple
Definition: MWAWFont.hxx:49
@ UPPER_ALPHA
Definition: MWAWList.hxx:46
void setRightMargin(double margin, bool fromParent)
set the right margin in inch
Definition: MoreText.cxx:87
SubDocument(MoreText &pars, MWAWInputStreamPtr input, int zId, int what)
Definition: MoreText.cxx:424
Definition: MoreParser.hxx:59
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:115
int m_id
the subdocument id
Definition: MoreText.cxx:445
int m_level
the topic level
Definition: MoreText.cxx:375
@ AOutline
Definition: MoreText.cxx:343
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:56
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
MWAWListLevel m_customListLevel
a custom list level ( only defined if m_listType>=0xb)
Definition: MoreText.cxx:174
@ DECIMAL
Definition: MWAWParagraph.hxx:48
Internal: the subdocument of a MoreText.
Definition: MoreText.cxx:422
void newPage(int number)
adds a new page
Definition: MoreParser.cxx:221
virtual ~Paragraph()
destructor
Definition: MoreText.cxx:181
@ PageCount
Definition: libmwaw_internal.hxx:371
@ Date
Definition: libmwaw_internal.hxx:371
bool readOutline(MWAWEntry const &entry, MoreTextInternal::Outline &outline)
read a outline
Definition: MoreText.cxx:1501
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
int m_numPages
Definition: MoreText.cxx:416
std::vector< Comment > m_commentList
the header/footer/comment list
Definition: MoreText.cxx:405
int m_numPageBreak
the number of pages in the sub list
Definition: MoreText.cxx:385
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:641
bool readFont(MWAWEntry const &entry, std::string &fName, int &fId)
try to read a fontname
Definition: MoreText.cxx:1850
int m_actualSpeaker
the actual speaker note
Definition: MoreText.cxx:413
shared_ptr< MWAWList > getList(int index) const
returns a list with given index ( if found )
Definition: MWAWList.cxx:391
SubDocumentType
Definition: libmwaw_internal.hxx:178
@ AtLeast
Definition: MWAWParagraph.hxx:91
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
MWAWVariable< int > m_breakStatus
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Definition: MWAWParagraph.hxx:163
bool parseUnknown(MWAWEntry const &entry, long fDecal)
try to read either a font, a fontname, a pattern, a int
Definition: MoreText.cxx:2078
@ None
Definition: MWAWFont.hxx:49
@ shadowBit
Definition: MWAWFont.hxx:183
@ UPPER_ROMAN
Definition: MWAWList.hxx:47
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
void getColor(MWAWColor &c) const
returns the font color
Definition: MWAWFont.hxx:315
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
State()
constructor
Definition: MoreText.cxx:396
bool readPattern(long endPos, MoreStruct::Pattern &pattern)
read a pattern ( some sub zone of block 9)
Definition: MoreParser.cxx:1160
AttachementType
an enum used to define the different type of data attached to a topic
Definition: MoreText.cxx:343
virtual ~MoreText()
destructor
Definition: MoreText.cxx:503
bool checkAndFindSize(MWAWEntry &entry)
check if the entry is valid defined by the begin pos points to a zone: dataSz data
Definition: MoreParser.cxx:202
bool readSpeakerNote(MWAWEntry const &entry)
read the list of speaker note
Definition: MoreText.cxx:804
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:229
MoreText & operator=(MoreText const &orig)
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
int m_actualOutline
the actual outline
Definition: MoreText.cxx:415
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
bool m_isCloned
true if the entry is cloned
Definition: MoreText.cxx:377
Outline()
constructor
Definition: MoreText.cxx:189
float size() const
returns the font size
Definition: MWAWFont.hxx:249
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
bool readTopic(MWAWEntry const &entry)
read the list of topic positions
Definition: MoreText.cxx:682
Definition: libmwaw_internal.hxx:142
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
@ LOWER_ROMAN
Definition: MWAWList.hxx:47
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:158
a field
Definition: libmwaw_internal.hxx:369
@ PageNumber
Definition: libmwaw_internal.hxx:371
uint16_t m_decimalCharacter
the decimal char
Definition: MWAWParagraph.hxx:77
@ JustificationLeft
Definition: MWAWParagraph.hxx:87
Internal: the outline data of a MoreText.
Definition: MoreText.cxx:187
Paragraph m_paragraphs[4]
the paragraphs : organizer, slide, tree, unknowns
Definition: MoreText.cxx:197
@ Char
Definition: MWAWPosition.hxx:51
@ LABEL
Definition: MWAWList.hxx:47
Internal: the topic data of a MoreText.
Definition: MoreText.cxx:341
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
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: MWAWList.hxx:99
int m_what
a int to know what to send 0: header/footer, 1: comment, 2:note
Definition: MoreText.cxx:447
@ DECIMAL
Definition: MWAWList.hxx:46
std::vector< MWAWEntry > m_speakerList
the speaker note list
Definition: MoreText.cxx:407
shared_ptr< MWAWSubDocument > getHeaderFooter(bool header)
returns a subdocument to send the header or the footer
Definition: MoreText.cxx:523
bool sendSpeakerNote(int nId)
try to send a speakernote knowing the note id
Definition: MoreText.cxx:882
bool sendComment(int cId)
try to send a comment knowing the comment id
Definition: MoreText.cxx:868
bool sendText(MWAWEntry const &entry, MWAWFont const &font)
send a text entry
Definition: MoreText.cxx:986
@ ASpeakerNote
Definition: MoreText.cxx:343
@ italicBit
Definition: MWAWFont.hxx:182
bool readFonts(MWAWEntry const &entry)
read the list of fonts
Definition: MoreText.cxx:1390
@ NoBreakWithNextBit
Definition: MWAWParagraph.hxx:85
bool sendMainText()
send a main zone
Definition: MoreText.cxx:841
@ BULLET
Definition: MWAWList.hxx:46
bool readCustomListLevel(MWAWEntry const &entry, MWAWListLevel &level)
read a custom list level
Definition: MoreText.cxx:1880
librevenge::RVNGString m_label
the text label
Definition: MWAWList.hxx:96
bool m_hasList[3]
a list of boolean use to note if a topic is associated with a Outline, ...
Definition: MoreText.cxx:381
@ JustificationFull
Definition: MWAWParagraph.hxx:87
double m_labelWidth
the minimum label width
Definition: MWAWList.hxx:90
@ JustificationRight
Definition: MWAWParagraph.hxx:88
Internal: the paragraph of a MoreText.
Definition: MoreText.cxx:64
shared_ptr< MWAWList > getNewList(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
void updateToFinalState(MWAWParagraph const &parent, int level, MWAWListManager &listManager)
update the paragraph to obtain the final paragraph
Definition: MoreText.cxx:99
virtual ~SubDocument()
destructor
Definition: MoreText.cxx:428
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:394
Type m_type
the type of the level
Definition: MWAWList.hxx:86
bool m_isStartSlide
true if we start a new slide
Definition: MoreText.cxx:387
@ AComment
Definition: MoreText.cxx:343
Internal and low level: the outline modifier header of a MoreText.
Definition: MoreText.cxx:204
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
T const & get() const
return the current value
Definition: libmwaw_internal.hxx:581
Line const & getUnderline() const
returns the underline
Definition: MWAWFont.hxx:435
std::string m_extra
extra data
Definition: MWAWList.hxx:103
MWAWFont m_fonts[4]
the fonts : organizer, slide, tree unknowns
Definition: MoreText.cxx:199
friend std::ostream & operator<<(std::ostream &o, Topic const &topic)
operator<<
Definition: MoreText.cxx:353
int m_numBeforeLabels
the number of label to show before this
Definition: MWAWList.hxx:88
bool createZones()
try to create the text zones using read data
Definition: MoreText.cxx:547
MoreText(MoreText const &orig)
bool readOutlineList(MWAWEntry const &entry)
read the list of outlines
Definition: MoreText.cxx:1450
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: MoreText.cxx:433
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:311
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each l...
Definition: MWAWList.hxx:198
int m_version
the file version
Definition: MoreText.cxx:401
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
uint32_t flags() const
returns the font flags
Definition: MWAWFont.hxx:299
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:756
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
int m_type
the type
Definition: MoreText.cxx:309
MoreText(MoreParser &parser)
constructor
Definition: MoreText.cxx:498
librevenge::RVNGString m_prefix
string which preceedes the number if we have an ordered level
Definition: MWAWList.hxx:97
@ Title
Definition: libmwaw_internal.hxx:371
Topic()
constructor
Definition: MoreText.cxx:345
MWAWParserStatePtr m_parserState
the parser state
Definition: MoreText.hxx:152
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: MoreText.cxx:484
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:170
int m_listType
the list type (0: none, 1: leader, ...)
Definition: MoreText.cxx:172
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
static MWAWPictData * get(MWAWInputStreamPtr input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
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
int getModId() const
returns the data id to change in Outline
Definition: MoreText.cxx:212
int m_actualPage
Definition: MoreText.cxx:416
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
void setLeftMargin(double margin, bool fromParent)
set the left margin in inch
Definition: MoreText.cxx:75
int version() const
returns the file version
Definition: MoreText.cxx:506
MWAWEntry m_entry
the data entry
Definition: MoreText.cxx:313
Generated on Wed Jun 17 2020 06:30:11 for libmwaw by
doxygen 1.8.18