docbook-apps

  • 1.  Draft mode generates FOP warnings

    Posted 05-27-2008 14:12
    Hello,

    I have a question around the draft mode.
    Once activated, I do have the watermarked image on the generated PDF,
    but I also have a lot of warnings from FOP like:

    [fop] WARNING: Line 1 of a paragraph overflows the available area.
    (fo:block, location: 2183/2412).

    I tried to resize/scale draf.png but it did not removed the warnings.
    Does somebody knows how to solve this? Of course, removing the draft
    mode removes the warnings

    Thanks and Regards,

    Julien.
    http://www.jujunie.com



  • 2.  RE: [docbook-apps] Draft mode generates FOP warnings

    Posted 05-27-2008 16:48

    Julien BETI wrote:
    >
    > Hello,
    >
    > I have a question around the draft mode.
    > Once activated, I do have the watermarked image on the generated PDF,
    > but I also have a lot of warnings from FOP like:
    >
    > [fop] WARNING: Line 1 of a paragraph overflows the available area.
    > (fo:block, location: 2183/2412).
    >
    > I tried to resize/scale draf.png but it did not removed the warnings.
    > Does somebody knows how to solve this? Of course, removing the draft
    > mode removes the warnings
    >
    > Thanks and Regards,
    >
    > Julien.
    > http://www.jujunie.com
    >

    What version of FOP are you using? I think it used to happen to me, but
    not anymore. I am using fop-trunk revision 653186.
    _________________________________________________________________
    Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
    http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount


  • 3.  Re: [docbook-apps] Draft mode generates FOP warnings

    Posted 05-27-2008 17:49
    Hello,

    Thank you for your answer.

    I am using FOP version 0.94. To be honest, I'm not quite confident in
    using the trunk version :s I will try with version 0.95beta and I'll
    keep you informed.

    Regards,

    Julien.
    http://www.jujunie.com




  • 4.  Re: [docbook-apps] Draft mode generates FOP warnings

    Posted 05-28-2008 10:31
    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.


    Julien BETI wrote:
    > Hello,
    >
    > Thank you for your answer.
    >
    > I am using FOP version 0.94. To be honest, I'm not quite confident in
    > using the trunk version :s I will try with version 0.95beta and I'll
    > keep you informed.
    >
    > Regards,
    >
    > Julien.
    > http://www.jujunie.com
    >
    >


  • 5.  RE: [docbook-apps] Draft mode generates FOP warnings

    Posted 05-28-2008 12:36

    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


  • 6.  Re: [docbook-apps] Draft mode generates FOP warnings

    Posted 05-28-2008 13:42
    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 ;) ):

    expression="../lib-materials/docbook/images/"/>






    expression="../lib-materials/docbook/images/callouts/"/>









    expression="../lib-materials/docbook/images/draft_custom.png"/>

    I'll keep you informed,

    Julien.




  • 7.  Re: [docbook-apps] [SOLVED] Draft mode generates FOP warnings

    Posted 05-29-2008 12:00
    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.