I use a watermark for generated draft pdf documents.
I accomplished this with a background image, which isn't a true watermark,
but is adequate for the purpose.
Snip...
fo:simple-page-master master-name=formal xsl:use-attribute-sets=master
fo:region-body margin-top=2.8in
xsl:attribute name=background-image
xsl:textwatermark_draft.gif/xsl:text
/xsl:attribute
/fo:region-body
/fo:simple-page-master
/fo:layout-master-set
On Fri, 16 Apr 2004, Koes, Derrick
([EMAIL
To keep items within a row together, I use keep-together=always on
table-row elements. This seems to work reasonably well. To keep rows
together, I use keep-with-next=always on table-row elements. I've had
varying degrees of success with this, mostly I suspect due to cockpit error.
If my image is centered, how do I get the next line (of
text) to start at the left edge of the image?
Thanks,
Derrick
This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by
I know that opacity is a problem as evidenced known problem
6.
http://xml.apache.org/fop/graphics.html#svg-problems
However, does anyone know why?
I attempted to work around this issue by converting the image first to png (tried tiff and jpeg too). The opacity is there with png, but
: Koes, Derrick
[mailto:[EMAIL PROTECTED]
Sent: 31 October 2003 13:26
To: '[EMAIL PROTECTED]'
Subject: Opacity in SVG graphics
on PDF documents.
I know that opacity is a problem as
evidenced known problem 6.
http://xml.apache.org/fop/graphics.html#svg-problems
However, does anyone know why? I
What is the correct way to do image scaling?
I want to fit a 3inX6in image into a 3inX3in block.
This means that the 6in should become 3in and the 3in should
be 1.5in.
Thanks,
Derrick
This electronic transmission is strictly confidential to Smith & Nephew and intended
Subject: RE: image scaling
use 100% for the side you
want to scale. In the below example, set the 6 dimension to
3inches, and the other dimension to 100%
(This works in Fop
0.20.5, but I don't believe it did in 0.20.4)
-Original Message-
From: Koes, Derrick
[mailto:[EMAIL
, August 04, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: Re: image scaling
Koes, Derrick wrote:
What is the correct way to do image scaling?
I want to fit a 3inX6in image into a 3inX3in block.
This means that the 6in should become 3in and the 3in should be 1.5in.
You probably don't have to do
I've already posted this to the Adobe forum, but I
thought it couldn't hurt posting it here too.
Adobe Reader 6.0 causes Internet Explorer to encounter
a problem opening a pdf (streamed from a servlet) on some occasions. Changing the preference setting to open
in an acrobat window will
Control, no-cache. I changed them to use
an expiry date instead.
I hope this helps.
Celine
-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2003 16:06
To: '[EMAIL PROTECTED]'
Subject: Adobe Reader 6.0 problem
I've already posted
Has anyone been able to include dicom images in a pdf generated with fo?
This electronic transmission is strictly confidential to Smith Nephew and
intended solely for the addressee. It may contain information which is
covered by legal, professional or other privilege. If you are not the
]
Sent: Thursday, June 05, 2003 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: dicom images
--- Koes, Derrick [EMAIL PROTECTED]
wrote:
Has anyone been able to include dicom images in a
pdf generated with fo?
You mean DICOM? Medical imaging? Which modality?
I think you will have to extract them
Remove child fo:block id=last-page/ from the fo:static-content parent.
Add fo:block id=last-page to parent fo:flow as the one and only child
(encompasses every other child that is currently in fo:flow). Add the end
tag for the fo:block just before the /fo:flow.
BTW, this is an FAQ.
Correction:
Add fo:block id=last-page/ as the LAST child of fo:flow, don't wrap
everything. My apologies.
-Original Message-
From: Koes, Derrick
Sent: Tuesday, April 08, 2003 1:43 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Page number
Remove child fo:block id=last-page/ from
color
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 07, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: font color
Hai,
I need to add color to the text,is there any attribute like font-color,if
not could anyone tell me how to do it.
Thanks
vikram
What does it mean if my debug log shows total memory used as negative?
Overflow? Can I change the memory parameters for FOP specifically if I'm
running embedded?
Thanks,
Derrick
This electronic transmission is strictly confidential to Smith Nephew and
intended solely for the addressee. It
Does the org.apache.avalon.framework.logger.Logger
class exist in the Avalon jar? Unjar it and check.
-Original Message-
From: Tammy Feichtel
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March
20, 2003 11:34 AM
To: [EMAIL PROTECTED]
Subject:
java.lang.NoClassDefFoundError:
Are you doing something like:
Log4JLogger log4j = new Log4JLogger(logger);
MessageHandler.setScreenLogger(log4j);
-Original Message-
From: Tammy Feichtel
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003
12:05 PM
To: [EMAIL PROTECTED]
Subject: RE:
Successfully using 0.20.5rc2 embedded with
J2SDK 1.4.1_01 from Sun.
-Original Message-
From: Tammy Feichtel
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March
20, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: Where is BufferManager
Hi all!
I have just upgrated to FOP
Post the code snippet.
-Original Message-
From: Tammy Feichtel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 2:17 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Where is BufferManager
I don't even have an old release on my system! The only other version I
had
]
Subject: Re: org.apache.fop.apps.FOPException: root must be root element
Koes, Derrick wrote:
org.apache.fop.apps.FOPException: root must be root element
at org.apache.fop.fo.pagination.Root.(Root.java:52)
I get this exception only very, very intermittently when I'm rendering to
PDF
The web.xml in the web app does not adhere to the DTD.
Look at the servlet-mapping element in the web.xml. Is it and its children
in the correct place according to the DTD?
-Original Message-
From: Adam Shelley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:34 PM
To:
1. Is there anyway to ensure the last page of my rendered PDF document is a
full page so that my background-image is seen in its entirety?
2. Is there anyway I can guarantee a block is the next item, moving up the
page, from the footer, even if it means it will be on a page by itself?
Thanks,
I'm using 0.20.5rc2. I'm getting:
Couldn't find hyphenation pattern en_US
Error building hyphenation tree for language en
I didn't get this with version 0.20.4.
Can anyone help?
Thanks,
Derrick
This electronic transmission is strictly confidential to Smith Nephew and
intended solely for
I'm running fop 0.20.5rc.
I understand that I need to configure FOP through the use of the
org.apache.fop.configuration.Configuration class. I have done this by
setting baseDir to http://koes/dora. This is the base URL for my web
application.
How do I pick up images? I've tried setting the
Interestingly enough, putting the background-image attribute as a real
attribute of fo:block in the transform produces the desired result.
However, adding it with an xsl:attribute element does not produce the
desired result.
I think I need to use xsl:attribute because I want to add/set the
I see the example at http://www.zvon.org/HowTo/Output/howto_jj_fo_13.html
works as expected. Also, I've created a small example that works as
expected (see small_example.zip). However, in the production code, the
text in the inline gets the correct attributes (color and so on), but always
I'm running Tomcat 4.1.18 with Apache HTTP 2.0.43 and FOP 0.20.4.
In a browser I can get to http://koes/dora/images/draft.jpg (after
authenticating). However, if I authenticate to my web application and try
to render an fo to pdf using this url for a background-image, I get the
following error.
The fop processor puts content in fo:inline elements on a new line (also
indents). Shouldn't the purpose of this tag be to actually put something in
line with something else?
I don't think I understand the purpose of fo:inline. Can someone explain?
Also, can someone explain how to actually put
Does anyone know what this exception is or how it is caused?
Thanks,
Derrick
/**
* Contact information.
*/
public class INFO
{
static final String NAME = Derrick Koes;
String title = Senior Software Engineer;
String company = Smith + Nephew Endoscopy;
URL companyURL = new
On Fri, 2002-11-22 at 02:21, Koes, Derrick wrote:
Oh yeah, here's the stack trace. Looks like ArrayIndexOutOfBounds, but
I've
been running this same code for weeks. Hmmm...
This looks like a threading problem with image loading.
I believe this is fixed and will be solved in the next release
Set table attribute table-omit-header-at-break=false.
-Original Message-
From: Evraire, Jonathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 1:55 PM
To: '[EMAIL PROTECTED]'
Subject: Repeating table headers accross pages
Hi,
how would I get table headers to repeat
You may want to try white-space-collapse=false as an attribute on your
fo:block. There are also other white space attributes that may be useful.
I'm not sure if all are supported in fop 0.20.4.
-Original Message-
From: Stephen Haberman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November
34 matches
Mail list logo