RE: add watermark to generated PDF using FOP

2004-04-16 Thread Koes, Derrick
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

RE: RE: add watermark to generated PDF using FOP

2004-04-16 Thread Koes, Derrick
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

RE: Page breaks keeps

2004-02-23 Thread Koes, Derrick
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.

alignment question

2004-02-02 Thread Koes, Derrick
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

Opacity in SVG graphics on PDF documents.

2003-10-31 Thread Koes, Derrick
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

RE: Opacity in SVG graphics on PDF documents.

2003-10-31 Thread Koes, Derrick
: 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

image scaling

2003-08-04 Thread Koes, Derrick
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

RE: image scaling

2003-08-04 Thread Koes, Derrick
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

RE: image scaling

2003-08-04 Thread Koes, Derrick
, 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

Adobe Reader 6.0 problem

2003-07-11 Thread Koes, Derrick
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

RE: Adobe Reader 6.0 problem

2003-07-11 Thread Koes, Derrick
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

dicom images

2003-06-05 Thread Koes, Derrick
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

RE: dicom images

2003-06-05 Thread Koes, Derrick
] 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

RE: Page number

2003-04-08 Thread Koes, Derrick
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.

RE: Page number--Correction

2003-04-08 Thread Koes, Derrick
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

RE: font color

2003-04-07 Thread Koes, Derrick
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

Total memory used negative

2003-03-20 Thread Koes, Derrick
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

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/l ogger/Logger

2003-03-20 Thread Koes, Derrick
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:

RE: java.lang.NoClassDefFoundError: org/apache/avalon/framework/l ogger/Logger

2003-03-20 Thread Koes, Derrick
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:

RE: Where is BufferManager

2003-03-20 Thread Koes, Derrick
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

RE: Where is BufferManager

2003-03-20 Thread Koes, Derrick
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

RE: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Koes, Derrick
] 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

RE: Installing to FOP / Tomcat

2003-03-12 Thread Koes, Derrick
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:

last page, full page

2003-03-07 Thread Koes, Derrick
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,

hyphenation pattern

2003-02-27 Thread Koes, Derrick
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

specify a base URL for images

2003-01-28 Thread Koes, Derrick
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

background-image question

2003-01-28 Thread Koes, Derrick
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

fo:inline question follow-up

2003-01-22 Thread Koes, Derrick
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

Error using images served by tomcat through apache HTTP server

2003-01-22 Thread Koes, Derrick
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.

fo:inline question

2003-01-21 Thread Koes, Derrick
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

FOPException 921600

2002-11-22 Thread Koes, Derrick
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

RE: FOPException 921600

2002-11-22 Thread Koes, Derrick
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

RE: Repeating table headers accross pages

2002-11-06 Thread Koes, Derrick
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

RE: breaking paragraphs and lines

2002-11-05 Thread Koes, Derrick
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