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
RichEdit and styles questions [message #21514] Sun, 24 May 2009 00:36 Go to previous message
koldo is currently offline  koldo
Messages: 3023
Registered: August 2008
Ultimate Member
Hello all

First question
Using UWord demo it is not possible to set one line with more than one style, but if I change the QTF file by hand, UWord opens the file properly:

index.php?t=getfile&id=1736&private=0

Do you know if it is possible to do this directly in UWord or by adding something?


Second question
I would like to parse the RichEdit text but focusing in the styles. For example text with "Default" style would be copied unchanged but text with "Formula" style would be converted into a mathematical formula, like converting:

Quote:

integral(sqrt(cos(phi_ini^2)) + i^2 + 6, i = 1, 10)*dx = cos((27+x^2)^3.25)/(PI*R_0^2)


in the equivalent formula:

index.php?t=getfile&id=1737&private=0

Do you know how to do this "the simple way" instead of parsing directly the QTF bytes?.

Best regards
Koldo
  • Attachment: window.JPG
    (Size: 49.02KB, Downloaded 720 times)
  • Attachment: math.JPG
    (Size: 4.56KB, Downloaded 727 times)


Best regards
IƱaki
 
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: Wed Nov 13 01:31:16 CET 2019

Total time taken to generate the page: 0.01822 seconds