Thanks Chris.

I followed your instruction to generate the pdf. After I open it in
acrobat, under file->document properties->advanced->reading options, the
language option is still blank. Am I missing something?

Please help. Thank you very much.

-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 15, 2008 12:58 PM
To: [email protected]
Subject: Re: language specification for PDF document

Li, Hao wrote:

> Hi All,
> 
> Our goal is: Create a PDF document via FOP with the language set to
> English (en) at the document level.
> 
> Is there a way in Apache FOP to achieve this goal? Does the common
> hyphenation property "language" applicable?

Yes you can specify language property on fo:root element, e.g.

<fo:root language="en">
<fo:layout-master-set>
...
<fo:page-sequence master-reference="a4">
...
</fo:root>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to