U++ framework
Do not panic. Ask here before giving up.

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: 3459
Registered: August 2008
Senior Veteran
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 1481 times)
  • Attachment: math.JPG
    (Size: 4.56KB, Downloaded 1481 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 May 20 14:36:28 GMT+2 2026

Total time taken to generate the page: 0.00559 seconds