Dillo v3.1.1-98-g318d1f14
|
#include <textblock.hh>
Public Types | |
enum | { LEFT , RIGHT , CENTER } |
Public Member Functions | |
int | totalHeight (int marginNextLine) |
Returns the difference between two vertical lines positions: height of this line plus space below this line. | |
Public Attributes | |
int | firstWord |
int | lastWord |
int | top |
int | marginAscent |
int | marginDescent |
int | borderAscent |
int | borderDescent |
int | contentAscent |
int | contentDescent |
int | breakSpace |
int | textOffset |
int | maxLineWidth |
int | lastOofRefPositionedBeforeThisLine |
int | leftOffset |
int | rightOffset |
enum dw::Textblock::Line:: { ... } | alignment |
Definition at line 368 of file textblock.hh.
anonymous enum |
Enumerator | |
---|---|
LEFT | |
RIGHT | |
CENTER |
Definition at line 424 of file textblock.hh.
|
inline |
Returns the difference between two vertical lines positions: height of this line plus space below this line.
The margin of the next line (marginAscent - borderAscent) must be passed seperately.
Definition at line 401 of file textblock.hh.
References borderAscent, borderDescent, breakSpace, marginDescent, and lout::misc::max().
Referenced by dw::Textblock::addLine().
enum { ... } dw::Textblock::Line::alignment |
Referenced by dw::Textblock::alignLine(), and dw::Textblock::calcTextOffset().
int dw::Textblock::Line::borderAscent |
Definition at line 383 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::changeLinkColor(), dw::Textblock::drawLine(), dw::Textblock::drawWord(), dw::Textblock::findWord(), dw::Textblock::TextblockIterator::getAllocation(), dw::Textblock::WordImgRenderer::getBgArea(), dw::Textblock::queueDrawRange(), dw::Textblock::sendSelectionEvent(), dw::Textblock::sizeAllocateImpl(), dw::Textblock::sizeRequestImpl(), totalHeight(), dw::Textblock::yOffsetOfLineCreated(), and dw::Textblock::yOffsetOfLineToBeCreated().
int dw::Textblock::Line::borderDescent |
Definition at line 386 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addParbreak(), dw::Textblock::changeLinkColor(), dw::Textblock::drawLine(), dw::Textblock::drawWord(), dw::Textblock::findWord(), dw::Textblock::WordImgRenderer::getBgArea(), dw::Textblock::sendSelectionEvent(), and totalHeight().
int dw::Textblock::Line::breakSpace |
Definition at line 391 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addParbreak(), dw::Textblock::handOverBreak(), and totalHeight().
int dw::Textblock::Line::contentAscent |
Definition at line 389 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), and dw::Textblock::queueDrawRange().
int dw::Textblock::Line::contentDescent |
Definition at line 390 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), and dw::Textblock::addLine().
int dw::Textblock::Line::firstWord |
Definition at line 370 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::alignLine(), dw::Textblock::calcPenaltyIndexForNewLine(), dw::Textblock::calcTextOffset(), dw::Textblock::changeLinkColor(), dw::Textblock::drawLine(), dw::Textblock::findWord(), dw::Textblock::TextblockIterator::getAllocation(), dw::Textblock::getWidgetAtPointLevel(), dw::Textblock::getWidgetRegardingBorderForLine(), dw::Textblock::justifyLine(), dw::Textblock::sendSelectionEvent(), and dw::Textblock::sizeAllocateImpl().
int dw::Textblock::Line::lastOofRefPositionedBeforeThisLine |
Definition at line 421 of file textblock.hh.
Referenced by dw::Textblock::addLine(), and dw::Textblock::moveWordIndices().
int dw::Textblock::Line::lastWord |
Definition at line 371 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::alignLine(), dw::Textblock::calcPenaltyIndexForNewLine(), dw::Textblock::calcTextOffset(), dw::Textblock::changeLinkColor(), dw::Textblock::drawLine(), dw::Textblock::drawWord(), dw::Textblock::findWord(), dw::Textblock::TextblockIterator::getAllocation(), dw::Textblock::getWidgetAtPointLevel(), dw::Textblock::getWidgetRegardingBorderForLine(), dw::Textblock::justifyLine(), dw::Textblock::resizeDrawImpl(), dw::Textblock::rewrap(), dw::Textblock::sendSelectionEvent(), and dw::Textblock::sizeAllocateImpl().
int dw::Textblock::Line::leftOffset |
Definition at line 423 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::alignLine(), and dw::Textblock::calcTextOffset().
int dw::Textblock::Line::marginAscent |
Definition at line 377 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::sizeRequestImpl(), dw::Textblock::yOffsetOfLineCreated(), and dw::Textblock::yOffsetOfLineToBeCreated().
int dw::Textblock::Line::marginDescent |
Definition at line 380 of file textblock.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addParbreak(), and totalHeight().
int dw::Textblock::Line::maxLineWidth |
Definition at line 412 of file textblock.hh.
Referenced by dw::Textblock::addLine().
int dw::Textblock::Line::rightOffset |
Definition at line 423 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::alignLine(), and dw::Textblock::calcTextOffset().
int dw::Textblock::Line::textOffset |
Definition at line 392 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::calcTextOffset(), dw::Textblock::drawLine(), dw::Textblock::findWord(), dw::Textblock::TextblockIterator::getAllocation(), dw::Textblock::sendSelectionEvent(), and dw::Textblock::sizeAllocateImpl().
int dw::Textblock::Line::top |
Definition at line 374 of file textblock.hh.
Referenced by dw::Textblock::addLine(), dw::Textblock::lineYOffsetWidget(), and dw::Textblock::yOffsetOfLineCreated().