Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » RichEdit and styles questions
Re: RichEdit and styles questions [message #21539 is a reply to message #21538] Mon, 25 May 2009 22:02 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Mon, 25 May 2009 12:44

Hello luzr

Sorry, I am going to explain it better.

The idea I had is to insert equations in Qtf text using a "poor man" approach. Instead of creating a full featured equation editor (perhaps some day) I thought to insert the text and equations in text following certain format, but selecting with a "Formula" style the formulas.



Well, the equation of text can be the content of your RichObject. I believe that is the most simple approach.

RichObjects can be edited and you can add "Insert equation" button. Both will lead to "editor" where you just edit the text and perhaps see the preview.

Quote:


Quote:

The problem is that it is PARAGRAPH style...


(I have done the first bitmap Before.jpg by modifying the Qtf file by hand)



Yes, but it is sort of bug (it is "undefined" to use style for just part of paragraph). In any case, RichText would not work with such thing correctly no matter what (because style is remembered only one per whole paragraph).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: viewing html
Next Topic: Editor Toolbar
Goto Forum:
  


Current Time: Sat Apr 20 09:35:15 CEST 2024

Total time taken to generate the page: 0.06402 seconds