a border list
More...
#include <libwps_internal.h>
|
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
} |
|
enum | { LeftBit = 0x01
, RightBit = 0x02
, TopBit =0x4
, BottomBit = 0x08
} |
|
|
| WPSBorder () |
| constructor
|
|
bool | addTo (librevenge::RVNGPropertyList &propList, std::string which="") const |
| add the border property to proplist (if needed )
|
|
bool | isEmpty () const |
| returns true if the border is empty
|
|
bool | operator== (WPSBorder const &orig) const |
| operator==
|
|
bool | operator!= (WPSBorder const &orig) const |
| operator!=
|
|
int | compare (WPSBorder const &orig) const |
| compare two cell
|
|
◆ anonymous enum
Enumerator |
---|
LeftBit | |
RightBit | |
TopBit | |
BottomBit | |
◆ Pos
Enumerator |
---|
Left | |
Right | |
Top | |
Bottom | |
◆ Style
the line style
Enumerator |
---|
None | |
Simple | |
Dot | |
LargeDot | |
Dash | |
◆ Type
the line repetition
Enumerator |
---|
Single | |
Double | |
Triple | |
◆ WPSBorder()
◆ addTo()
bool WPSBorder::addTo |
( |
librevenge::RVNGPropertyList & |
propList, |
|
|
std::string |
which = "" |
|
) |
| const |
add the border property to proplist (if needed )
\note if set which must be equal to "left", "top", ...
Referenced by WPSParagraph::addTo().
◆ compare()
int WPSBorder::compare |
( |
WPSBorder const & |
orig | ) |
const |
◆ isEmpty()
bool WPSBorder::isEmpty |
( |
| ) |
const |
|
inline |
returns true if the border is empty
◆ operator!=()
bool WPSBorder::operator!= |
( |
WPSBorder const & |
orig | ) |
const |
|
inline |
◆ operator==()
bool WPSBorder::operator== |
( |
WPSBorder const & |
orig | ) |
const |
|
inline |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
o, |
|
|
WPSBorder const & |
border |
|
) |
| |
|
friend |
◆ operator<< [2/2]
operator<<: prints data in form "none|dot|..."
◆ m_color
◆ m_extra
std::string WPSBorder::m_extra |
◆ m_style
the border style
Referenced by WPSParagraph::addTo(), addTo(), WPS8TableInternal::Cell::Cell(), LotusStyleManagerInternal::CellStyle::CellStyle(), compare(), isEmpty(), operator==(), LotusSpreadsheet::readCellsFormat801(), LotusStyleManager::readCellStyleE6(), WPS8Table::readMCLD(), WKS4Spreadsheet::readMsWorksStyle(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), WPSCellFormat::setBorders(), and WPSGraphicStyle::setBorders().
◆ m_type
the border repetition
Referenced by addTo(), operator==(), QuattroSpreadsheet::readCellProperty(), QuattroSpreadsheet::readCellStyle(), LotusStyleManager::readCellStyleE6(), WPS8Table::readMCLD(), WKS4Spreadsheet::readMsWorksStyle(), DosWordParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), QuattroSpreadsheet::readUserStyle(), and LotusSpreadsheetInternal::ExtraStyle::update().
◆ m_width
the border width
Referenced by addTo(), compare(), isEmpty(), operator==(), QuattroSpreadsheet::readCellStyle(), LotusStyleManager::readCellStyleE6(), WKS4Spreadsheet::readMsWorksStyle(), DosWordParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), QuattroSpreadsheet::readUserStyle(), and LotusSpreadsheetInternal::ExtraStyle::update().
◆ m_widthsList
std::vector<double> WPSBorder::m_widthsList |
the different length used for each line/sep (if defined)
\note when defined, the size of this list must be equal to 2*Type-1
Referenced by addTo(), and compare().
The documentation for this struct was generated from the following files: