I used iText recently; pretty simple.
package org.ahss.acc.pdftools;
import java.io.*;
import com.lowagie.text.*;
import java.awt.Color;
import com.lowagie.text.pdf.*;
import java.util.*;
public class PdfFileManipulator {
public PdfFileManipulator() {}
public static void cat(ArrayList
I'm using a Tomcat servelt to generate multiple PDF's at one time. This
represents a report with a bunch of attachments. The header and footer
information varies and I may need to vary page layout. I would prefer to
generate each PDF separately (using XML and XSLT with FOP) rather that one
big
to allow users to hand-write additional information as
required. An example is attached.
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 3:12 PM
To: [EMAIL PROTECTED]
Subject: Re: background lines
Importance: Low
Sells, Fred wrote:
I need
: background lines
Importance: Low
Sells, Fred wrote:
I need to print a form where there are lines to aid in hand-writing
additions to the printed information. I have used background-image= to
put
lines where I don't print content and this works.
However the file size is doubled
I need to print a form where there are lines to aid in hand-writing
additions to the printed information. I have used background-image= to put
lines where I don't print content and this works.
However the file size is doubled by the background image and it seems that
it does not repeat a single
I need to put horizontal lines on my PDF so the user can write more stuff on
the printout.
I tried using a background image. It looked good but doubled the size of my
PDF. Seemed like fop was generating multiple copies of image. Our users
have low-end computers and printers and a 30 page
according to the O'reilly book, the only way to increment a variable is to
call a template recursively. I think I've seen an example of what you want
where they used a count and the mod function to alternate row color, but
don't recall the code.
-Original Message-
From: Ramon Maria
not sure, but you don't specify color, try adding that.
-Original Message-
From: Ganesh [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: XSL-FO - page borders [spam-BCC][Faked From
Address][html-removed]
Hi,
It will be great if you
I never got it to work at all; good to know the commercial one also failed,
I was going to try that next.
let me know if you solve this
[EMAIL PROTECTED]
-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 4:13 PM
To: [EMAIL PROTECTED]
I'm hardly an expert on this, but what I do is.
1. create a jdom tree representing my data
2. write the jdom tree to XML using it's built-in output generators
3. hand write an xsl file
4. pass the xsl and xml to fop
I realize that I can skip step 2 and do this part internally, but I had
trouble
I have not been able to get position-absolute to work for block-container,
using the latest release of fop.
I've tried every permutation and combination I could think of.
Should it work?
If so, could someone provide a working snippet?
tia
Fred Sells
I need to use absolute-position to put an address in the right spot for a
window envelope. I tried the following using fop 0.20.5. I cannot seem to
get it to move from the top-left corner of the flow. What am I missing?
fo:flow flow-name=xsl-region-body font-size=12pt
xsl:for-each
you have a space after the word left
-Original Message-
From: Francisco GarcĂa Leal [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 8:04 AM
To: [EMAIL PROTECTED]
Subject: text align on the left in a table-cell [adr][Faked From
Address][html-removed]
Hello.
I have a table and
XMLspy enterprise edition (i.e. StyleVision) does it but poorly. not all
features supported; no docs and code generated is way too verbose and ugly.
I used to to get a first pass, but when I needed more I had to rewrite the
entire xsl file.
-Original Message-
From: Kodandapani A.
background-image option works when rendering a pdf file but does not show up
when outputting to screen using the -awt option.
no big deal; except I spent alot of time trying to figure out what I was
doing wrong.
-
To
I'm trying to use background-image to produce a lined body so that the use
can write additional notes on the printed form. I have tried both gif and
jpg without success. I've read XSL formatting objects by Lovel and revied
the fop faq's. I'm still stumped and obviously missing something quite
16 matches
Mail list logo