RTF editing widget?
RTF editing widget?
Is there a widget -- doesn't have to be related to wxWidgets but that would be a plus -- that can display a full featured RTF (and/or Word) document, with functionality to edit text (bold, italics, fonts,etc)? Basically, a widget version of something like Abiword that I can embed into my project.
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
Re: RTF editing widget?
don't think so, but the idea is there to create a wxRichTextCtrl, so if you are really interested then we could work out something in the long run.Yapper wrote:Is there a widget -- doesn't have to be related to wxWidgets but that would be a plus -- that can display a full featured RTF (and/or Word) document, with functionality to edit text (bold, italics, fonts,etc)? Basically, a widget version of something like Abiword that I can embed into my project.
If your needs aren't THAT high as having to be equal to abiword then wxTextCtrl or some contrib (stc?) might do the job. Otherwise it'd have to be something non-wx.
I am interested in working on a wxRichTextCtrl class one day, if you're too, let me know.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
hmm, what do you mean by work something out in the long run? While I am interested in seeing an rtf control, i don't think I'm at the place right now where I can really contribute to working on one. I still have a long way to go as far as programming proficiency is concerned.
I don't have to have something that's as advanced as Abiword, I was just using that as an example, but I was hoping for a little more functionality than MS's richview component for example. And wx's cross platform support is desirable.
I don't have to have something that's as advanced as Abiword, I was just using that as an example, but I was hoping for a little more functionality than MS's richview component for example. And wx's cross platform support is desirable.
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
wxTextCtrl is a somewhat richtext editing widget, but it isn't very well suitable to be a WYSIWYG editor as I have experienced on my own. My projects demands weren't really high, so we got away by overloading some of wxTextCtrl's methods to get what we want.
wxTextCtrl lacks proper support for advanced richtext concepts. Indent, margins, tabs, embedded images/widgets, and so on. That's where a wxRichTextCtrl would be in order.
If you need to have a set amount of styling, you can look at the stc contrib that uses scintilla.
That's what you'd want if you are doing something like a source code editor that has a set amount of different styles known (different highlighting of code parts - remarks that color and italized, reserver keywords that color and bold, and so on). If the amount is unlimited due to the user doing WYSIWYG editing, then stc becomes very limited as far I know.
There are other classes available. wxMozilla, some other stuff I haven't had a look on.
Not sure what exactly do you need to accomplish.
wxTextCtrl lacks proper support for advanced richtext concepts. Indent, margins, tabs, embedded images/widgets, and so on. That's where a wxRichTextCtrl would be in order.
If you need to have a set amount of styling, you can look at the stc contrib that uses scintilla.
That's what you'd want if you are doing something like a source code editor that has a set amount of different styles known (different highlighting of code parts - remarks that color and italized, reserver keywords that color and bold, and so on). If the amount is unlimited due to the user doing WYSIWYG editing, then stc becomes very limited as far I know.
There are other classes available. wxMozilla, some other stuff I haven't had a look on.
Not sure what exactly do you need to accomplish.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
I'm using TER from Subsystems (see http://www.subsystems.com/tewf.htm)
It's commercial and Windows-Only. But it is a complete textprocessor control, comes with source in ANSI C and works quite well.
It's commercial and Windows-Only. But it is a complete textprocessor control, comes with source in ANSI C and works quite well.
I'm writing a program that will help me organize my notes and data, mostly for stories and such that I'm developing, I'm a writer. I'll be doing a lot of writing in the program.leio wrote:Not sure what exactly do you need to accomplish.
I was looking at http://www.trichview.com/ for Delphi, that's a pretty good example of what my needs are. But, all things considered, the development costs I was looking at sent me looking for more affordable options, using mostly open source components and tools.
Frank, good god, how did you ever manage to afford it?
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
But there's Writer's CafYapper wrote:I'm writing a program that will help me organize my notes and data, mostly for stories and such that I'm developing, I'm a writer. I'll be doing a lot of writing in the program.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
I'm sure they'll be happy to hear your feedback!
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/