I just save the styleEditFld's text (readable text) and style info
(binary data, usually I EncodeBase64 it to send to a PostgreSQL
back-end server) in 2 separate DB fields, then recombine these whenever
the field contents need to be read in. Quite easy and reliable.
Peter.
On 4 Jan 2005, at 7:50 AM, Adam Ernst wrote:
On Jan 3, 2005, at 10:30 PM, beto wrote:
Hi Rich,
If you are trying to save a styled text in a REALdatabase, someone
here mention something about converting it to RTF. I did not know
how to do the conversion but I am still interesting on saving styled
text in a REALdatabase. Let me know if you find out how.
Well, you could use my StyledTextToRTF classes:
www.cosmicsoft.net/RB/StyledTextToRTF.html
However, to get the RTF data back to REALbasic StyledText, you'd need
to use the Belle-Nuit RTFParser:
http://www.belle-nuit.com/realbasic/rtfparser.html
Adam Ernst
cosmicsoft
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
------------------------------------------------------------------------
-------
Peter K. Stys, MD
Professor of Medicine, Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel: (613)761-5444
fax: (613)761-5330
http://www.ohri.ca/profiles/stys.asp
------------------------------------------------------------------------
-------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|