MWAWBorder Struct Reference

a border list More...

#include <libmwaw_internal.hxx>

Public Types

enum  Style {
  None, Simple, Dot, LargeDot,
  Dash
}
 the line style More...
 
enum  Type { Single, Double, Triple }
 the line repetition More...
 
enum  Pos {
  Left = 0, Right = 1, Top = 2, Bottom = 3,
  HMiddle = 4, VMiddle = 5
}
 
enum  {
  LeftBit = 0x01, RightBit = 0x02, TopBit =0x4, BottomBit = 0x08,
  HMiddleBit = 0x10, VMiddleBit = 0x20
}
 

Public Member Functions

 MWAWBorder ()
 constructor More...
 
std::string getPropertyValue () const
 return the properties More...
 
bool operator== (MWAWBorder const &orig) const
 operator== More...
 
bool operator!= (MWAWBorder const &orig) const
 operator!= More...
 
int compare (MWAWBorder const &orig) const
 compare two cell More...
 

Public Attributes

Style m_style
 the border style More...
 
Type m_type
 the border repetition More...
 
float m_width
 the border width More...
 
MWAWColor m_color
 the border color More...
 

Friends

std::ostream & operator<< (std::ostream &o, MWAWBorder const &border)
 operator<<: prints data in form "XxY" More...
 
std::ostream & operator<< (std::ostream &o, MWAWBorder::Style const &style)
 operator<<: prints data in form "none|dot|..." More...
 

Detailed Description

a border list

Member Enumeration Documentation

anonymous enum
Enumerator
LeftBit 
RightBit 
TopBit 
BottomBit 
HMiddleBit 
VMiddleBit 
Enumerator
Left 
Right 
Top 
Bottom 
HMiddle 
VMiddle 

the line style

Enumerator
None 
Simple 
Dot 
LargeDot 
Dash 

the line repetition

Enumerator
Single 
Double 
Triple 

Constructor & Destructor Documentation

MWAWBorder::MWAWBorder ( )
inline

constructor

Member Function Documentation

int MWAWBorder::compare ( MWAWBorder const &  orig) const

compare two cell

std::string MWAWBorder::getPropertyValue ( ) const

return the properties

Referenced by MWAWParagraph::addTo().

bool MWAWBorder::operator!= ( MWAWBorder const &  orig) const
inline

operator!=

Referenced by operator==().

bool MWAWBorder::operator== ( MWAWBorder const &  orig) const
inline

operator==

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
MWAWBorder const &  border 
)
friend

operator<<: prints data in form "XxY"

std::ostream& operator<< ( std::ostream &  o,
MWAWBorder::Style const &  style 
)
friend

operator<<: prints data in form "none|dot|..."

Member Data Documentation


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

Generated on Sat May 4 2013 11:47:13 for libmwaw by doxygen 1.8.3.1