a border 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... | |
Public Member Functions | |
MWAWBorder () | |
constructor More... | |
bool | addTo (librevenge::RVNGPropertyList &propList, std::string which="") const |
add the border property to proplist (if needed ) More... | |
bool | isEmpty () const |
returns true if the border is empty 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 borders More... | |
Public Attributes | |
Style | m_style |
the border style More... | |
Type | m_type |
the border repetition More... | |
double | m_width |
the border total width in point More... | |
std::vector< double > | m_widthsList |
the different length used for each line/sep (if defined) More... | |
MWAWColor | m_color |
the border color More... | |
std::string | m_extra |
extra data ( if needed) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, MWAWBorder const &border) |
operator<< More... | |
std::ostream & | operator<< (std::ostream &o, MWAWBorder::Style const &style) |
operator<<: prints data in form "none|dot|..." More... | |
a border
enum MWAWBorder::Style |
enum MWAWBorder::Type |
|
inline |
constructor
bool MWAWBorder::addTo | ( | librevenge::RVNGPropertyList & | propList, |
std::string | which = "" |
||
) | const |
add the border property to proplist (if needed )
Referenced by MWAWParagraph::addTo().
int MWAWBorder::compare | ( | MWAWBorder const & | orig | ) | const |
compare two borders
|
inline |
returns true if the border is empty
Referenced by MWAWParagraph::addTo(), FullWrtStruct::Border::addTo(), MacWrtProStructuresInternal::Block::fillFrame(), MacWrtProStructuresInternal::Block::hasBorders(), RagTimeSpreadsheetInternal::CellBorder::hasBorders(), MWAWCell::hasExtraLine(), and WriteNowTextInternal::TableData::updateCell().
|
inline |
operator!=
Referenced by operator==().
|
inline |
operator==
|
friend |
operator<<
|
friend |
operator<<: prints data in form "none|dot|..."
MWAWColor MWAWBorder::m_color |
the border color
Referenced by MarinerWrtGraphInternal::Token::addPictBorder(), MWAWSection::addTo(), addTo(), FullWrtStruct::Border::addTo(), HanMacWrdJGraphInternal::FrameFormat::addTo(), HanMacWrdKGraphInternal::TextBox::addTo(), compare(), MarinerWrtTextInternal::Paragraph::BorderFill::getBorder(), RagTime5StyleManager::getCellBorder(), FullWrtStruct::Border::getParagraphBorders(), MacWrtProStructuresInternal::Block::hasBorders(), operator!=(), MacWrtProStructures::readBlock(), PowerPoint3Parser::readFramesList(), PowerPoint1Parser::readFramesList(), RagTimeSpreadsheet::readResource(), PowerPoint7Graph::readStyle(), HanMacWrdKGraph::readTable(), ClarisWksTable::readTableCells(), HanMacWrdJGraph::readTableFormatsList(), RagTimeParser::send(), MacDrawProParser::send(), HanMacWrdJGraph::sendComment(), MWAWTable::sendExtraLines(), ClarisDrawGraph::sendGroup(), ClarisWksGraph::sendGroupChild(), ClarisDrawGraph::sendMainGroupChild(), RagTimeParser::sendPicture(), MsWksTable::sendTable(), FullWrtText::sendTable(), HanMacWrdJGraphInternal::TableCell::update(), and ClarisWksTableInternal::TableCell::update().
std::string MWAWBorder::m_extra |
extra data ( if needed)
Referenced by MacWrtProStructures::readBlock(), and RagTimeSpreadsheet::readResource().
Style MWAWBorder::m_style |
the border style
Referenced by MarinerWrtGraphInternal::Token::addPictBorder(), MWAWSection::addTo(), addTo(), FullWrtStruct::Border::Border(), compare(), MarinerWrtTextInternal::Paragraph::BorderFill::getBorder(), MsWrdStruct::getBorder(), RagTime5StyleManager::getCellBorder(), isEmpty(), MWAWSection::MWAWSection(), operator!=(), FullWrtStruct::Border::read(), HanMacWrdKText::readParagraph(), StyleParser::readRules(), HanMacWrdKGraph::readTable(), HanMacWrdJGraph::readTableFormatsList(), MWAWParagraph::resizeBorders(), MWAWCell::setBorders(), MWAWGraphicStyle::setBorders(), ClarisWksTableInternal::TableCell::update(), and WriteNowTextInternal::TableData::updateCell().
Type MWAWBorder::m_type |
the border repetition
Referenced by MarinerWrtGraphInternal::Token::addPictBorder(), addTo(), HanMacWrdJGraphInternal::FrameFormat::addTo(), HanMacWrdKGraphInternal::TextBox::addTo(), compare(), MarinerWrtTextInternal::Paragraph::BorderFill::getBorder(), FullWrtStruct::Border::getBorder(), MsWrdStruct::getBorder(), operator!=(), MsWrdStruct::Paragraph::read(), FullWrtStruct::Border::read(), PowerPoint3Parser::readFramesList(), PowerPoint1Parser::readFramesList(), HanMacWrdJText::readParagraph(), HanMacWrdKText::readParagraph(), PowerPoint7Graph::readStyle(), HanMacWrdKGraph::readTable(), HanMacWrdJGraph::readTableFormatsList(), ClarisWksTableInternal::TableCell::update(), WriteNowTextInternal::TableData::updateCell(), and MacWrtProStructuresInternal::State::updateLineType().
double MWAWBorder::m_width |
the border total width in point
Referenced by MarinerWrtGraphInternal::Token::addPictBorder(), MWAWSection::addTo(), addTo(), HanMacWrdJGraphInternal::FrameFormat::addTo(), HanMacWrdKGraphInternal::TextBox::addTo(), compare(), MacWrtProStructuresInternal::Block::fillFrame(), MarinerWrtTextInternal::Paragraph::BorderFill::getBorder(), FullWrtStruct::Border::getBorder(), MsWrdStruct::getBorder(), RagTime5StyleManager::getCellBorder(), isEmpty(), operator!=(), MsWrdStruct::Paragraph::read(), FullWrtStruct::Border::read(), MacWrtProStructures::readBlock(), BeagleWksStructManager::readFrame(), PowerPoint3Parser::readFramesList(), PowerPoint1Parser::readFramesList(), RagTimeSpreadsheet::readResource(), StyleParser::readRules(), PowerPoint7Graph::readStyle(), HanMacWrdKGraph::readTable(), ClarisWksTable::readTableCells(), HanMacWrdJGraph::readTableFormatsList(), RagTimeParser::send(), MacDrawProParser::send(), HanMacWrdJGraph::sendComment(), MWAWTable::sendExtraLines(), ClarisDrawGraph::sendGroup(), ClarisDrawGraph::sendMainGroupChild(), RagTimeParser::sendPicture(), MsWksTable::sendTable(), FullWrtText::sendTable(), HanMacWrdJGraphInternal::TableCell::update(), ClarisWksTableInternal::TableCell::update(), and WriteNowTextInternal::TableData::updateCell().
std::vector<double> MWAWBorder::m_widthsList |
the different length used for each line/sep (if defined)
Referenced by MarinerWrtGraphInternal::Token::addPictBorder(), addTo(), HanMacWrdJGraphInternal::FrameFormat::addTo(), HanMacWrdKGraphInternal::TextBox::addTo(), MarinerWrtTextInternal::Paragraph::BorderFill::getBorder(), FullWrtStruct::Border::read(), PowerPoint3Parser::readFramesList(), PowerPoint1Parser::readFramesList(), PowerPoint7Graph::readStyle(), HanMacWrdKGraph::readTable(), HanMacWrdJGraph::readTableFormatsList(), and MacWrtProStructuresInternal::State::updateLineType().