On Mon, May 25, 2009 at 02:46:07PM -0700, Gary Kline wrote:
> 
> guys,
> 

> one thing i need to do before i submit my 600+ page tell-all "novel"
> is fihure out howto turn *this* into italics in Ooo-3.01.  i don't
> think any regular publisher world rish this so it;s a roll-you-own.
> what i submit in doc [or odt] is what gets published.  i can turn
> *this* into /this/, but still can't figure out how to have openoffice
> turn all the words i want italicized into actual italics.
>
> anybody know offhand?

Maybe you can write a macro to do that, assuming you know the
OpenOffice.org macro language.

Otherwise, an opendocument file is actually a zip-file containing several
files. See http://en.wikipedia.org/wiki/OpenDocument_technical_specification

What you can do is unpack this zipfile, and use your favorite text
processing language to replace the '*' with the appropriate XML tags in
the 'content.xml' file. I don't know what the tags for italics
are. So make a small example file and have a peek inside.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpDYTViFWWiU.pgp
Description: PGP signature

Reply via email to