WPSBorder Struct Reference

a border list More...

#include <libwps_internal.h>

List of all members.

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
std::string getPropertyValue () const
 return the properties
bool operator== (WPSBorder const &orig) const
 operator==
bool operator!= (WPSBorder const &orig) const
 operator!=
int compare (WPSBorder const &orig) const
 compare two cell

Public Attributes

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

Friends

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

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: