The .htm trick helped a little, but not enough. It didn't work at
all when I tried MS Word.
However, it destroyed the line-feed character so I had to enter that
manually for each line, since I'm forming the lines in the I-O buffer rather
than
in a variable string, and I can't use a constant value. It also seemingly
randomly ignored parts of some of the elements, leaving < and > all over the
page. It printed a couple of lines twice and wouldn't take CSS elements. I'm
not good enough at HTML to figure out what isn't working, nor to get around the
deprecated features, so I'm sort of stuck.
Isn't there a list of text-formatting codes used by OO? At least the
most commonly used features - bold, italic, font-face, font-size, underlined? I
really don't want to involve the HTML editor if I don't have to. Thanks.
Best,
Carl
> Hi Carl,
> From another posting:
> Jallan wrote:
>
> > Graham Smith wrote:
> >
> >> Is it possible to add a formatting text tag when working
> in a text editor
> >> that OOo would recognise when the text file is imported
> into it.
> >>
> >> So in the text file you could type something like "/i
> italicised word/i"
> >> that would then format the words "italicised word" as
> italics in Open
> >> Office.
> >
> >
> >
> > Yes.
> >
> > Use HTML codes and save the file with extension ".HTM" or
> extension ".HTML".
> >
> > For example, a file named FORMAT_TEST.HTML containing the
> text "The quick brown fox jumps over the lazy
> dog." when opened by Writer will display without the
> tags, with the word "fox" in italics, and the word "dog" in
> boldface.
> >
> > This trick also works with MS Word.
> >
> > Jallan
>
>