Go to the documentation of this file.
38 #ifndef POWER_POINT7_TEXT
39 # define POWER_POINT7_TEXT
45 #include <librevenge/librevenge.h>
107 bool readFont(
int level,
long endPos, std::string &fName);
117 bool readZone4064(
int level,
long endPos,
int rId,
int &textId);
149 std::shared_ptr<PowerPoint7TextInternal::State>
m_state;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
@ Time
Definition: libmwaw_internal.hxx:401
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
Internal: a text zone of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:84
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:314
Ruler()
constructor
Definition: PowerPoint7Text.cxx:61
bool readZone4064(int level, long endPos, int rId, int &textId)
try to read the zone 4064: child of MasterTextPropAtom,ExternalHyperlink9
Definition: PowerPoint7Text.cxx:985
int m_spanId
the style span id
Definition: MWAWList.hxx:116
bool readTextZoneContainer(int level, long endPos, PowerPoint7TextInternal::TextZone &zone)
try to read a text zone container, zone 2028
Definition: PowerPoint7Text.cxx:235
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
bool readTextMasterProp(int level, long endPos, int &textId)
try to read the master text prop atom zone 4002
Definition: PowerPoint7Text.cxx:650
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
bool readZone4066(int level, long endPos)
try to read the zone 4066: child of 4064
Definition: PowerPoint7Text.cxx:1051
bool readRuler(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the ruler margins zone 4019
Definition: PowerPoint7Text.cxx:1265
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
bool readRulerContainer(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the ruler container zone: 4069
Definition: PowerPoint7Text.cxx:1311
std::string m_DTFormat
the date/time format using strftime format if defined
Definition: libmwaw_internal.hxx:424
int id() const
returns the font id
Definition: MWAWFont.hxx:259
@ boldBit
Definition: MWAWFont.hxx:190
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:174
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
@ CENTER
Definition: MWAWParagraph.hxx:48
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:129
Internal: a ruler of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:59
bool readFieldList(int level, long endPos)
try to read the field definition list zone 2027
Definition: PowerPoint7Text.cxx:1418
int m_type
the type
Definition: PowerPoint7Struct.hxx:131
std::map< long, Ruler > m_posToRulerMap
a map position to ruler
Definition: PowerPoint7Text.cxx:106
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
void updateParagraph(int level)
returns a paragraph corresponding to a level
Definition: PowerPoint7Text.cxx:67
PowerPoint7Text(PowerPoint7Parser &parser)
constructor
Definition: PowerPoint7Text.cxx:138
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:156
virtual ~PowerPoint7Text()
destructor
Definition: PowerPoint7Text.cxx:145
MWAWEntry m_textEntry
the list of text zone
Definition: PowerPoint7Text.cxx:100
bool readTextZone(int level, long endPos, PowerPoint7TextInternal::TextZone &zone)
try to read a text zone 2030
Definition: PowerPoint7Text.cxx:280
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:180
@ Simple
Definition: MWAWFont.hxx:49
bool readFontEmbedded(int level, long endPos)
try to read an embedded font container zone 4024
Definition: PowerPoint7Text.cxx:892
PowerPoint7Text(PowerPoint7Text const &orig)=delete
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
std::map< int, int > m_fieldIdToFormatIdMap
a field id to format id map
Definition: PowerPoint7Text.cxx:129
bool isEmpty() const
returns true if the zone contain no text
Definition: PowerPoint7Text.cxx:95
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:148
Internal: the state of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:113
@ DECIMAL
Definition: MWAWParagraph.hxx:48
std::map< long, MWAWFont > m_posToFontMap
a map position to font
Definition: PowerPoint7Text.cxx:104
@ embossBit
Definition: MWAWFont.hxx:190
bool readExternalHyperlinkData(int level, long endPos)
try to read the external hyper link atom zone: 4055
Definition: PowerPoint7Text.cxx:952
@ Date
Definition: libmwaw_internal.hxx:401
std::map< int, int > m_fileIdFontIdMap
a local id to final id font map
Definition: PowerPoint7Text.cxx:125
int m_rulerId
the ruler identifier
Definition: PowerPoint7Text.cxx:102
std::map< int, Ruler > m_idToRulerMap
a local id to ruler id map
Definition: PowerPoint7Text.cxx:127
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
bool readZone(int level, long endPos)
try to read a zone
Definition: PowerPoint7Parser.cxx:2710
bool readRulerTabs(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the tab list zone: 4070
Definition: PowerPoint7Text.cxx:1360
the main class to read a Microsoft PowerPoint 95 files (Windows)
Definition: PowerPoint7Parser.hxx:62
a zone header of a PowerPoint7Parser
Definition: PowerPoint7Struct.hxx:107
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
@ shadowBit
Definition: MWAWFont.hxx:191
the main class to read the text part of a PowerPoint 95 file
Definition: PowerPoint7Text.hxx:68
void setFontFamily(std::string const &family)
sets the default font family
Definition: PowerPoint7Text.cxx:153
bool readExternalHyperlink9(int level, long endPos, int &tId)
try to read the external hyper link zone: 4068
Definition: PowerPoint7Text.cxx:1142
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
MWAWParserStatePtr m_parserState
the parser state
Definition: PowerPoint7Text.hxx:146
int version() const
returns the file version
Definition: PowerPoint7Text.cxx:148
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
bool readFontCollection(int level, long endPos)
try to read the font collection zone 2005
Definition: PowerPoint7Text.cxx:163
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
std::shared_ptr< PowerPoint7TextInternal::State > m_state
the state
Definition: PowerPoint7Text.hxx:149
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
bool readFont(int level, long endPos, std::string &fName)
try to read the font entity atom zone 4023
Definition: PowerPoint7Text.cxx:850
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
bool read(MWAWInputStreamPtr stream, long endPos=-1)
try to read a zone header
Definition: PowerPoint7Struct.cxx:38
bool readFieldDef(int level, long endPos, int &format)
try to read the field definition zone 4056
Definition: PowerPoint7Text.cxx:1482
a field
Definition: libmwaw_internal.hxx:399
@ PageNumber
Definition: libmwaw_internal.hxx:401
bool getColor(int cId, MWAWColor &col) const
returns the color corresponding to an id
Definition: PowerPoint7Parser.cxx:194
bool sendText(int textId)
try to send the text content
Definition: PowerPoint7Text.cxx:1526
TextZone()
constructor
Definition: PowerPoint7Text.cxx:86
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
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1191
bool readExternalHyperlinkAtom(int level, long endPos)
try to read the external hyper link atom zone: 4051
Definition: PowerPoint7Text.cxx:919
@ italicBit
Definition: MWAWFont.hxx:190
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:150
@ BULLET
Definition: MWAWList.hxx:46
bool readZoneNoData(int level, long endPos, std::string const &name, std::string const &wh="")
try to read a zone with no data
Definition: PowerPoint7Parser.cxx:2682
@ JustificationFull
Definition: MWAWParagraph.hxx:90
@ JustificationRight
Definition: MWAWParagraph.hxx:91
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
bool readRulerSetId(int level, long endPos, int &id)
try to read the ruler set id zone 4021
Definition: PowerPoint7Text.cxx:767
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
Type m_type
the type of the level
Definition: MWAWList.hxx:101
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
bool readTextMasterPropAtom(int level, long endPos)
try to read the text master prop atom zone 4003
Definition: PowerPoint7Text.cxx:716
std::map< long, int > m_posToFieldFormatMap
a map position to format
Definition: PowerPoint7Text.cxx:108
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
PowerPoint7Text & operator=(PowerPoint7Text const &orig)=delete
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
bool readFontContainer(int level, long endPos, std::string &fName)
try to read the font container zone 4022
Definition: PowerPoint7Text.cxx:798
int m_margins[10]
the left/first margins * 5 (0: normal, 1-4: level)
Definition: PowerPoint7Text.cxx:80
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
std::vector< std::shared_ptr< TextZone > > m_textZoneList
the list of text zone
Definition: PowerPoint7Text.cxx:131
bool readIdentifier(int level, long endPos, int &id, std::string const &wh)
try to read an identifier zone 2017
Definition: PowerPoint7Parser.cxx:1633
Internal: the structures of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:57
std::string m_fontFamily
the basic pc font family if known
Definition: PowerPoint7Text.cxx:123
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
long m_dataSize
the data size
Definition: PowerPoint7Struct.hxx:133
PowerPoint7Parser * m_mainParser
the main parser;
Definition: PowerPoint7Text.hxx:152
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
State()
constructor
Definition: PowerPoint7Text.cxx:115
MWAWParagraph m_paragraph
the paragraph
Definition: PowerPoint7Text.cxx:78
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
bool readRulerList(int level, long endPos)
try to read the list of rulers zone 4016
Definition: PowerPoint7Text.cxx:1201
bool readZone4067(int level, long endPos)
try to read the zone 4067: child of 4064
Definition: PowerPoint7Text.cxx:1095
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20