Dillo v3.1.1-119-g140d9ebd
|
#include <types.hh>
Public Types | |
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 } |
Public Member Functions | |
Widget * | getWidget () |
Static Public Member Functions | |
static Content::Type | maskForSelection (bool followReferences) |
static void | intoStringBuffer (Content *content, lout::misc::StringBuffer *sb) |
static void | maskIntoStringBuffer (Type mask, lout::misc::StringBuffer *sb) |
static void | print (Content *content) |
static void | printMask (Type mask) |
Public Attributes | ||
short | type | |
bool | space | |
union { | ||
const char * text | ||
Widget * widget | ||
WidgetReference * widgetReference | ||
int breakSpace | ||
}; | ||
|
inline |
Definition at line 249 of file types.hh.
References ANY_WIDGET, type, dw::core::WidgetReference::widget, widget, WIDGET_OOF_REF, and widgetReference.
Referenced by dw::core::DeepIterator::DeepIterator(), dw::core::DeepIterator::next(), dw::core::DeepIterator::prev(), dw::core::DeepIterator::searchDownward(), and dw::core::DeepIterator::searchSideward().
|
static |
Definition at line 279 of file types.cc.
References lout::misc::StringBuffer::append(), lout::misc::StringBuffer::appendInt(), lout::misc::StringBuffer::appendPointer(), BREAK, END, lout::identity::IdentifiableObject::getClassName(), dw::core::WidgetReference::parentRef, START, TEXT, text, type, dw::core::WidgetReference::widget, widget, WIDGET_IN_FLOW, WIDGET_OOF_CONT, WIDGET_OOF_REF, and widgetReference.
Referenced by dw::core::Iterator::intoStringBuffer(), and print().
|
static |
Definition at line 271 of file types.cc.
References SELECTION_CONTENT, WIDGET_IN_FLOW, WIDGET_OOF_CONT, and WIDGET_OOF_REF.
Referenced by dw::core::CharIterator::CharIterator(), and dw::Textblock::sendSelectionEvent().
|
static |
Definition at line 327 of file types.cc.
References lout::misc::StringBuffer::append(), BREAK, END, START, TEXT, WIDGET_IN_FLOW, WIDGET_OOF_CONT, and WIDGET_OOF_REF.
Referenced by dw::core::Iterator::intoStringBuffer(), and printMask().
|
static |
Definition at line 344 of file types.cc.
References lout::misc::StringBuffer::getChars(), and intoStringBuffer().
|
static |
Definition at line 351 of file types.cc.
References lout::misc::StringBuffer::getChars(), and maskIntoStringBuffer().
union { ... } dw::core::Content |
int dw::core::Content::breakSpace |
Definition at line 239 of file types.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLinebreak(), dw::Textblock::addParbreak(), and dw::core::SelectionState::copy().
bool dw::core::Content::space |
Definition at line 234 of file types.hh.
Referenced by dw::core::SelectionState::copy(), dw::Textblock::fillWord(), dw::Textblock::hyphenateWord(), and dw::AlignedTableCell::wordWrap().
const char* dw::core::Content::text |
Definition at line 236 of file types.hh.
Referenced by 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 |
Definition at line 233 of file types.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addLinebreak(), dw::Textblock::addParbreak(), 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::TextblockIterator::getAllocation(), dw::Table::TableIterator::getContentInFlow(), dw::Textblock::getGeneratorWidth(), dw::oof::OOFAwareWidget::OOFAwareWidgetIterator::getPart(), getWidget(), 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::oof::OOFAwareWidget::OOFAwareWidgetIterator::OOFAwareWidgetIterator(), 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::SimpleContainer::SimpleContainerIterator::SimpleContainerIterator(), dw::Textblock::sizeAllocateImpl(), dw::core::TextIterator::TextIterator(), dw::AlignedTableCell::wordWrap(), dw::Textblock::wordWrap(), and dw::Textblock::wrapWordInFlow().
Widget* dw::core::Content::widget |
Definition at line 237 of file types.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addWidget(), dw::Textblock::changeLinkColor(), dw::Textblock::cleanupWord(), dw::Textblock::containerSizeChangedForChildren(), dw::core::Widget::containerSizeChangedForChildren(), dw::core::Layout::detachWidget(), dw::Textblock::drawLevel(), dw::Textblock::drawLine(), dw::Textblock::TextblockIterator::getAllocation(), dw::Table::TableIterator::getContentInFlow(), dw::Textblock::getGeneratorWidth(), dw::oof::OOFAwareWidget::OOFAwareWidgetIterator::getPart(), getWidget(), dw::Textblock::getWidgetAtPointLevel(), dw::Textblock::getWidgetRegardingBorderForLine(), dw::Textblock::getWordExtremes(), dw::Textblock::initLine1Offset(), intoStringBuffer(), dw::Textblock::rewrap(), and dw::Textblock::sizeAllocateImpl().
WidgetReference* dw::core::Content::widgetReference |
Definition at line 238 of file types.hh.
Referenced by dw::Textblock::accumulateWordForLine(), dw::Textblock::addLine(), dw::Textblock::addWidget(), dw::Textblock::cleanupWord(), dw::Textblock::drawLevel(), getWidget(), dw::Textblock::getWidgetAtPointLevel(), intoStringBuffer(), dw::Textblock::rewrap(), dw::Textblock::wrapWordInFlow(), and dw::Textblock::wrapWordOofRef().