Go to the documentation of this file.
38 #ifndef FULL_WRT_STRUCT
39 # define FULL_WRT_STRUCT
41 #include <librevenge/librevenge.h>
66 for (
int w=0; w < 3; w++)
m_type[w]=0;
78 bool read(shared_ptr<FullWrtStruct::Entry> zone,
int fSz);
156 bool read(shared_ptr<FullWrtStruct::Entry> zone);
MWAWInputStreamPtr m_input
the input
Definition: FullWrtStruct.hxx:130
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
shared_ptr< libmwaw::DebugFile > m_asciiFile
the debug file
Definition: FullWrtStruct.hxx:142
friend std::ostream & operator<<(std::ostream &o, Entry const &entry)
operator<<
Definition: FullWrtStruct.cxx:312
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
a namespace use to define common structure in a FullWrite file
Definition: FullWrtStruct.cxx:44
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:355
bool isEmpty() const
returns true if the border is empty
Definition: libmwaw_internal.hxx:327
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:325
int m_values[3]
some unknown values
Definition: FullWrtStruct.hxx:138
MWAWColor m_backColor
the back color (used for layout )
Definition: FullWrtStruct.hxx:91
~Entry()
Definition: FullWrtStruct.cxx:307
@ Simple
Definition: libmwaw_internal.hxx:316
libmwaw::DebugFile & getAsciiFile()
returns a reference to the ascii file
Definition: FullWrtStruct.cxx:388
the definition of a zone in a FullWrite file
Definition: FullWrtStruct.hxx:105
int id() const
returns the id
Definition: MWAWEntry.hxx:153
std::string getTypeName(int type)
returns the type name
Definition: FullWrtStruct.cxx:66
Entry(MWAWInputStreamPtr input)
Definition: FullWrtStruct.cxx:302
the class to store a color
Definition: libmwaw_internal.hxx:182
Internal: class to store a border which appear in docInfo.
Definition: FullWrtStruct.hxx:60
std::string const & type() const
returns the type of the entry
Definition: MWAWEntry.hxx:126
void setBackgroundColor(MWAWColor const &col, float opacity=1)
set the background color
Definition: MWAWGraphicStyle.hxx:314
MWAWColor m_color[2]
the colors line + ?
Definition: FullWrtStruct.hxx:97
@ None
Definition: libmwaw_internal.hxx:316
int m_type[3]
the type (border, horizontal and vertical separators)
Definition: FullWrtStruct.hxx:85
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
std::vector< MWAWVariable< MWAWBorder > > getParagraphBorders() const
returns the list of border order MWAWBorder::Pos
Definition: FullWrtStruct.cxx:224
MWAWVec2i m_shadowDepl
the shadow depl ( if shadow)
Definition: FullWrtStruct.hxx:95
librevenge::RVNGBinaryData m_data
the main data ( if the entry comes from several zone )
Definition: FullWrtStruct.hxx:140
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:361
int m_id
an identificator
Definition: MWAWEntry.hxx:193
@ Bottom
Definition: libmwaw_internal.hxx:166
int m_nextId
the next entry id
Definition: FullWrtStruct.hxx:132
bool getColor(int color, MWAWColor &col)
try to convert a file data to a color
Definition: FullWrtStruct.cxx:45
a border
Definition: libmwaw_internal.hxx:314
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
int m_flags
the flags
Definition: FullWrtStruct.hxx:99
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
bool hasShadow() const
return true if we have a shadow
Definition: FullWrtStruct.hxx:73
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
std::ostream & operator<<(std::ostream &o, Border const &p)
Definition: FullWrtStruct.cxx:243
std::string m_extra
some extra data
Definition: FullWrtStruct.hxx:101
int m_type
the zone type id find in DStruct
Definition: FullWrtStruct.hxx:134
Border()
constructor
Definition: FullWrtStruct.hxx:62
Entry & operator=(Entry const &)
MWAWColor m_shadowColor
the shadow color
Definition: FullWrtStruct.hxx:93
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Style m_style
the border style
Definition: libmwaw_internal.hxx:350
std::string m_extra
an extra string
Definition: MWAWEntry.hxx:191
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
MWAWColor m_frontColor
the front color (used for layout )
Definition: FullWrtStruct.hxx:89
friend std::ostream & operator<<(std::ostream &o, Border const &p)
operator<<
Definition: FullWrtStruct.cxx:243
@ Double
Definition: libmwaw_internal.hxx:318
bool read(shared_ptr< FullWrtStruct::Entry > zone, int fSz)
try to read a border definiton
Definition: FullWrtStruct.cxx:142
void addTo(MWAWGraphicStyle &style) const
add to frame properties
Definition: FullWrtStruct.cxx:127
bool operator==(const Entry &a) const
basic operator==
Definition: FullWrtStruct.cxx:393
bool operator!=(const Entry &a) const
basic operator!=
Definition: FullWrtStruct.hxx:124
bool valid() const
returns true if the entry and the input is valid
Definition: FullWrtStruct.cxx:357
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
static MWAWBorder getBorder(int type)
return a border corresponding to a type
Definition: FullWrtStruct.cxx:118
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
MWAWBorder m_frameBorder
the frame border
Definition: FullWrtStruct.hxx:87
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:270
int m_typeId
the type id (find in FZoneFlags)
Definition: FullWrtStruct.hxx:136
void closeDebugFile()
write the debug file, ...
Definition: FullWrtStruct.cxx:382
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:394
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
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< Entry > EntryPtr
Definition: FullWrtStruct.hxx:147
void update()
create a inputstream, ... if needed
Definition: FullWrtStruct.cxx:362
Generated on Wed Jun 17 2020 06:30:09 for libmwaw by
doxygen 1.8.18