+// Image align/floating
+#define wxRICHTEXT_LEFT 0x00
+#define wxRICHTEXT_CENTRE 0x01
+#define wxRICHTEXT_RIGHT 0x02
+
+#define wxRICHTEXT_FLOAT_NONE 0x00
+#define wxRICHTEXT_FLOAT_LEFT 0x01
+#define wxRICHTEXT_FLOAT_RIGHT 0x02
+
+// Image width/height scale
+#define wxRICHTEXT_PX 0x00
+#define wxRICHTEXT_MM 0x01
+
+/*!
+ * wxRichTextAnchoredObjectAttr class declaration
+ */
+class WXDLLIMPEXP_RICHTEXT wxRichTextAnchoredObjectAttr
+{
+public:
+ wxRichTextAnchoredObjectAttr() { Init(); }
+ wxRichTextAnchoredObjectAttr(const wxRichTextAnchoredObjectAttr& attr) { Copy(attr); }
+
+ void Init();
+
+ void operator= (const wxRichTextAnchoredObjectAttr& attr) { Copy(attr); }
+ void Copy(const wxRichTextAnchoredObjectAttr& attr);
+
+ /// Is this anchored? TODO: difference between anchored and floating?
+ bool IsAnchored() const { return m_floating != wxRICHTEXT_FLOAT_NONE; }
+
+ /// Is this floating?
+ bool IsFloating() const { return m_floating != wxRICHTEXT_FLOAT_NONE; }
+ void SetFloatingMode(int floating) { m_floating = floating; }
+
+ int GetAlignment() const { return m_align; }
+ void SetAlignment(int align) { m_align = align; }
+
+ int GetOffset() const { return m_offset; }
+ void SetOffset(int offset) { m_offset = offset; }
+
+ int GetUnitsOffset() const { return m_unitsOffset; }
+ void SetUnitsOffset(int offset) { m_unitsOffset = offset; }
+
+ int GetUnitsW() const { return m_unitsW; }
+ void SetUnitsW(int u) { m_unitsW = u; }
+
+ int GetUnitsH() const { return m_unitsH; }
+ void SetUnitsH(int u) { m_unitsH = u; }
+
+ int GetWidth() const { return m_width; }
+ void SetWidth(int w) { m_width = w; }
+
+ int GetHeight() const { return m_height; }
+ void SetHeight(int h) { m_height = h; }
+
+ int m_align;
+ int m_floating;
+ int m_offset;
+ int m_unitsOffset;
+ int m_unitsW, m_unitsH;
+ int m_width, m_height;
+};
+