Can I use OODoc to create a paragraph with a mix of bold and normal text?
- From: "Dave" <daveandniki@xxxxxxxxxxxx>
- Date: Wed, 01 Jun 2005 10:46:45 GMT
I have a fairly complex Perl script that reads in data from an XML file
processes it and writes it to a text file. This works well. I now wish to
make some words bold, italic, superscript etc. On a Win32 platform I could
automate MSWord to do this but I would like it to be portable, so I would
prefer to produce an OOo document.
I have installed the OODoc module tested it. All fine
I have found the documentation sparse and confusing and cannot fathom how to
make it append formatted text to a paragraph. I want to say 'append this
string in bold', 'append this string in italics', 'append this string as a
superscript' etc. I assume I need to use the 'appendText' method with
appropriate options but I can't see an example of its usage.
Can suggest the syntax I need?
Would I be better off using RTF::Writer?
Dave
.
- Follow-Ups:
- Prev by Date: Editors that use Perl as their macro language
- Next by Date: Re: Editors that use Perl as their macro language
- Previous by thread: Editors that use Perl as their macro language
- Next by thread: Re: Can I use OODoc to create a paragraph with a mix of bold and normal text?
- Index(es):
Relevant Pages
|