basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
@ Time
Definition: libmwaw_internal.hxx:371
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
std::vector< long > m_fontPosList
the beginning of character properties in the text zone
Definition: RagTimeText.cxx:166
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:293
shared_ptr< RagTimeTextInternal::State > m_state
the state
Definition: RagTimeText.hxx:126
bool getDateTimeFormat(int dtId, std::string &dtFormat) const
returns the ith date format or ""
Definition: RagTimeParser.cxx:435
std::map< int, int > m_localFIdMap
a map local fontId->fontId
Definition: RagTimeText.cxx:198
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTimeText.hxx:123
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
std::vector< long > m_paragraphPosList
the beginning of paragraph properties in the text zone
Definition: RagTimeText.cxx:170
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
std::string m_DTFormat
the date time format
Definition: RagTimeText.cxx:152
int getFontId(int localId) const
return a mac font id corresponding to a local id
Definition: RagTimeText.cxx:188
std::string m_DTFormat
the date/time format using strftime format if defined
Definition: libmwaw_internal.hxx:386
static Script sub100()
return a yposition which correspond to a basic subscript100
Definition: MWAWFont.hxx:117
@ boldBit
Definition: MWAWFont.hxx:182
std::vector< MWAWParagraph > m_paragraphList
the list of paragraph's properties
Definition: RagTimeText.cxx:172
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:320
@ CENTER
Definition: MWAWParagraph.hxx:48
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:123
int id() const
returns the id
Definition: MWAWEntry.hxx:153
Type m_type
the token type
Definition: RagTimeText.cxx:146
the class to store a color
Definition: libmwaw_internal.hxx:182
bool readTokens(RagTimeTextInternal::TextZone &zone, long endPos)
try to read the token zones
Definition: RagTimeText.cxx:823
RagTimeParser * m_mainParser
the main parser;
Definition: RagTimeText.hxx:129
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:150
bool m_isSent
true if the zone is sent to the listener
Definition: RagTimeText.cxx:176
std::string const & type() const
returns the type of the entry
Definition: MWAWEntry.hxx:126
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
@ Simple
Definition: MWAWFont.hxx:49
int m_listIndices[4]
the four list indices
Definition: RagTimeText.cxx:150
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 version() const
returns the file version
Definition: RagTimeText.cxx:218
Internal: a token of a RagTimeText.
Definition: RagTimeText.cxx:58
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
void setDeltaLetterSpacing(float d, librevenge::RVNGUnit unit=librevenge::RVNG_POINT)
sets the letter spacing ( delta value in point )
Definition: MWAWFont.hxx:271
@ PageCount
Definition: RagTimeText.cxx:60
int getZoneDataFieldSize(int zId) const
returns the size of a zone data field
Definition: RagTimeParser.cxx:416
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
@ DECIMAL
Definition: MWAWParagraph.hxx:48
@ List
Definition: RagTimeText.cxx:60
static Script super100()
return a yposition which correspond to a basic superscript100
Definition: MWAWFont.hxx:127
@ embossBit
Definition: MWAWFont.hxx:182
@ PageCount
Definition: libmwaw_internal.hxx:371
the main class to read a RagTime v2-3 file
Definition: RagTimeParser.hxx:61
bool readTextZone(MWAWEntry &entry, int width, MWAWColor const &fontColor=MWAWColor::black())
try to read a text zone (knowing the zone width in point and the font color)
Definition: RagTimeText.cxx:419
@ Date
Definition: libmwaw_internal.hxx:371
bool readParagraphs(RagTimeTextInternal::TextZone &zone, int width, long endPos)
try to read the paragraph properties (knowing the zone width in point used to determine the right mar...
Definition: RagTimeText.cxx:670
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
std::map< int, shared_ptr< TextZone > > m_idTextMap
a map entry id to text zone
Definition: RagTimeText.cxx:202
@ Time
Definition: RagTimeText.cxx:60
friend std::ostream & operator<<(std::ostream &o, Token const &tkn)
operator<<
Definition: RagTimeText.cxx:67
bool readFontNames(MWAWEntry &entry)
try to read the font name: the FHFo structure: FileH?Font zone
Definition: RagTimeText.cxx:243
std::vector< MWAWFont > m_fontList
the list of character's properties
Definition: RagTimeText.cxx:168
@ AtLeast
Definition: MWAWParagraph.hxx:91
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
TextZone()
constructor
Definition: RagTimeText.cxx:160
@ shadowBit
Definition: MWAWFont.hxx:183
std::string getDebugString(shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
bool getCharStyle(int charId, MWAWFont &font) const
returns font style corresponding to a char style id
Definition: RagTimeText.cxx:230
int m_version
the file version
Definition: RagTimeText.cxx:196
Type
the token's types
Definition: RagTimeText.cxx:60
bool getIndicesString(std::string &str) const
returns a string corresponding to the list indices
Definition: RagTimeText.cxx:130
MWAWEntry m_textPos
the text zone
Definition: RagTimeText.cxx:164
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
the main class to read the text part of ragTime file
Definition: RagTimeText.hxx:71
@ PageAfter
Definition: RagTimeText.cxx:60
@ None
Definition: libmwaw_internal.hxx:371
RagTimeText(RagTimeParser &parser)
constructor
Definition: RagTimeText.cxx:210
std::vector< MWAWFont > m_charPropList
the character properties
Definition: RagTimeText.cxx:200
int m_listLevel
the list level(for a list)
Definition: RagTimeText.cxx:148
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
RagTimeText & operator=(RagTimeText const &orig)
@ Date
Definition: RagTimeText.cxx:60
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
Token()
constructor
Definition: RagTimeText.cxx:62
Internal: a text's zone of a RagTimeText.
Definition: RagTimeText.cxx:158
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
a field
Definition: libmwaw_internal.hxx:369
@ PageNumber
Definition: libmwaw_internal.hxx:371
void flushExtra()
flush extra zone
Definition: RagTimeText.cxx:1124
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
bool getColor(int colId, MWAWColor &color, int listId=-1) const
returns the ith color ( if possible)
Definition: RagTimeParser.cxx:400
@ italicBit
Definition: MWAWFont.hxx:182
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:144
bool readFonts(RagTimeTextInternal::TextZone &zone, MWAWColor const &color, long endPos)
try to read the character properties (knowing the font color)
Definition: RagTimeText.cxx:520
int getFontId(int localId) const
returns a mac font id corresponding to a local id
Definition: RagTimeText.cxx:225
std::string m_extra
extra data
Definition: RagTimeText.cxx:154
@ JustificationRight
Definition: MWAWParagraph.hxx:88
RagTimeText(RagTimeText const &orig)
Internal: the state of a RagTimeText.
Definition: RagTimeText.cxx:181
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
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
State()
constructor
Definition: RagTimeText.cxx:183
@ Unknown
Definition: RagTimeText.cxx:60
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
bool readCharProperties(MWAWEntry &entry)
try to read the character properties zone: FHsl zone
Definition: RagTimeText.cxx:327
bool send(int id, MWAWListenerPtr listener)
try to send a text zone
Definition: RagTimeText.cxx:942
Internal: the structures of a RagTimeText.
Definition: RagTimeText.cxx:56
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
void setLanguage(std::string const &lang)
set the language ( in the for en_US, en_GB, en, ...)
Definition: MWAWFont.hxx:479
bool getField(MWAWField &field) const
returns a field corresponding to the token if possible
Definition: RagTimeText.cxx:102
std::vector< Token > m_tokenList
the list of tokens
Definition: RagTimeText.cxx:174
@ Page
Definition: RagTimeText.cxx:60
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
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
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
virtual ~RagTimeText()
destructor
Definition: RagTimeText.cxx:215
Generated on Wed Jun 17 2020 06:30:13 for libmwaw by
doxygen 1.8.18