#include <types.hh>
|
enum | Type {
START = 1 << 0,
END = 1 << 1,
TEXT = 1 << 2,
WIDGET_IN_FLOW = 1 << 3,
WIDGET_OOF_CONT = 1 << 4,
WIDGET_OOF_REF = 1 << 5,
BREAK = 1 << 6,
INVALID = 1 << 7,
ALL = 0xff,
REAL_CONTENT = 0xff ^ (START | END),
SELECTION_CONTENT = TEXT | BREAK,
ANY_WIDGET = WIDGET_IN_FLOW | WIDGET_OOF_CONT | WIDGET_OOF_REF
} |
|
Enumerator |
---|
START |
|
END |
|
TEXT |
|
WIDGET_IN_FLOW |
widget in normal flow, so that this widget (containing this content) is both container (parent) and generator
|
WIDGET_OOF_CONT |
widget out of flow (OOF); this widget (containing this content) is only the container (parent), but not generator
|
WIDGET_OOF_REF |
reference to a widget out of flow (OOF); this widget (containing this content) is only the generator (parent), but not container
|
BREAK |
|
INVALID |
can be used internally, but should never be exposed, e. g. by iterators
|
ALL |
|
REAL_CONTENT |
|
SELECTION_CONTENT |
|
ANY_WIDGET |
|
Widget* dw::core::Content::getWidget |
( |
| ) |
|
|
inline |
Content::Type dw::core::Content::maskForSelection |
( |
bool |
followReferences | ) |
|
|
static |
void dw::core::Content::print |
( |
Content * |
content | ) |
|
|
static |
void dw::core::Content::printMask |
( |
Type |
mask | ) |
|
|
static |
int dw::core::Content::breakSpace |
bool dw::core::Content::space |
const char* dw::core::Content::text |
Referenced by dw::Textblock::addText0(), dw::core::SelectionState::copy(), dw::core::SelectionState::correctCharPos(), dw::Textblock::drawWord(), dw::Textblock::TextblockIterator::getAllocation(), dw::AlignedTableCell::getValue(), dw::core::CharIterator::highlight(), dw::core::SelectionState::highlight0(), dw::Textblock::hyphenateWord(), intoStringBuffer(), dw::Textblock::isHyphenationCandidate(), dw::core::TextIterator::next(), dw::core::TextIterator::prev(), dw::Textblock::sendSelectionEvent(), and dw::AlignedTableCell::wordWrap().
short dw::core::Content::type |
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLinebreak(), dw::Textblock::addParbreak(), dw::Textblock::addText0(), dw::Textblock::addWidget(), dw::Textblock::alignLine(), dw::Textblock::changeLinkColor(), dw::Textblock::cleanupWord(), dw::core::EmptyIterator::compareTo(), dw::core::TextIterator::compareTo(), dw::Textblock::containerSizeChangedForChildren(), dw::core::SelectionState::copy(), dw::core::SelectionState::correctCharPos(), dw::core::DeepIterator::DeepIterator(), dw::Textblock::drawLevel(), dw::Textblock::drawLine(), dw::core::EmptyIterator::EmptyIterator(), dw::Textblock::fillSpace(), dw::Textblock::TextblockIterator::getAllocation(), dw::Table::TableIterator::getContentInFlow(), dw::oof::OOFAwareWidget::OOFAwareWidgetIterator::getPart(), dw::Textblock::getWidgetAtPointLevel(), dw::Textblock::getWidgetRegardingBorderForLine(), dw::Textblock::getWordExtremes(), dw::core::CharIterator::highlight(), dw::core::SelectionState::highlight0(), dw::Textblock::hyphenateWord(), dw::Textblock::initLine1Offset(), intoStringBuffer(), dw::Textblock::isHyphenationCandidate(), dw::core::EmptyIterator::next(), dw::core::TextIterator::next(), dw::core::DeepIterator::next(), dw::core::EmptyIterator::prev(), dw::core::TextIterator::prev(), dw::core::DeepIterator::prev(), dw::Textblock::rewrap(), dw::core::DeepIterator::searchDownward(), dw::core::DeepIterator::searchSideward(), dw::Textblock::sendSelectionEvent(), dw::Textblock::sizeAllocateImpl(), dw::core::TextIterator::TextIterator(), dw::AlignedTableCell::wordWrap(), dw::Textblock::wordWrap(), dw::Textblock::wrapWordInFlow(), and dw::Textblock::wrapWordOofRef().
Widget* dw::core::Content::widget |
Referenced by dw::Textblock::accumulateWordForLine(), dw::core::StackingProcessingContext::addWidgetProcessedAsInterruption(), dw::Textblock::changeLinkColor(), dw::Textblock::cleanupWord(), dw::core::Widget::containerSizeChangedForChildren(), dw::Textblock::containerSizeChangedForChildren(), dw::core::Layout::detachWidget(), dw::Textblock::drawLevel(), dw::Textblock::drawLine(), dw::Textblock::TextblockIterator::getAllocation(), dw::Table::TableIterator::getContentInFlow(), dw::oof::OOFAwareWidget::OOFAwareWidgetIterator::getPart(), getWidget(), dw::Textblock::getWidgetAtPointLevel(), dw::Textblock::getWidgetRegardingBorderForLine(), dw::Textblock::getWordExtremes(), dw::Textblock::initLine1Offset(), intoStringBuffer(), dw::Textblock::rewrap(), dw::Textblock::sizeAllocateImpl(), and dw::Textblock::wrapWordInFlow().
The documentation for this struct was generated from the following files: