WPSBorder Struct Reference

a border list More...

#include <libwps_internal.h>

Public Types

enum  Style {
  None, Single, Double, Dot,
  LargeDot, Dash
}
 
enum  Pos { Left = 0, Right = 1, Top = 2, Bottom = 3 }
 
enum  { LeftBit = 0x01, RightBit = 0x02, TopBit =0x4, BottomBit = 0x08 }
 

Public Member Functions

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

Public Attributes

Style m_style
 the border style More...
 
int m_width
 the border width More...
 
uint32_t m_color
 the border color More...
 

Friends

std::ostream & operator<< (std::ostream &o, WPSBorder const &border)
 operator<<: prints data in form "XxY" More...
 

Detailed Description

a border list

Member Enumeration Documentation

anonymous enum
Enumerator
LeftBit 
RightBit 
TopBit 
BottomBit 
Enumerator
Left 
Right 
Top 
Bottom 
Enumerator
None 
Single 
Double 
Dot 
LargeDot 
Dash 

Constructor & Destructor Documentation

WPSBorder::WPSBorder ( )
inline

constructor

Member Function Documentation

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

compare two cell

std::string WPSBorder::getPropertyValue ( ) const

return the properties

Referenced by WPSParagraph::addTo().

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

operator!=

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

operator==

Referenced by operator!=().

Friends And Related Function Documentation

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

operator<<: prints data in form "XxY"

Member Data Documentation


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

Generated on Mon Nov 23 2015 07:09:19 for libwps by doxygen 1.8.5