Classes | |
class | wxTextAttrDimension |
A class representing a rich text dimension, including units and position. More... | |
class | wxTextAttrDimensions |
A class for left, right, top and bottom dimensions. More... | |
class | wxTextAttrSize |
A class for representing width and height. More... | |
class | wxTextAttrDimensionConverter |
A class to make it easier to convert dimensions. More... | |
class | wxTextAttrBorder |
A class representing a rich text object border. More... | |
class | wxTextAttrBorders |
A class representing a rich text object's borders. More... | |
class | wxTextBoxAttr |
A class representing the box attributes of a rich text object. More... | |
class | wxRichTextAttr |
A class representing enhanced attributes for rich text objects. More... | |
class | wxRichTextProperties |
A simple property class using wxVariants. More... | |
class | wxRichTextFontTable |
Manages quick access to a pool of fonts for rendering rich text. More... | |
class | wxRichTextRange |
This stores beginning and end positions for a range of data. More... | |
class | wxRichTextSelection |
Stores selection information. More... | |
class | wxRichTextDrawingContext |
A class for passing information to drawing and measuring functions. More... | |
class | wxRichTextObject |
This is the base for drawable rich text objects. More... | |
class | wxRichTextCompositeObject |
Objects of this class can contain other objects. More... | |
class | wxRichTextParagraphLayoutBox |
This class knows how to lay out paragraphs. More... | |
class | wxRichTextBox |
This class implements a floating or inline text box, containing paragraphs. More... | |
class | wxRichTextField |
This class implements the general concept of a field, an object that represents additional functionality such as a footnote, a bookmark, a page number, a table of contents, and so on. More... | |
class | wxRichTextFieldType |
The base class for custom field types. More... | |
class | wxRichTextFieldTypeStandard |
A field type that can handle fields with text or bitmap labels, with a small range of styles for implementing rectangular fields and fields that can be used for start and end tags. More... | |
class | wxRichTextLine |
This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line. More... | |
class | wxRichTextParagraph |
This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects. More... | |
class | wxRichTextPlainText |
This object represents a single piece of text. More... | |
class | wxRichTextImageBlock |
This class stores information about an image, in binary in-memory form. More... | |
class | wxRichTextImage |
This class implements a graphic object. More... | |
class | wxRichTextBuffer |
This is a kind of paragraph layout box, used to represent the whole buffer. More... | |
class | wxRichTextCell |
wxRichTextCell is the cell in a table, in which the user can type. More... | |
class | wxRichTextTable |
wxRichTextTable represents a table with arbitrary columns and rows. More... | |
class | wxRichTextTableBlock |
Stores the coordinates for a block of cells. More... | |
class | wxRichTextObjectAddress |
A class for specifying an object anywhere in an object hierarchy, without using a pointer, necessary since wxRTC commands may delete and recreate sub-objects so physical object addresses change. More... | |
class | wxRichTextCommand |
Implements a command on the undo/redo stack. More... | |
class | wxRichTextAction |
Implements a part of a command. More... | |
class | wxRichTextFileHandler |
The base class for file handlers. More... | |
class | wxRichTextPlainTextHandler |
Implements saving a buffer to plain text. More... | |
class | wxRichTextDrawingHandler |
The base class for custom drawing handlers. More... | |
class | wxRichTextBufferDataObject |
Implements a rich text data object for clipboard transfer. More... | |
class | wxRichTextRenderer |
This class isolates some common drawing functionality. More... | |
class | wxRichTextStdRenderer |
The standard renderer for drawing bullets. More... | |
Typedefs | |
typedef unsigned short | wxTextAttrDimensionFlags |
The type for wxTextAttrDimension flags. More... | |
Functions | |
bool | wxRichTextHasStyle (int flags, int style) |
bool | wxTextAttrEq (const wxRichTextAttr &attr1, const wxRichTextAttr &attr2) |
Compare two attribute objects. More... | |
bool | wxRichTextApplyStyle (wxRichTextAttr &destStyle, const wxRichTextAttr &style, wxRichTextAttr *compareWith=NULL) |
Apply one style to another. More... | |
bool | wxRichTextRemoveStyle (wxRichTextAttr &destStyle, const wxRichTextAttr &style) |
bool | wxRichTextCombineBitlists (int &valueA, int valueB, int &flagsA, int flagsB) |
Combine two bitlists. More... | |
bool | wxRichTextBitlistsEqPartial (int valueA, int valueB, int flags) |
Compare two bitlists. More... | |
bool | wxRichTextSplitParaCharStyles (const wxRichTextAttr &style, wxRichTextAttr &parStyle, wxRichTextAttr &charStyle) |
Split into paragraph and character styles. More... | |
bool | wxRichTextTabsEq (const wxArrayInt &tabs1, const wxArrayInt &tabs2) |
Compare tabs. More... | |
wxString | wxRichTextDecimalToRoman (long n) |
Convert a decimal to Roman numerals. More... | |
void | wxTextAttrCollectCommonAttributes (wxTextAttr ¤tStyle, const wxTextAttr &attr, wxTextAttr &clashingAttr, wxTextAttr &absentAttr) |
void | wxRichTextModuleInit () |
Variables | |
const wxChar | wxRichTextLineBreakChar |
The line break character that can be embedded in content. More... | |
#define wxRICHTEXT_ALL wxRichTextRange(-2, -2) |
#define wxRICHTEXT_CACHE_SIZE 0x04 |
#define wxRICHTEXT_DRAW_GUIDELINES 0x08 |
#define wxRICHTEXT_DRAW_IGNORE_CACHE 0x01 |
Flags to pass to Draw.
#define wxRICHTEXT_DRAW_PRINT 0x04 |
#define wxRICHTEXT_DRAW_SELECTED 0x02 |
#define wxRICHTEXT_FIXED_HEIGHT 0x02 |
#define wxRICHTEXT_FIXED_WIDTH 0x01 |
Flags determining the available space, passed to Layout.
#define wxRICHTEXT_FORMATTED 0x01 |
Flags for GetRangeSize.
#define wxRICHTEXT_HANDLER_CONVERT_FACENAMES 0x0100 |
#define wxRICHTEXT_HANDLER_INCLUDE_STYLESHEET 0x0001 |
Handler flags
#define wxRICHTEXT_HANDLER_NO_HEADER_FOOTER 0x0080 |
#define wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64 0x0040 |
#define wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES 0x0020 |
#define wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY 0x0010 |
#define wxRICHTEXT_HEIGHT_ONLY 0x08 |
#define wxRICHTEXT_INSERT_INTERACTIVE 0x02 |
#define wxRICHTEXT_INSERT_NONE 0x00 |
Flags for object insertion.
#define wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE 0x01 |
#define wxRICHTEXT_LAYOUT_SPECIFIED_RECT 0x10 |
#define wxRICHTEXT_NO_SELECTION wxRichTextRange(-2, -2) |
#define wxRICHTEXT_NONE wxRichTextRange(-1, -1) |
#define wxRICHTEXT_SETPROPERTIES_CHARACTERS_ONLY 0x04 |
#define wxRICHTEXT_SETPROPERTIES_NONE 0x00 |
Flags for SetProperties.
#define wxRICHTEXT_SETPROPERTIES_PARAGRAPHS_ONLY 0x02 |
#define wxRICHTEXT_SETPROPERTIES_REMOVE 0x10 |
#define wxRICHTEXT_SETPROPERTIES_RESET 0x08 |
#define wxRICHTEXT_SETPROPERTIES_WITH_UNDO 0x01 |
#define wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY 0x08 |
#define wxRICHTEXT_SETSTYLE_NONE 0x00 |
Flags for SetStyle/SetListStyle.
#define wxRICHTEXT_SETSTYLE_OPTIMIZE 0x02 |
#define wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY 0x04 |
#define wxRICHTEXT_SETSTYLE_REMOVE 0x80 |
#define wxRICHTEXT_SETSTYLE_RENUMBER 0x10 |
#define wxRICHTEXT_SETSTYLE_RESET 0x40 |
#define wxRICHTEXT_SETSTYLE_SPECIFY_LEVEL 0x20 |
#define wxRICHTEXT_SETSTYLE_WITH_UNDO 0x01 |
#define wxRICHTEXT_UNFORMATTED 0x02 |
#define wxRICHTEXT_VARIABLE_HEIGHT 0x08 |
#define wxRICHTEXT_VARIABLE_WIDTH 0x04 |
#define wxSCRIPT_MUL_FACTOR 1.5 |
Default superscript/subscript font multiplication factor.
#define wxTEXT_ATTR_KEEP_FIRST_PARA_STYLE 0x10000000 |
typedef unsigned short wxTextAttrDimensionFlags |
The type for wxTextAttrDimension flags.
enum wxRichTextCommandId |
enum wxRichTextFileType |
Flags returned from hit-testing, or passed to hit-test function.
Border style presence flags, used with wxTextAttrBorder.
Enumerator | |
---|---|
wxTEXT_BOX_ATTR_BORDER_STYLE | |
wxTEXT_BOX_ATTR_BORDER_COLOUR |
Border styles, used with wxTextAttrBorder.
Border width symbols for qualitative widths, used with wxTextAttrBorder.
Enumerator | |
---|---|
wxTEXT_BOX_ATTR_BORDER_THIN | |
wxTEXT_BOX_ATTR_BORDER_MEDIUM | |
wxTEXT_BOX_ATTR_BORDER_THICK |
enum wxTextAttrUnits |
enum wxTextAttrValueFlags |
enum wxTextBoxAttrFlags |
bool wxRichTextApplyStyle | ( | wxRichTextAttr & | destStyle, |
const wxRichTextAttr & | style, | ||
wxRichTextAttr * | compareWith = NULL |
||
) |
Apply one style to another.
bool wxRichTextBitlistsEqPartial | ( | int | valueA, |
int | valueB, | ||
int | flags | ||
) |
Compare two bitlists.
bool wxRichTextCombineBitlists | ( | int & | valueA, |
int | valueB, | ||
int & | flagsA, | ||
int | flagsB | ||
) |
Combine two bitlists.
wxString wxRichTextDecimalToRoman | ( | long | n | ) |
Convert a decimal to Roman numerals.
|
inline |
Utilities
void wxRichTextModuleInit | ( | ) |
bool wxRichTextRemoveStyle | ( | wxRichTextAttr & | destStyle, |
const wxRichTextAttr & | style | ||
) |
bool wxRichTextSplitParaCharStyles | ( | const wxRichTextAttr & | style, |
wxRichTextAttr & | parStyle, | ||
wxRichTextAttr & | charStyle | ||
) |
Split into paragraph and character styles.
bool wxRichTextTabsEq | ( | const wxArrayInt & | tabs1, |
const wxArrayInt & | tabs2 | ||
) |
Compare tabs.
void wxTextAttrCollectCommonAttributes | ( | wxTextAttr & | currentStyle, |
const wxTextAttr & | attr, | ||
wxTextAttr & | clashingAttr, | ||
wxTextAttr & | absentAttr | ||
) |
bool wxTextAttrEq | ( | const wxRichTextAttr & | attr1, |
const wxRichTextAttr & | attr2 | ||
) |
Compare two attribute objects.
const wxChar wxRichTextLineBreakChar |
The line break character that can be embedded in content.