Hello,

I finally found out what happened.
The draft mode adds a watermarked image as background of the document page, but it also adds "Draft" to the upper right and left corners of the page. By default, there is enough place to add this, but I changed the corresponding property months ago to have the maximum place for the center "cell" in page header:

header.column.widths = "0 1 0"

This configuration leaves no space to the right and left "cells" of the header. Changing this parameters to the following solved my issue:

header.column.widths = "1 4 1"

I changed my FOP version back to 0.94, as it works well now :)

Julien.

-------- Original Message  --------
Subject: Re: [docbook-apps] Draft mode generates FOP warnings
From: Julien BETI <[EMAIL PROTECTED]>
To: John Brown <[EMAIL PROTECTED]>
Cc: [email protected]
Date: Wed May 28 2008 15:41:52 GMT+0200 (CEST)

You are right, I will make simple tests with a "hello world" book. I'm sure there something to do with the parameters I give to the XSL, wich are the following (ant format ;) ):
<param name="admon.graphics" expression="1"/>
<param name="admon.graphics.path" expression="../lib-materials/docbook/images/"/>
<param name="admon.graphics.extension" expression=".svg"/>
<param name="admon.textlabel" expression="0"/>
<param name="body.font.family" expression="sans-serif"/>
<param name="callout.extension" expression="1"/>
<param name="callout.unicode" expression="1"/>
<param name="callout.graphics" expression="0"/>
<param name="callout.graphics.path" expression="../lib-materials/docbook/images/callouts/"/>
<param name="fop1.extensions" expression="1"/>
<param name="header.column.widths" expression="0 1 0"/>
<param name="paper.type" expression="A4"/>
<param name="page.orientation" expression="portrait"/>
<param name="section.autolabel" expression="1"/>
<param name="section.autolabel.max.depth" expression="10"/>
<param name="shade.verbatim" expression="1"/>
<param name="use.extensions" expression="1"/>
<param name="draft.mode" expression="maybe"/>
<param name="draft.watermark.image" expression="../lib-materials/docbook/images/draft_custom.png"/>

I'll keep you informed,

Julien.

-------- Original Message  --------
Subject: Re: [docbook-apps] Draft mode generates FOP warnings
From: John Brown <[EMAIL PROTECTED]>
To: Julien BETI <[EMAIL PROTECTED]>
Cc: [email protected]
Date: Wed May 28 2008 14:35:46 GMT+0200 (CEST)

Julien BETI wrote:
Hello,

I still have the same issue with fop 0.95beta and fop trunk revision 660694.
The selected paper size is A4, but setting it back to default USLetter
does not solve the issue either.

Any hints ?

Thanks & regards

Julien.



Nothing specific. Does it happen all the time, even if you write a simple "Hello, world" document?
_________________________________________________________________
Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause
---------------------------------------------------------------------
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]



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

Reply via email to