FullWrtStruct::Border Struct Reference

Internal: class to store a border which appear in docInfo. More...

#include <FullWrtStruct.hxx>

List of all members.

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 (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<<

Detailed Description

Internal: class to store a border which appear in docInfo.


Constructor & Destructor Documentation

constructor

Referenced by read().


Member Function Documentation

add to frame properties

Referenced by FullWrtGraph::sendSideBar().

return a border corresponding to a type

Referenced by getParagraphBorders().

returns the list of border order MWAWBorder::Pos

Referenced by FullWrtTextInternal::Paragraph::updateToSent().

bool FullWrtStruct::Border::hasShadow ( ) const [inline]

return true if we have a shadow

Referenced by addTo(), and FullWrtStruct::operator<<().

bool FullWrtStruct::Border::read ( shared_ptr< FullWrtStruct::Entry zone,
int  fSz 
)

try to read a border definiton

Referenced by FullWrtGraph::readBorderDocInfo().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Border const &  p 
) [friend]

operator<<


Member Data Documentation

some extra data

Referenced by FullWrtStruct::operator<<(), and read().

the type (border, horizontal and vertical separators)

Referenced by Border(), getParagraphBorders(), FullWrtStruct::operator<<(), read(), and FullWrtText::sendTable().


The documentation for this struct was generated from the following files: