covers common needs especially for simple, static fields using text or a bitmap.
Register field types on application initialisation with the static function
- wxRichTextParagraphLayoutBox::AddFieldType. They will be deleted automatically
- on application exit.
+ wxRichTextBuffer::AddFieldType. They will be deleted automatically on
+ application exit.
An application can write a field to a control with wxRichTextCtrl::WriteField,
taking a field type, the properties for the field, and optional attributes.
property editing functionality for a field.
Register field types on application initialisation with the static function
- wxRichTextParagraphLayoutBox::AddFieldType. They will be deleted automatically
- on application exit.
+ wxRichTextBuffer::AddFieldType. They will be deleted automatically on
+ application exit.
@library{wxrichtext}
@category{richtext}
// Accessors
+ int GetColspan() const;
+
+ void SetColspan(long span) { GetProperties().SetProperty(wxT("colspan"), span); }
+
+ int GetRowspan() const;
+
+ void SetRowspan(long span) { GetProperties().SetProperty(wxT("rowspan"), span); }
+
// Operations
virtual wxRichTextObject* Clone() const { return new wxRichTextCell(*this); }