Re: RTF-to-ASCII Conversion

From: delphis96 (delphis96_at_discussions.microsoft.com)
Date: 06/25/04


Date: Fri, 25 Jun 2004 08:43:23 -0700

I am working with a developer to create a document generating database. VB front end and Oracle back end. You guess correctly, we have Rich Text Boxes on the data input screens, where formatting is entered, and I am trying to figure out the easiest way of storing that in Oracle. I had looked at RTF-2-HTML converters, and someone suggested "Converting to ASCII" to store the information in Oracle. This didn't make sense to me, so I was asking how one could accomplish saving the text and formatting into Oracle.

Ultimately the Rich Text Boxes are used to populate a document in MS-Word which is then converted to .pdf. This is why the formatting is critical.

So, I want to make sure I am clear, your suggestion/solution is to store the RTF properties in Oracle.

-- 
Regards,
JBM
"Jeff Johnson [MVP: VB]" wrote:
> 
> "delphis96" <delphis96@discussions.microsoft.com> wrote in message
> news:342DD5AF-1776-4159-80EC-F12D3920144D@microsoft.com...
> 
> > If a RTF field is converted to ASCII text (in order to be stored in an
> > Oracle database), is formatting also saved in this string (i.e. bold,
> italic,
> > bullets, indent, etc.)?
> 
> Your question contradicts itself, sort of. For one thing, RTF itself is
> composed of nothing but ASCII characters, so I don't know exactly what you
> mean by "converted to ASCII text." For another, what most of us would think
> of when we hear "ASCII text" suggests NO formatting, so your question
> answers itself.
> 
> If you're using a Rich Text Box and you WANT to preserve the formatting, you
> need to save the TextRTF property to a character field on Oracle and then
> read that data back in to the same property. However, you didn't state that
> that's what you're using, so I'm having to make guesses.
> 
> 
> 


Relevant Pages

  • Re: REPORT FORM xxx TO FILE yyy ASCII (VFP6)
    ... If you want ASCII, you get ASCII. ... > 1) if I'm still designing the report, I want to MODIFY REPORT and then ... > from one of the menu pads in the Report Designer - either from Preview, ... > 2) ASCII loses all formatting, such as fonts, bold/italic, lines. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: RTF-to-ASCII Conversion
    ... > Oracle database), is formatting also saved in this string (i.e. bold, ... Your question contradicts itself, sort of. ... composed of nothing but ASCII characters, so I don't know exactly what you ...
    (microsoft.public.vb.general.discussion)
  • Man page viewing problems
    ... issues (or manpages on groff) ... Formatting page, please wait.../usr/bin/groff: can't find `DESC' file ... /usr/bin/groff:fatal error: invalid device `ascii' ...
    (freebsd-questions)
  • Re: Words default formatting for .TXT files
    ... From Webopedia: ... ASCII ... text files contain to formatting, so Word must supply all the ...
    (microsoft.public.word.conversions)
  • Re: Using a bookmark and applying a switch to it
    ... It would be a simple task to create a macro that iterated through the cells ... The following code will apply currency formatting to the numbers in the ... Unfortunately, I don't currently have an Oracle DBMS to test things with, ... Selecting F9 does not show the Mergefield codings. ...
    (microsoft.public.word.mailmerge.fields)