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 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:371
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
Internal: a text zone of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:83
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:293
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:969
int m_spanId
the style span id
Definition: MWAWList.hxx:101
bool readTextZoneContainer(int level, long endPos, PowerPoint7TextInternal::TextZone &zone)
try to read a text zone container, zone 2028
Definition: PowerPoint7Text.cxx:223
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
bool readTextMasterProp(int level, long endPos, int &textId)
try to read the master text prop atom zone 4002
Definition: PowerPoint7Text.cxx:634
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:1035
bool readRuler(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the ruler margins zone 4019
Definition: PowerPoint7Text.cxx:1249
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
PowerPoint7Text & operator=(PowerPoint7Text const &orig)
bool readRulerContainer(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the ruler container zone: 4069
Definition: PowerPoint7Text.cxx:1295
PowerPoint7Text(PowerPoint7Text const &orig)
std::string m_DTFormat
the date/time format using strftime format if defined
Definition: libmwaw_internal.hxx:386
int id() const
returns the font id
Definition: MWAWFont.hxx:238
@ boldBit
Definition: MWAWFont.hxx:182
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:168
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
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:1402
int m_type
the type
Definition: PowerPoint7Struct.hxx:131
std::map< long, Ruler > m_posToRulerMap
a map position to ruler
Definition: PowerPoint7Text.cxx:100
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
void updateParagraph(int level)
returns a paragraph corresponding to a level
Definition: PowerPoint7Text.cxx:66
PowerPoint7Text(PowerPoint7Parser &parser)
constructor
Definition: PowerPoint7Text.cxx:127
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:150
virtual ~PowerPoint7Text()
destructor
Definition: PowerPoint7Text.cxx:133
MWAWEntry m_textEntry
the list of text zone
Definition: PowerPoint7Text.cxx:94
bool readTextZone(int level, long endPos, PowerPoint7TextInternal::TextZone &zone)
try to read a text zone 2030
Definition: PowerPoint7Text.cxx:268
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:174
@ Simple
Definition: MWAWFont.hxx:49
bool readFontEmbedded(int level, long endPos)
try to read an embedded font container zone 4024
Definition: PowerPoint7Text.cxx:876
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
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:118
bool isEmpty() const
returns true if the zone contain no text
Definition: PowerPoint7Text.cxx:89
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
Internal: the state of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:107
@ DECIMAL
Definition: MWAWParagraph.hxx:48
std::map< long, MWAWFont > m_posToFontMap
a map position to font
Definition: PowerPoint7Text.cxx:98
@ embossBit
Definition: MWAWFont.hxx:182
bool readExternalHyperlinkData(int level, long endPos)
try to read the external hyper link atom zone: 4055
Definition: PowerPoint7Text.cxx:936
@ Date
Definition: libmwaw_internal.hxx:371
std::map< int, int > m_fileIdFontIdMap
a local id to final id font map
Definition: PowerPoint7Text.cxx:114
int m_rulerId
the ruler identifier
Definition: PowerPoint7Text.cxx:96
std::map< int, Ruler > m_idToRulerMap
a local id to ruler id map
Definition: PowerPoint7Text.cxx:116
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:2707
bool readRulerTabs(int level, long endPos, PowerPoint7TextInternal::Ruler &ruler)
try to read the tab list zone: 4070
Definition: PowerPoint7Text.cxx:1344
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:87
@ 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
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:141
bool readExternalHyperlink9(int level, long endPos, int &tId)
try to read the external hyper link zone: 4068
Definition: PowerPoint7Text.cxx:1126
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
MWAWParserStatePtr m_parserState
the parser state
Definition: PowerPoint7Text.hxx:146
int version() const
returns the file version
Definition: PowerPoint7Text.cxx:136
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
bool readFontCollection(int level, long endPos)
try to read the font collection zone 2005
Definition: PowerPoint7Text.cxx:151
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
bool readFont(int level, long endPos, std::string &fName)
try to read the font entity atom zone 4023
Definition: PowerPoint7Text.cxx:834
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
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:1466
a field
Definition: libmwaw_internal.hxx:369
@ PageNumber
Definition: libmwaw_internal.hxx:371
bool getColor(int cId, MWAWColor &col) const
returns the color corresponding to an id
Definition: PowerPoint7Parser.cxx:190
bool sendText(int textId)
try to send the text content
Definition: PowerPoint7Text.cxx:1510
TextZone()
constructor
Definition: PowerPoint7Text.cxx:85
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
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
bool readExternalHyperlinkAtom(int level, long endPos)
try to read the external hyper link atom zone: 4051
Definition: PowerPoint7Text.cxx:903
@ italicBit
Definition: MWAWFont.hxx:182
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:144
shared_ptr< PowerPoint7TextInternal::State > m_state
the state
Definition: PowerPoint7Text.hxx:149
@ 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:2679
@ JustificationFull
Definition: MWAWParagraph.hxx:87
@ JustificationRight
Definition: MWAWParagraph.hxx:88
bool readRulerSetId(int level, long endPos, int &id)
try to read the ruler set id zone 4021
Definition: PowerPoint7Text.cxx:751
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:86
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
std::vector< shared_ptr< TextZone > > m_textZoneList
the list of text zone
Definition: PowerPoint7Text.cxx:120
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:700
std::map< long, int > m_posToFieldFormatMap
a map position to format
Definition: PowerPoint7Text.cxx:102
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
bool readFontContainer(int level, long endPos, std::string &fName)
try to read the font container zone 4022
Definition: PowerPoint7Text.cxx:782
int m_margins[10]
the left/first margins * 5 (0: normal, 1-4: level)
Definition: PowerPoint7Text.cxx:79
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
bool readIdentifier(int level, long endPos, int &id, std::string const &wh)
try to read an identifier zone 2017
Definition: PowerPoint7Parser.cxx:1630
Internal: the structures of a PowerPoint7Text.
Definition: PowerPoint7Text.cxx:57
std::string m_fontFamily
the basic pc font family if known
Definition: PowerPoint7Text.cxx:112
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
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
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:445
State()
constructor
Definition: PowerPoint7Text.cxx:109
MWAWParagraph m_paragraph
the paragraph
Definition: PowerPoint7Text.cxx:77
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
bool readRulerList(int level, long endPos)
try to read the list of rulers zone 4016
Definition: PowerPoint7Text.cxx:1185
bool readZone4067(int level, long endPos)
try to read the zone 4067: child of 4064
Definition: PowerPoint7Text.cxx:1079
Generated on Wed Jun 17 2020 06:30:12 for libmwaw by
doxygen 1.8.18