You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Kerry, Richard" <ri...@siemens.com> on 2008/09/19 12:29:04 UTC
Draft Mode background image - should it work in off-the-shelf fop ?
I've recently been trying to produce a draft version of a document,
originating in DocBook.
I am now reasonably confident that fop can read draft.png from
SourceForge. Initially it was failing to do so but since I've told Java
to use a proxy (using -Dhttp.proxyHost and -Dhttp.proxyPort) it's
stopped complaining that it can't. However, I am not seeing the
background watermark, nor any 'Draft' strings in the corners which I
think I've read should be there.
Should I expect all this to happen with an off-the-shelf Fop 0.95 ? The
documentation suggests there may be some extra downloads needed for
graphics functionality but this shouldn't be an issue for the 'Draft'
strings in the corners should it ? Is it an issue for the watermark ?
Uncetainly,
Richard.
Richard Kerry
Colledia Control Engineer
Siemens IT Solutions and Services Ltd
Room 457 Drama Building, BBC Television Centre, Wood Lane, London, W12
7RJ
T: +44 (0)20 82259063 F: +44 (0)20 8576 8182 M: +44 (0)7921 244993
Email: richard.kerry@siemens.com
<bl...@siemens.com>
Website: www.siemens.co.uk/it-solutions
<blocked::outbind://47/www.siemens.co.uk/it-solutions>
This e-mail contains confidential information and is for the exclusive
use of the addressee/s. If you are not the addressee, then any
distribution, copying or use of this e-mail is prohibited. If received
in error, please advise the sender and delete it immediately. We accept
no liability for any loss or damage suffered by any person arising from
use of this e-mail.
Siemens IT Solutions and Services Limited
Registered No: 1203466 England
Registered Office: Faraday House, Sir William Siemens Square, Frimley,
Camberley, GU16 8QD
Re: Draft Mode background image - should it work in off-the-shelf fop ?
Posted by John Brown <jo...@hotmail.com>.
Kerry, Richard <richard.kerry <at> siemens.com> writes:
>
>
> And - the documentation for draft.watermark.image says it's a URI; doesn't
that mean it's not
> /path/to/local/image-file but file:///path/to/local/image-file (actually
> file:///C:/path/to/local/image-file.png as this is on Windows)
>
> Uncertainly,
> Richard.
>
I see that you have solved your problem, but for what it's worth,
you are probably right. I've never tested it.
I usually keep my images in a directory within the directory
containing the XML source, so that I can use relative paths
such as images/draft.png.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Draft Mode background image - should it work in off-the-shelf fop ?
Posted by John Brown <jo...@hotmail.com>.
Kerry, Richard <richard.kerry <at> siemens.com> writes:
>
>
>
>
> I've recently been
> trying to produce a draft version of a document, originating in
> DocBook.
>
<snip/>
>
However, I am not seeing the background watermark, nor any 'Draft'
> strings in the corners which I think I've read should be
> there.
>
>
<snip/>
>
> Uncetainly,
> Richard.
>
>
>
Set the draft.mode parameter to yes. If you want to use a local image
as the watermark, set draft.watermark.image to /path/to/local/image-file.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org