Internal: class to store a border which appear in docInfo. More...
#include <FullWrtStruct.hxx>
Public Member Functions | |
Border () | |
constructor | |
void | addTo (MWAWGraphicStyle &style) const |
add to frame properties | |
bool | hasShadow () const |
return true if we have a shadow | |
bool | read (std::shared_ptr< FullWrtStruct::Entry > zone, int fSz) |
try to read a border definiton | |
std::vector< MWAWVariable< MWAWBorder > > | getParagraphBorders () const |
returns the list of border order MWAWBorder::Pos | |
Static Public Member Functions | |
static MWAWBorder | getBorder (int type) |
return a border corresponding to a type | |
Public Attributes | |
int | m_type [3] |
the type (border, horizontal and vertical separators) | |
MWAWBorder | m_frameBorder |
the frame border | |
MWAWColor | m_frontColor |
the front color (used for layout ) | |
MWAWColor | m_backColor |
the back color (used for layout ) | |
MWAWColor | m_shadowColor |
the shadow color | |
MWAWVec2i | m_shadowDepl |
the shadow depl ( if shadow) | |
MWAWColor | m_color [2] |
the colors line + ? | |
int | m_flags |
the flags | |
std::string | m_extra |
some extra data | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Border const &p) |
operator<< | |
Internal: class to store a border which appear in docInfo.
|
inline |
constructor
void FullWrtStruct::Border::addTo | ( | MWAWGraphicStyle & | style | ) | const |
add to frame properties
Referenced by FullWrtGraph::sendSideBar().
|
static |
return a border corresponding to a type
Referenced by getParagraphBorders(), and FullWrtText::sendTable().
std::vector< MWAWVariable< MWAWBorder > > FullWrtStruct::Border::getParagraphBorders | ( | ) | const |
returns the list of border order MWAWBorder::Pos
Referenced by FullWrtTextInternal::Paragraph::updateToSent().
|
inline |
return true if we have a shadow
Referenced by addTo().
bool FullWrtStruct::Border::read | ( | std::shared_ptr< FullWrtStruct::Entry > | zone, |
int | fSz | ||
) |
try to read a border definiton
Referenced by FullWrtGraph::readBorderDocInfo().
|
friend |
operator<<
MWAWColor FullWrtStruct::Border::m_backColor |
the back color (used for layout )
Referenced by addTo(), read(), and FullWrtTextInternal::Paragraph::updateToSent().
MWAWColor FullWrtStruct::Border::m_color[2] |
the colors line + ?
Referenced by addTo(), getParagraphBorders(), read(), and FullWrtText::sendTable().
std::string FullWrtStruct::Border::m_extra |
some extra data
Referenced by read().
int FullWrtStruct::Border::m_flags |
the flags
Referenced by read().
MWAWBorder FullWrtStruct::Border::m_frameBorder |
MWAWColor FullWrtStruct::Border::m_frontColor |
the front color (used for layout )
Referenced by read(), and FullWrtGraph::sendSideBar().
MWAWVec2i FullWrtStruct::Border::m_shadowDepl |
the shadow depl ( if shadow)
Referenced by addTo(), hasShadow(), and read().
int FullWrtStruct::Border::m_type[3] |
the type (border, horizontal and vertical separators)
Referenced by Border(), getParagraphBorders(), read(), and FullWrtText::sendTable().