#include <opennurbs_textiterator.h>
Public Member Functions | |
ON_TextRunBuilder (ON_TextContent &text, ON_TextRunArray &runs, const ON_DimStyle *dimstyle, double height, ON_Color color) | |
virtual | ~ON_TextRunBuilder () |
void | AppendCurrentRun () |
void | BeginColorTable () override |
void | BeginFontTable () override |
void | BeginHeader () override |
void | Bold (const wchar_t *value) override |
void | ColorBackground (const wchar_t *value) override |
void | ColorBlue (const wchar_t *value) override |
void | ColorForeground (const wchar_t *value) override |
void | ColorGreen (const wchar_t *value) override |
void | ColorRed (const wchar_t *value) override |
void | DefaultFont (const wchar_t *value) override |
void | FinishCurrentRun () |
void | FlushText (size_t count, ON__UINT32 *cp_array) override |
void | FontSize (const wchar_t *value) override |
void | FontTag (const wchar_t *value) override |
void | GroupBegin () override |
void | GroupEnd () override |
void | InitBuilder (const ON_Font *default_font) override |
void | Italic (const wchar_t *value) override |
void | Newline () override |
void | NoSuperSub () override |
void | Paragraph () override |
void | ParagraphDefaults () override |
void | Section () override |
void | SetStackScale (const wchar_t *value) override |
void | StackEnd () override |
void | StackFraction (const wchar_t *value) override |
void | Strikethrough (const wchar_t *value) override |
void | Subscript () override |
void | Superscript () override |
void | Tab () override |
void | TextField (const wchar_t *name) override |
void | UnderlineOff () override |
void | UnderlineOn () override |
void | UniDest (const wchar_t *value) override |
void | UniEmbeddedDest (const wchar_t *value) override |
Public Member Functions inherited from ON_TextBuilder | |
ON_TextBuilder () | |
virtual | ~ON_TextBuilder () |
virtual bool | AppendCodePoint (ON__UINT32 codept) |
virtual void | Bullet () |
virtual void | CharSet (const wchar_t *value) |
unsigned int | CharSetFromMap (int nval) |
virtual void | CodePage (const wchar_t *value) |
unsigned int | CodePageFromMap (int nval) |
virtual void | EmDash () |
virtual void | EnDash () |
const ON_wString | FaceNameFromMap (int nval) |
virtual void | LDblQuote () |
virtual void | LQuote () |
virtual void | RDblQuote () |
virtual void | RQuote () |
ON__UINT32 * | RunCodePoints (const ON_TextRun &run) |
virtual void | UniCpCount (const wchar_t *value) |
virtual void | UniDecimal (const wchar_t *value) |
Public Attributes | |
const ON_Font * | m_current_font = &ON_Font::Default |
ON_TextRun | m_current_run |
ON_SimpleArray< const ON_Font *> | m_font_stack |
ON_TextRunArray & | m_runs |
ON_TextContent & | m_text |
Public Attributes inherited from ON_TextBuilder | |
ON_SimpleArray< int > | m_ansi_equiv_chars = 0 |
ON_SimpleArray< ON__UINT32 > | m_current_codepoints |
TextProps | m_current_props |
ON__UINT16 | m_current_UTF16_buffer [2] |
ON__INT32 | m_current_UTF16_buffer_count = 0 |
ON__INT32 | m_default_font_index = 0 |
ON_ClassArray< ON_FaceNameKey > | m_facename_map |
ON__INT32 | m_font_index = 0 |
ON__INT32 | m_font_table_level = -1 |
ON__INT32 | m_in_run |
ON__INT32 | m_level = 0 |
ON_ClassArray< TextProps > | m_prop_stack |
Additional Inherited Members | |
Public Types inherited from ON_TextBuilder | |
enum | : ON__UINT16 { m_UFT16_waiting_mark = 0xEEEE, m_UFT16_unused_mark = 0xFFFF } |
ON_TextRunBuilder::ON_TextRunBuilder | ( | ON_TextContent & | text, |
ON_TextRunArray & | runs, | ||
const ON_DimStyle * | dimstyle, | ||
double | height, | ||
ON_Color | color | ||
) |
|
virtual |
void ON_TextRunBuilder::AppendCurrentRun | ( | ) |
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
void ON_TextRunBuilder::FinishCurrentRun | ( | ) |
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
|
overridevirtual |
Reimplemented from ON_TextBuilder.
const ON_Font* ON_TextRunBuilder::m_current_font = &ON_Font::Default |
ON_TextRun ON_TextRunBuilder::m_current_run |
ON_SimpleArray< const ON_Font* > ON_TextRunBuilder::m_font_stack |
ON_TextRunArray& ON_TextRunBuilder::m_runs |
ON_TextContent& ON_TextRunBuilder::m_text |