enum CCL::Text::NodeType
Overview
#include <textformatting.h> enum NodeType { kNodeTypeUnknown = 0, kDocument = 'docu', kHeading = 'head', kParagraph = 'para', kBlockQuote = 'bkqt', kListBegin = 'lstb', kListEnd = 'lste', kListItem = 'litm', kList = 'list', kTable = 'tabl', kCodeBlock = 'cdbk', kHtmlBlock = 'htmb', kCustomBlock = 'cstb', kThematicBreak = 'thbr', kHorizontalLine = 'hrln', kPlainText = 'plnt', kSoftBreak = 'sftb', kLineBreak = 'lnbr', kAnchor = 'anch', kFragmentLink = 'frag', kLink = 'link', kImage = 'imag', kEmphasis = 'emph', kStrong = 'strg', kBold = 'bold', kItalic = 'ital', kUnderline = 'udrl', kSuperscript = 'sups', kSubscript = 'subs', kFontColor = 'fclr', kFontSize = 'fsiz', kStyleSpan = 'stsp', kCodeInline = 'code', kHtmlInline = 'html', kCustomInline = 'cstm', };
Detailed Documentation
Text node type.
Enum Values
kDocument
top-level document
kHeading
heading, can have level
kParagraph
paragraph of text
kBlockQuote
block quote (a long quotation block)
kListBegin
list begin
kListEnd
list end
kListItem
list item
kList
list (alternative to kListBegin/kListEnd)
kTable
table
kCodeBlock
code block
kHtmlBlock
HTML block.
kCustomBlock
custom block (format-dependent)
kThematicBreak
thematic break (semantic)
kHorizontalLine
horizontal line (visual)
kPlainText
plain text
kSoftBreak
soft break
kLineBreak
hard line break
kAnchor
local anchor definition in document (invisible)
kFragmentLink
link to anchor in same document
kLink
external link
kImage
image
kEmphasis
emphasis (semantic, usually italic visually)
kStrong
strong (semantic, usually bold visually)
kBold
visually bold text
kItalic
visually italic text
kUnderline
visually underlined text
kSuperscript
superscript
kSubscript
subscript
kFontColor
font color
kFontSize
font size
kStyleSpan
style span
kCodeInline
code (inline)
kHtmlInline
HTML (inline)
kCustomInline
custom (inline, format-dependent)