Internal: class to store a border which appear in docInfo. More...
#include <FWStruct.hxx>
Public Member Functions | |
Border () | |
constructor | |
void | addToFrame (WPXPropertyList &pList) const |
add to frame properties | |
bool | hasShadow () const |
return true if we have a shadow | |
bool | read (shared_ptr< FWStruct::Entry > zone, int fSz) |
try to read a border definiton | |
std::vector< Variable < 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 | |
Vec2i | 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.
FWStruct::Border::Border | ( | ) | [inline] |
constructor
Referenced by read().
void FWStruct::Border::addToFrame | ( | WPXPropertyList & | pList | ) | const |
add to frame properties
Referenced by FWGraph::sendSideBar().
MWAWBorder FWStruct::Border::getBorder | ( | int | type | ) | [static] |
return a border corresponding to a type
Referenced by getParagraphBorders().
std::vector< Variable< MWAWBorder > > FWStruct::Border::getParagraphBorders | ( | ) | const |
returns the list of border order MWAWBorder::Pos
Referenced by FWTextInternal::Paragraph::updateToSent().
bool FWStruct::Border::hasShadow | ( | ) | const [inline] |
return true if we have a shadow
Referenced by addToFrame(), and FWStruct::operator<<().
bool FWStruct::Border::read | ( | shared_ptr< FWStruct::Entry > | zone, |
int | fSz | ||
) |
try to read a border definiton
Referenced by FWGraph::readBorderDocInfo().
std::ostream& operator<< | ( | std::ostream & | o, |
Border const & | p | ||
) | [friend] |
operator<<
the back color (used for layout )
Referenced by addToFrame(), FWStruct::operator<<(), read(), and FWTextInternal::Paragraph::updateToSent().
the colors line + ?
Referenced by addToFrame(), getParagraphBorders(), FWStruct::operator<<(), read(), and FWText::sendTable().
std::string FWStruct::Border::m_extra |
some extra data
Referenced by FWStruct::operator<<(), and read().
the flags
Referenced by FWStruct::operator<<(), and read().
the frame border
Referenced by addToFrame(), Border(), FWStruct::operator<<(), and read().
the front color (used for layout )
Referenced by FWStruct::operator<<(), read(), and FWGraph::sendSideBar().
the shadow color
Referenced by addToFrame(), FWStruct::operator<<(), and read().
the shadow depl ( if shadow)
Referenced by addToFrame(), hasShadow(), FWStruct::operator<<(), and read().
int FWStruct::Border::m_type[3] |
the type (border, horizontal and vertical separators)
Referenced by Border(), getParagraphBorders(), FWStruct::operator<<(), read(), and FWText::sendTable().