Hi yet again,
I am full of questions today, actually they have been building up as I
try and create an embeddable rich text editor and have been running
into walls.
I noticed while reading the docs about the RichTextCtrl on the wxwidgets site:
http://docs.wxwidgets.org/2.8.6/wx_wxrichtextctrloverview.html#topic13
that they mentioned the Rich Text Style Sheet.
http://docs.wxwidgets.org/2.8.6/wx_wxrichtextstylesheet.html#wxrichtextstylesheet
and its children:
RichTextParagraphStyleDefinition,
http://docs.wxwidgets.org/2.8.6/wx_wxrichtextparagraphstyledefinition.html#wxrichtextparagraphstyledefinition
RichTextListStyleDefinition,
http://docs.wxwidgets.org/2.8.6/wx_wxrichtextliststyledefinition.html#wxrichtextliststyledefinition
and RichTextCharacterStyleDefinition
http://docs.wxwidgets.org/2.8.6/wx_wxrichtextcharacterstyledefinition.html#wxrichtextcharacterstyledefinition
As this fills a much needed need in my application I have tried to use
them, but cannot find them in the wx.richtext namespace. Have these
objects been wrapped? They are referred to in the text RichTextCtrl
demo application, but are not used, and I was wondering if there was a
good reason for this.
It took me browsing on the wxWidgets site to figure out what all the
style methods were asking for when they took a string with the style
name. Now that I have that figured out, it seems I cannot find the
classes themselves to use.
Any help on this would be most appreciated. I have hacked some stuff
up, but this would make a much more flexible and elegant solution.
Thanks,
Rohan