I'm using pt and mm in my source. The pixel measurement was just a comparison
with html.
But I'll try to print out and see what happens. Thanks for the tip
/Marcus
- Original Message -
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 12:03 AM
I know the FAQ discusses this...
It took me a couple of days to figure this out, but the image scaling that
I am doing in FOP is crashing my application.
All my images are returned via a servlet... If I turn the servlet engine
off, no images are returned and FOP runs like a champ... (although my
I can very easily swap image formats in my program. I did some testing
with svg, jpg and png.
1) jpg and png will not overwrite other blocks. With SVG, the image will
overlay over text. It seems not to respect other fo:blocks, even if I put
the external graphic into a fo block.
2) the svg
I want to test whether fop can product chinese docs.
I have some questions:
1. Should I type using the Chinese characters inside the
fo files? or just using the codes for the Chinese chars?
2. Should I provide the fonts when trying to produce the
docs? Are they provided by fop?
Any examples for
FOP does some primitive image caching. Now if you use dynamic images
coming from a servlet (each with a unique URL), FOP builds up a huge
list of these images without ever releasing them. I guess that's what's
happening.
The caching is done in org.apache.fop.image.FopImageFactory. You could
Hi there,
iam looking for an aproach to
give the user the option to select the pages he wants to print.
Iam using FOP embedded in a
Servlet and i render to a printer, so i do not know how many
Pages i am printing, when I
initiate the process.
So does anyone know if there
is a good
Hi
I am trying to get a servlet to produce pdf from data from a database. When
the servlet receives a request, it runs FOP (fop-0.20.5rc2), and outputs
this to the log:
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[DEBUG] Last page-sequence produced 1 pages.
[INFO]
Hello Klaus,
You might also consider a known problem with IE and PDF files. If the PDF
file is smaller than 6K (or there abouts).
Place any blank image in your pdf to reach the 6k border. Sorry its not the
best idea but a nice workaround.
regards
manfred
[EMAIL PROTECTED] am 04.04.2003
Marcus Andersson wrote:
Hello
First of all: I am using FOP-0.20.4 under jdk1.4.1.
When I insert external-graphics that are in the gif and png formats everything
works nice but when I try to include a jpg it just renders a black rectangle.
Why? I have looked in the faqs and some other places
Labeaux Schiek wrote:
Hi,
I am trying to use XSL-FO to generate PDF Forms in my application.
How do I create a check box in my PDF.
see http://xml.apache.org/fop/faq.html#fo_special_symbols
Christian
-
To unsubscribe, e-mail:
Interesting. I didn't know that the PDF transcoder is now included with
Batik. Anyway, that version there comes from the redesign. It's not the
same code you produce PDF with when you work with FOP 0.20.5*. I can
only imagine that something strange happens because you may have both
older and newer
Thank you. It was the cause of my original problem and my document is now just
as I want it (also, now I have stopped panicking, I appreciate the enhanced
error capture of 0.20.5rc).
Best wishes, John Marshall
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: 03
You showed us the working code, but not the potentially buggy code (the
servlet). Simplify your servlet to narrow down the possible causes:
Serve a PDF from a file instead of from FOP to see if FOP is the problem
(which I don't believe). Check if PDFs served from other webservers
display correctly
Assuming you mean printing server-side using AWT: Did you look at the
FopPrintServlet? It has code for something like that. Look for the
method getInvalidPageNumbers(). I don't know if it works, though.
On 04.04.2003 09:27:04 Normen Ruhrus wrote:
iam looking for an aproach to give the user the
Google finds:
org.apache.xml.utils.WrappedRuntimeException: The output format must
have a '{http://xml.apache.org/xslt}content-handler' property!
This error is usually caused by the Xalan included with JDK 1.4. Make
sure xalan.jar is placed in tomcatDir/common/endorsed (if you run into
We are new in fop user.. we try to use sample FopPrintServlet ..
the pdf file is on screen but not to the printer...(when we precise
ext=.pdf)
Is there some issues on IE 5.5 or IE 6.0 ?
Thx for your help
Pascal
-
To
Probably not for the FopPrintServlet. Check the web containers log for
error messages.
On 04.04.2003 17:22:38 Pascal Sourisseau wrote:
We are new in fop user.. we try to use sample FopPrintServlet ..
the pdf file is on screen but not to the printer...(when we precise
ext=.pdf)
Is there
You could try indent calculation based on the length of the string for
each line.
indent = (page-width - string-length) / 2
That's obviously not the xpath syntax you'd need to use, but it should
give you the result you want. Use the xpath function string-length() and
pass in your string. Then
If it is the case that you are viewing the servlet output from IE, then
please add some redundant parameters in the URL containing the word
PDF, e.g. http://server:8080/TestServlet?file=.pdf. It sounds silly,
but I tried and it does matter.
http://xml.apache.org/fop/faq.html#part_iex
Regards,
Hello,
I have also had problem in IE that if you first serve html data in one
window and refresh it someone into the application/pdf mime type you may
display a blank page or the text that contructs the pdf document. I am
using an asp page to connect to the servlet and response.binary writing
FOP Users:
The Compliance page is finally looking pretty much as intended:
http://xml.apache.org/fop/compliance.html
The PDF version does not work. This is a known problem and we hope to have
it resolved in the near future.
The pages Implemented and Limitations have been removed as that
How do I center an entire table horizontally on a page?
fo:table
fo:table-column/
fo:table-body
fo:table-row
fo:table-cell
fo:block
hello
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
Marcus Andersson wrote:
So I want the complete block of the two lines to be centered.
See:
http://xml.apache.org/fop/faq.html#fo_center_table_horizon
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I think I have found a bug in FOP 0.20.5rc2.
I have fo that I expect to product PDF that looks like this:
This line is somehow being repeated:
5 The list item body.
The text after the errant repeat.
Instead it produces PDF that looks like this:
This line is somehow being repeated:
5 The list item
24 matches
Mail list logo