#include <opennurbs_textiterator.h>
◆ anonymous enum
Rtf uses UTF-16 encoding and surrogate pairs need to be properly handled. For example, the single UNICODE code point ON_UnicodeCodePoint::Wastebasket U+1F5D1 (decimal 128465) is in the RTF string as ...{\ltrch \u-10179?\u-8751?}... The UNICODE code point U+1F5D1 is encoded as a UTF-16 surrogate pair is (0xD83D, 0xDDD1). \u-10179? -> unsigned short 0xD83D \u-8751? -> unsigned short 0xDDD1
Enumerator |
---|
m_UFT16_waiting_mark | value must be > 0xE000 and uncommon unicode code point
|
m_UFT16_unused_mark | value must be > m_UFT16_waiting, <= 0xFFFF, and uncommon unicode code point
|
◆ ON_TextBuilder()
ON_TextBuilder::ON_TextBuilder |
( |
| ) |
|
◆ ~ON_TextBuilder()
virtual ON_TextBuilder::~ON_TextBuilder |
( |
| ) |
|
|
virtual |
◆ AppendCodePoint()
virtual bool ON_TextBuilder::AppendCodePoint |
( |
ON__UINT32 |
codept | ) |
|
|
virtual |
◆ BeginColorTable()
virtual void ON_TextBuilder::BeginColorTable |
( |
| ) |
|
|
virtual |
◆ BeginFontTable()
virtual void ON_TextBuilder::BeginFontTable |
( |
| ) |
|
|
virtual |
◆ BeginHeader()
virtual void ON_TextBuilder::BeginHeader |
( |
| ) |
|
|
virtual |
◆ Bold()
virtual void ON_TextBuilder::Bold |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ Bullet()
virtual void ON_TextBuilder::Bullet |
( |
| ) |
|
|
virtual |
◆ CharSet()
virtual void ON_TextBuilder::CharSet |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ CharSetFromMap()
unsigned int ON_TextBuilder::CharSetFromMap |
( |
int |
nval | ) |
|
◆ CodePage()
virtual void ON_TextBuilder::CodePage |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ CodePageFromMap()
unsigned int ON_TextBuilder::CodePageFromMap |
( |
int |
nval | ) |
|
◆ ColorBackground()
virtual void ON_TextBuilder::ColorBackground |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ ColorBlue()
virtual void ON_TextBuilder::ColorBlue |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ ColorForeground()
virtual void ON_TextBuilder::ColorForeground |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ ColorGreen()
virtual void ON_TextBuilder::ColorGreen |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ ColorRed()
virtual void ON_TextBuilder::ColorRed |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ DefaultFont()
virtual void ON_TextBuilder::DefaultFont |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ EmDash()
virtual void ON_TextBuilder::EmDash |
( |
| ) |
|
|
virtual |
◆ EnDash()
virtual void ON_TextBuilder::EnDash |
( |
| ) |
|
|
virtual |
◆ FaceNameFromMap()
const ON_wString ON_TextBuilder::FaceNameFromMap |
( |
int |
nval | ) |
|
◆ FinishFontDef()
virtual void ON_TextBuilder::FinishFontDef |
( |
| ) |
|
|
virtual |
◆ FlushText()
virtual void ON_TextBuilder::FlushText |
( |
size_t |
count, |
|
|
ON__UINT32 * |
cp_array |
|
) |
| |
|
virtual |
◆ FontSize()
virtual void ON_TextBuilder::FontSize |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ FontTag()
virtual void ON_TextBuilder::FontTag |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ FormatChange()
virtual void ON_TextBuilder::FormatChange |
( |
| ) |
|
|
virtual |
◆ GroupBegin()
virtual void ON_TextBuilder::GroupBegin |
( |
| ) |
|
|
virtual |
◆ GroupEnd()
virtual void ON_TextBuilder::GroupEnd |
( |
| ) |
|
|
virtual |
◆ InitBuilder()
virtual void ON_TextBuilder::InitBuilder |
( |
const ON_Font * |
default_font | ) |
|
|
virtual |
◆ Italic()
virtual void ON_TextBuilder::Italic |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ LDblQuote()
virtual void ON_TextBuilder::LDblQuote |
( |
| ) |
|
|
virtual |
◆ LQuote()
virtual void ON_TextBuilder::LQuote |
( |
| ) |
|
|
virtual |
◆ Newline()
virtual void ON_TextBuilder::Newline |
( |
| ) |
|
|
virtual |
◆ NoSuperSub()
virtual void ON_TextBuilder::NoSuperSub |
( |
| ) |
|
|
virtual |
◆ Paragraph()
virtual void ON_TextBuilder::Paragraph |
( |
| ) |
|
|
virtual |
◆ ParagraphDefaults()
virtual void ON_TextBuilder::ParagraphDefaults |
( |
| ) |
|
|
virtual |
◆ RDblQuote()
virtual void ON_TextBuilder::RDblQuote |
( |
| ) |
|
|
virtual |
◆ ReadingFontDefinition()
virtual bool ON_TextBuilder::ReadingFontDefinition |
( |
| ) |
|
|
virtual |
◆ ReadingFontTable()
virtual bool ON_TextBuilder::ReadingFontTable |
( |
| ) |
|
|
virtual |
◆ RQuote()
virtual void ON_TextBuilder::RQuote |
( |
| ) |
|
|
virtual |
◆ RunBegin()
virtual void ON_TextBuilder::RunBegin |
( |
| ) |
|
|
virtual |
◆ RunCodePoints()
◆ RunEnd()
virtual void ON_TextBuilder::RunEnd |
( |
| ) |
|
|
virtual |
◆ Section()
virtual void ON_TextBuilder::Section |
( |
| ) |
|
|
virtual |
◆ SetReadingFontDefinition()
virtual void ON_TextBuilder::SetReadingFontDefinition |
( |
bool |
b | ) |
|
|
virtual |
◆ SetStackScale()
virtual void ON_TextBuilder::SetStackScale |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ StackEnd()
virtual void ON_TextBuilder::StackEnd |
( |
| ) |
|
|
virtual |
◆ StackFraction()
virtual void ON_TextBuilder::StackFraction |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ Strikethrough()
virtual void ON_TextBuilder::Strikethrough |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ Subscript()
virtual void ON_TextBuilder::Subscript |
( |
| ) |
|
|
virtual |
◆ Superscript()
virtual void ON_TextBuilder::Superscript |
( |
| ) |
|
|
virtual |
◆ Tab()
virtual void ON_TextBuilder::Tab |
( |
| ) |
|
|
virtual |
◆ TextField()
virtual void ON_TextBuilder::TextField |
( |
const wchar_t * |
name | ) |
|
|
virtual |
◆ UnderlineOff()
virtual void ON_TextBuilder::UnderlineOff |
( |
| ) |
|
|
virtual |
◆ UnderlineOn()
virtual void ON_TextBuilder::UnderlineOn |
( |
| ) |
|
|
virtual |
◆ UniCpCount()
virtual void ON_TextBuilder::UniCpCount |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ UniDecimal()
virtual void ON_TextBuilder::UniDecimal |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ UniDest()
virtual void ON_TextBuilder::UniDest |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ UniEmbeddedDest()
virtual void ON_TextBuilder::UniEmbeddedDest |
( |
const wchar_t * |
value | ) |
|
|
virtual |
◆ m_current_codepoints
◆ m_current_props
◆ m_current_UTF16_buffer
ON__UINT16 ON_TextBuilder::m_current_UTF16_buffer[2] |
◆ m_current_UTF16_buffer_count
ON__INT32 ON_TextBuilder::m_current_UTF16_buffer_count = 0 |
◆ m_default_font_index
ON__INT32 ON_TextBuilder::m_default_font_index = 0 |
◆ m_facename_map
◆ m_font_index
◆ m_font_table_level
ON__INT32 ON_TextBuilder::m_font_table_level = 10000 |
◆ m_in_run
◆ m_level
◆ m_pending_props
◆ m_prop_stack