Hi,
I used to create a servlet that can produce PDF by setting
its contentType.
1. Now, I wonder if I can use Apache FOP to take XML
stream that I created using JDOM to produce a PDF?
How?
2. Is it possible to produce a PDF that only contains JPEG
using XML stream? I am thinking about
Matthew Lancashire wrote:
Its 1.3.1_06.
What do I need to do to get the class in to my classes folder.
To be sure of the version, put System.out.println( System.getProperty(
java.version ) ); in the same code as were you use FOP. Then you can
be sure that it is really the version of the java
Hi,
I have a problem in displaying the data in the pdf table.
Each column width in a table should be different from the other column
depending on the data.
Since I am using the same fop stylesheet for different tables, I cannot
hardcode the column width in the stylesheet.
Is there any option
Hi everybody,
i need the single and double column on same single
page. It is possible in fop-0.20.5.
immediate replay is highly appreciated.
regards,
bala
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
Hi all,
I have to insert footnotes in my document. It works fine, if the
footnote is in a paragraph. But if the footnote is in a list, the
footnote has the same indent as the list body and it overwrites the last
text rows at the bottom of the page.
Is there a solution of this problem?
Karen
Will Spies wrote:
If I have an existing PDF file is there a way to convert it to a FO file? I
would like to create dynamic forms but I would rather reverse engineer a PDF
file.
That's impossible, pdf is lower-level format relatively to fo.
--
Oleg Tkachenko
Multiconn Technologies, Israel
sujata wrote:
I have a problem in displaying the data in the pdf table.
Each column width in a table should be different from the other column
depending on the data.
Since I am using the same fop stylesheet for different tables, I cannot
hardcode the column width in the stylesheet.
Is there
Hi
I've noticed that the deadline for submitting a design and voting are
the same (28th Feb). Wouldn't it perhaps be better to set a deadline for
the logo submission first and then a second deadline for voting? That
way the voters can choose from the full range of entries when when
placing their
Gian Piero Bottini wrote:
I am using FOP 0.20.5rc to produce PDF files from XML and XSL-FO
I use a servlet in Tomcat 4.04
if I have a large file (100 pages) and 2 session of IE are working
concurrently
there are no exception but the two processes don't finish and the pdf
files are not
one method of using dynamically create xml content would be to use the
StringReader.
here some sample code:
StringReader input = new StringReader(xmlString);
try
{
FileReader inputxslt = new FileReader(new File(xslfile));
Transformer transformer =
Andy Joslin wrote:
I've noticed that the deadline for submitting a design and voting are
the same (28th Feb). Wouldn't it perhaps be better to set a deadline for
the logo submission first and then a second deadline for voting? That
way the voters can choose from the full range of entries when when
Thanks for the reply.
How do you take the column width in a stylesheet.
I don't want to take each column width data as a separate parameter
because the no of columns vary from table to table.
My Logic is get a string with all the column width s of the table
seperated by coma.
In xsl split it and
Now I'll try to encrease the debug level...(by the way how can I do that??)
Now my output in the dos-Tomcat window is this ( I'm creating a pdf document
99 pages long):
[INFO] [99]
[INFO] [86]
[INFO] [87]
[INFO] [88]
[INFO] Parsing of document complete, stopping renderer
[INFO] [89]
and it seems
ciao Gian Piero,
this is the snippet to set the log level to debug
--
//Setup logger
Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG);
driver.setLogger(logger);
MessageHandler.setScreenLogger(logger);
--
and sometimes the
ok, I run the same thing with PDFRenderer, and I found no problems there.
This means that the multithreading issue is either within
a) AWTRenderer
b) TIFFRenderer (subclass of AWTRenderer)
c) pja X-Server emulation.
Since the issue is, that fontsize-changes from one Renderer influence
another
Try looking into Cocoon...I use it to take data from a database, parse
it into an xml file, transform it using XSLT into an FO file and render
the resulting FO file as PDF on the fly...it handles
pictures/text/forms just fine. You can find it at
www.apache.org/Cocoon.
Hope this helps!
Bob
Thanks a lot
but sometimes (with 3 session of IE)
tomcat stops without exception or without particolar debug messages...
Somebody have any ideas??
Could be a memory problem??
Regards
Gian Piero
- Original Message -
From: Fabrizio Tringali [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi,
The external-destination on basic-link is not working if I save the pdf
locally. I'm getting the following massage The specified file
http:/...com/pdf/test.pdf does not exist but I can see the pdf in browser.
It worked fine when I open the pdf in browser.
Thanks
Lucian Opris
I've got an XML document encoded with ISO-8859-1 for which I have an XSL-FO
which also outputs ISO-8859-1. This works nicely using the command line Fop.
However, using the same XML and XSL with FopServlet I find that accented
characters get clobbered in the retrieved PDF. It happens with Mozilla
In testing my application, I've noticed that different JRE's produce
differing FOP output. Specifically, Java 1.3.1_04 tends to require more
space for region-before region-after than Java 1.4.1_01. If I use the
1.4.1 extents/margin(s) with 1.3.1, I get a Some static text did not
fit error,
It was indeed the default charset. I've fixed it by explicitly setting the
charset in the InputStreamReader used by the file fetcher.
BufferedReader in = new BufferedReader(new
InputStreamReader(url.openStream(),ISO-8859-1));
Again, apologies for going off topic, but I hope this might be of some
When I run FOP I get the following messages when it gets to the
WritePageNumber extension function. Any suggestions? I have the idea that
the extension function properties are not being mapped correctly -- am I
right in this?
thanks in advance.
[INFO] FOP 0.20.4
[INFO] building formatting object
Using FOP, I succesfully wrote a servlet to generate PDF's from in-memory DOM
object's containing XSL-FO markup.
I able to embed graphics files by specifying a physical path as in:
fo:external-graphic src=url(/project/img/image.gif)/
However, since this is a web application, I need to be able
Karen Mergner wrote:
I have to insert footnotes in my document. It works fine, if the
footnote is in a paragraph. But if the footnote is in a list, the
footnote has the same indent as the list body and it overwrites the last
text rows at the bottom of the page.
Oddly enough, the indentation may
[EMAIL PROTECTED] wrote:
ok, I run the same thing with PDFRenderer, and I found no problems there.
This means that the multithreading issue is either within
a) AWTRenderer
b) TIFFRenderer (subclass of AWTRenderer)
c) pja X-Server emulation.
Since the issue is, that fontsize-changes from one
Lucian Opris wrote:
The external-destination on basic-link is not working if I save the pdf
locally. I'm getting the following massage The specified file
http:/...com/pdf/test.pdf does not exist but I can see the pdf in
browser. It worked fine when I open the pdf in browser.
The tool you use
Hugo Oliveira wrote:
My problem is that I want to use the courier Font, normal and bold.
I get the courier font file from my /WINNT/Fonts/ directory and generate
the XML file for the two fonts, courier new (cour.ttf) and courier new
bold (courbd.ttf).
When I generate the pdf file I have two
Gustavo Lopez wrote:
Using FOP, I succesfully wrote a servlet to generate PDF's from in-memory DOM
object's containing XSL-FO markup.
I able to embed graphics files by specifying a physical path as in:
fo:external-graphic src=url(/project/img/image.gif)/
However, since this is a web
Hi,
I'm using Adobe to see the pdf. The issue is only when I've tried to use a pdf
as external-destination; if I'm using another extension for that file (.xml,
.xsl etc.) the link is fine when I save the pdf locally.
Thanks
Lucian Opris
[EMAIL PROTECTED] wrote:
ok, I run the same thing with PDFRenderer, and I found no problems there.
This means that the multithreading issue is either within
a) AWTRenderer
b) TIFFRenderer (subclass of AWTRenderer)
c) pja X-Server emulation.
Since the issue is, that fontsize-changes from one
Lucian Opris wrote:
I'm using Adobe to see the pdf. The issue is only when I've tried to use a pdf as external-destination; if I'm using another extension for that file (.xml, .xsl etc.) the link is fine when I save the pdf locally.
That reminds me bug #9885 -
Jim Chundevalel wrote:
I'm trying to generate an XSL:FO document on the fly by taking
contents from an XML file. My XML file looks like this.
DATATEXT
SECTIONS
SECTION
HEADINGTest One/HEADING
MATTERThis is some
Jim Chundevalel wrote:
Now, I want to underline certain words contained in the MATTER Node. For
this, I was thinking of doing like this in the XML document.
MATTER
This is some
fo:inline text-decoration=underlineother/fo:inline
text.
/MATTER
(After referencing the fo namespace at the
Clay Leeds wrote:
In testing my application, I've noticed that different JRE's produce
differing FOP output. Specifically, Java 1.3.1_04 tends to require more
space for region-before region-after than Java 1.4.1_01. If I use the
1.4.1 extents/margin(s) with 1.3.1, I get a Some static text did
I can render a solid border around a table and around a table cell, but
I cannot specify a solid border around a table row as in:
fo:table-row border-bottom-color=black border-bottom-width=0.5pt
border-bottom-style=solid
I am using the following configuration:
fop 0.20.4
jre 1.3.1_06
/**
Gustavo Lopez wrote:
I can render a solid border around a table and around a table cell, but
I cannot specify a solid border around a table row as in:
fo:table-row border-bottom-color=black border-bottom-width=0.5pt border-bottom-style=solid
It seems to be very old bug #2475, see
Oleg Tkachenko wrote:
Clay Leeds wrote:
In testing my application, I've noticed that different JRE's produce
differing FOP output. Specifically, Java 1.3.1_04 tends to require
more space for region-before region-after than Java 1.4.1_01. If I
use the 1.4.1 extents/margin(s) with 1.3.1, I get a
Hi,
I tried using xsl:copy-of select=MATTER/. But FOP gives me
an erro saying NULL. All other code remains the same.
Jim
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Monday, February 03, 2003 4:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Block Problem
Hi All,
I tried to render a border minor than 1pt, but i only obtained results in
table tag, but in cell tag i did not obtain any result.
There is a way to render borders minor than 1pt in cell tag?
Thanks,
Paulo Benfatti
___
39 matches
Mail list logo