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
} |
| |
| Enumerator |
|---|
| LeftBit |
|
| RightBit |
|
| TopBit |
|
| BottomBit |
|
| Enumerator |
|---|
| Left |
|
| Right |
|
| Top |
|
| Bottom |
|
the line style
| Enumerator |
|---|
| None |
|
| Simple |
|
| Dot |
|
| LargeDot |
|
| Dash |
|
the line repetition
| Enumerator |
|---|
| Single |
|
| Double |
|
| Triple |
|
| 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", ...
| int WPSBorder::compare |
( |
WPSBorder const & |
orig | ) |
const |
| bool WPSBorder::isEmpty |
( |
| ) |
const |
|
inline |
returns true if the border is empty
| bool WPSBorder::operator!= |
( |
WPSBorder const & |
orig | ) |
const |
|
inline |
| bool WPSBorder::operator== |
( |
WPSBorder const & |
orig | ) |
const |
|
inline |
| std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
WPSBorder const & |
border |
|
) |
| |
|
friend |
operator<<: prints data in form "none|dot|..."
| std::string WPSBorder::m_extra |
the border style
Referenced by WPS8TableInternal::Cell::Cell(), compare(), operator<<(), operator==(), LotusSpreadsheet::readCellsFormat801(), LotusStyleManager::readCellStyleE6(), WPS8Table::readMCLD(), WKS4Spreadsheet::readMsWorksStyle(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), WPSCellFormat::setBorders(), and WPSGraphicStyle::setBorders().
the border repetition
Referenced by operator<<(), operator==(), QuattroSpreadsheet::readCellProperty(), QuattroSpreadsheet::readCellStyle(), LotusStyleManager::readCellStyleE6(), WPS8Table::readMCLD(), WKS4Spreadsheet::readMsWorksStyle(), DosWordParser::readPAP(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), QuattroSpreadsheet::readUserStyle(), and LotusSpreadsheetInternal::ExtraStyle::update().
the border width
Referenced by compare(), operator<<(), operator==(), QuattroSpreadsheet::readCellStyle(), LotusStyleManager::readCellStyleE6(), WKS4Spreadsheet::readMsWorksStyle(), DosWordParser::readPAP(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), QuattroSpreadsheet::readUserStyle(), and LotusSpreadsheetInternal::ExtraStyle::update().
| 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 compare(), and operator<<().
The documentation for this struct was generated from the following files: