#include <wx/richtext/richtextbuffer.h>
A class representing the box attributes of a rich text object.
<>< =''>:</>&;&;< =''>\ </></>
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Adds this flag.
bool wxTextBoxAttr::Apply | ( | const wxTextBoxAttr & | style, |
const wxTextBoxAttr * | compareWith = NULL |
||
) |
Merges the given attributes.
If compareWith is non-NULL, then it will be used to mask out those attributes that are the same in style and compareWith, for situations where we don't want to explicitly set inherited attributes.
void wxTextBoxAttr::CollectCommonAttributes | ( | const wxTextBoxAttr & | attr, |
wxTextBoxAttr & | clashingAttr, | ||
wxTextBoxAttr & | absentAttr | ||
) |
Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects.
bool wxTextBoxAttr::EqPartial | ( | const wxTextBoxAttr & | attr, |
bool | weakTest = true |
||
) | const |
Partial equality test, ignoring unset attributes.
If weakTest is true, attributes of this object do not have to be present if those attributes of attr are present. If weakTest is false, the function will fail if an attribute is present in attr but not in this object.
|
inline |
Returns the borders.
|
inline |
|
inline |
Returns the bottom position.
|
inline |
|
inline |
Returns the bottom border.
|
inline |
|
inline |
Returns the bottom margin.
|
inline |
|
inline |
Returns the bottom outline.
|
inline |
|
inline |
Returns the bottom padding value.
|
inline |
|
inline |
Returns the clear mode - whether to wrap text after object.
Currently unimplemented.
|
inline |
Returns the collapse mode - whether to collapse borders.
|
inline |
Returns the flags.
|
inline |
Returns the float mode.
|
inline |
Returns the object height.
|
inline |
|
inline |
Returns the left position.
|
inline |
|
inline |
Returns the left border.
|
inline |
|
inline |
Returns the left margin.
|
inline |
|
inline |
Returns the left outline.
|
inline |
|
inline |
Returns the left padding value.
|
inline |
|
inline |
Returns the margin values.
|
inline |
|
inline |
Returns the object maximum size.
|
inline |
|
inline |
Returns the object minimum size.
|
inline |
|
inline |
Returns the outline.
|
inline |
|
inline |
Returns the padding values.
|
inline |
|
inline |
Returns the position.
|
inline |
|
inline |
Returns the right position.
|
inline |
|
inline |
Returns the right border.
|
inline |
|
inline |
Returns the right margin.
|
inline |
|
inline |
Returns the right outline.
|
inline |
|
inline |
Returns the right padding value.
|
inline |
|
inline |
Returns the object size.
|
inline |
|
inline |
Returns the top position.
|
inline |
|
inline |
Returns the top border.
|
inline |
|
inline |
Returns the top margin.
|
inline |
|
inline |
Returns the top outline.
|
inline |
|
inline |
Returns the top padding value.
|
inline |
|
inline |
Returns the vertical alignment.
|
inline |
Returns the object width.
|
inline |
|
inline |
Returns true if the box style name is present.
|
inline |
Returns true if we have a clear flag.
|
inline |
Returns true if the collapse borders flag is present.
|
inline |
Is this flag present?
|
inline |
Returns true if float mode is active.
|
inline |
Returns true if a vertical alignment flag is present.
|
inline |
Initialises this object.
bool wxTextBoxAttr::IsDefault | ( | ) | const |
Returns true if no attributes are set.
|
inline |
Returns true if this object is floating.
bool wxTextBoxAttr::operator== | ( | const wxTextBoxAttr & | attr | ) | const |
Equality test.
|
inline |
Removes this flag.
bool wxTextBoxAttr::RemoveStyle | ( | const wxTextBoxAttr & | attr | ) |
Removes the specified attributes from this object.
void wxTextBoxAttr::Reset | ( | ) |
Resets this object.
|
inline |
Set the clear mode.
Currently unimplemented.
|
inline |
Sets the collapse mode - whether to collapse borders.
|
inline |
Sets the float mode.
|
inline |
Sets the object maximum size.
|
inline |
Sets the object minimum size.
|
inline |
Sets the object size.
|
inline |
Sets the vertical alignment.
wxTextAttrBorders wxTextBoxAttr::m_border |
wxString wxTextBoxAttr::m_boxStyleName |
wxTextBoxAttrClearStyle wxTextBoxAttr::m_clearMode |
wxTextBoxAttrCollapseMode wxTextBoxAttr::m_collapseMode |
int wxTextBoxAttr::m_flags |
wxTextBoxAttrFloatStyle wxTextBoxAttr::m_floatMode |
wxTextAttrDimensions wxTextBoxAttr::m_margins |
wxTextAttrSize wxTextBoxAttr::m_maxSize |
wxTextAttrSize wxTextBoxAttr::m_minSize |
wxTextAttrBorders wxTextBoxAttr::m_outline |
wxTextAttrDimensions wxTextBoxAttr::m_padding |
wxTextAttrDimensions wxTextBoxAttr::m_position |
wxTextAttrSize wxTextBoxAttr::m_size |
wxTextBoxAttrVerticalAlignment wxTextBoxAttr::m_verticalAlignment |