Why are you reading the user configuration more than once? In my servlet,
which is multithreaded, I read the user configuration file once upon init.
I have no problems (except the occasional image error, which I catch and
regenerate the PDF when it happens) with concurrent PDF generation using
Upon init (once in the servlet)
// Gotta configure FOP to know where the base directory is. Otherwise
// it will generate errors. Add a trailing slash so we can use relative
// paths in our XSL.
org.apache.fop.configuration.Configuration.put(baseDir, file: + dir
+
?
Is the problem with FOP?
I figure it's got to be one of the above.
Thanks very much,
Scott
PS. What version of Batik comes with FOP 0.20.3rc?
- Original Message -
From: Scott Moore
To: FOP User
Sent: Friday, January 25, 2002 10:43 AM
Subject: SVG Problem with FOP
I'm trying to embed
ePage(StreamRenderer.java:217)
at
org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81)
at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:307)
at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
at
org.apache.fop.fo.FOTreeBuilder.endElement(FOT
Try:
xsl:for-each
select="some_data"
xsl:if test="position() 1"
This is not the
first!
/xsl:if
Repeating
section...
/xsl:for-each
Scott
-Original Message-From: Brian T. Wolf
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 22, 2002
1:30 PMTo: [EMAIL
I'm building a table
of contents, which works just fine except for one little detail. If seems
the fo:page-number-citations are not aligning
correctly.
For instance, the
enclosing block looks like this:
fo:table-cellfo:block
text-align="end"fo:page-number-citation
Karen,
Is this functionality in 0.20.2? It doesn't work for me. FOP complains
about the table-layout property and the table columns aren't proportionally
sized.
Plus, the docs/examples/fo/tableunits.fo doesn't exist.
Thanks,
Scott
- Original Message -
From: Karen Lease [EMAIL
Okay, I just looked at the release date on 0.20.2 and see it was 9/29/2001.
Since your email was after that, I'm guessing the new table functionality is
not in 0.20.2.
Will it be in the maintenance release? Is that coming up soon?
Scott
- Original Message -
From: Scott Moore [EMAIL
It seems from previous postings that the image will be resized to fit the
width, but not the height. Make sure you have enough space to display the
image. Try increasing the height until you see it.
Scott
-Original Message-
From: Mitchell, Scott(LIT) [mailto:[EMAIL PROTECTED]]
Sent:
The xsl:choose statement is exactly like a switch or case statement. You
CAN have one or more xsl:when statements underneath the same xsl:choose
parent followed by one xsl:otherwise, which is equivalent to default: in
Java or C++.
I use this construct all the time, especially when I need
I'm using FOP from a servlet (e.g., not the command line version) and I have
some embedded SVG in the XSL-FO. The curves are very jagged in the final
PDF and I would like to turn anti-aliasing on.
How can I do this? I looked thru the FOP source code and although I see
parameters for
Several people have already remarked on this, including me. So far, I
haven't seen a satisfactory answer.
In some places, it looks so bad on the screen that I had to create a PNG
image from the Batik transcoder and use that instead. Very disappointing.
Scott
-Original Message-
From:
Hi all,
I embedding some SVG into my XSL-FO to create small graphics. But it
doesn't seem like the viewBox attribute works. For instance:
fo:block
fo:instream-foreign-object
svg xmlns=http://www.w3.org/2000/svg; width=1in height=1in
viewBox=0 0 100 100 preserveAspectRatio=none
Okay, I don't know why this keeps getting posted, but I'm not sending it.
My apologies to the list groups.
Scott
-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 8:44 PM
To: FOP List; Batik Users
Subject: Why doesn't SVG viewBox work
Hi all,
I embedding some SVG into my XSL-FO to create small
graphics. But itdoesn't seem like the viewBox attribute works.
For instance:
fo:blockfo:instream-foreign-object
svg xmlns="http://www.w3.org/2000/svg" width="1in"
height="1in"viewBox="0 0 100 100"
preserveAspectRatio="none"
[mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 6:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Why doesn't SVG viewBox work?
Scott Moore wrote:
Hi all,
I embedding some SVG into my XSL-FO to create small graphics. But it
doesn't seem like the viewBox attribute works. For instance
[mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 11:56 AM
To: Batik Users
Cc: FOP List
Subject: Re: Why doesn't SVG viewBox work?
Scott,
Batik displays your example ok (I checked the current code base,
1.1rc2 and 1.1rc3).
Do you see only a quarter of the image (upper left?).
V.
Scott
: xmlns:foo=http://foo; then you can definethis
attributes in your blocks that contains the data andmodify
only
them. Hopethis helps, Fabio-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: 23 October 2001 16:12
To: Fop-Dev (E-mail
That page must be out of date. I use block-container is several places
successfully.
Scott
-Original Message-
From: Etwin van Krimpen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: overflow=hidden and big images...
Fop doesn't
This question isn't
really about FOP, but FO. I'm writing a reporting system that will
transform XML using XSLT into XSL-FO, then use FOP-PDF. I need to save
the XSL-FO files for later "concatenation" with other generated
reports.
During the
concatenation process, I need to find all the
will be rendered fine.
So
you can define a new namespace like:
xmlns:foo=http://foo"
then you can define
this attributes in your blocks that contains the data
fo:block
foo:data="yes"
and
modify only them.
Hope
this helps, Fabio
-Original Message-----Fr
thru for image
references.
Can someone fix this
for the next version of FOP?
Thanks,
Scott Moore
Senior Developer
netDecide - http://www.netdecide.com/
7600 Leesburg Pike, West Building - Suite
100
Falls Church, Virginia 22043
(571) 633-6134 (Work)
(571) 633-6003 (Fax)
to do with images nor is it active when FOP is
processing files. It is used to create XML font metric files. It doesn't
hurt, that this particular file won't get closed.
On Wed, 17 Oct 2001 10:22:26 -0400 Scott Moore wrote:
I can't be sure of this, but it seems to me that FOP is not closing some
you may be putting the background on the block containing
the text. Try putting it on the table-cell itself or even on the row.
HTH,
Karen
Scott Moore wrote:
I'm creating tables for FOP that have a black background with white text
in
the table header. The rest of the table (the data) is inverse
it on the table-cell itself or even on the row.
HTH,
Karen
Scott Moore wrote:
I'm creating tables for FOP that have a black background with white text
in
the table header. The rest of the table (the data) is inverse, with black
characters and white background.
If the header text in a column
under each cell, and it works fine.
fo:table-cell border-bottom-color=black border-bottom-width=1.0pt
border-bottom-style=solid
Yuri
-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 2:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Table Headings
Try using fo:inline instead of fo:block. You can have several
fo:inline in the same fo:block parent, which could be on the same line.
fo:block
fo:inlineFirst text/fo:inline
fo:inlineSecond text/fo:inline
/fo:block
This way you could define different properties for each fo:inline
Scott
Yes on both counts.
- Original Message -
From: Colin Savage [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 12, 2001 9:03 AM
Subject: Slightly off topic, valid syntax
I was experimenting with fo:inline and I am not sure if this is valid?
fo:blockText before fo:inline
Hi all,
I'm creating a cover page that contains a large
graphic. Portions of the graphic are transparent (it's a PNG) and I'm
trying to place the report title in some of the transparent region. But it
always gets truncated by the graphic image, whether transparent or not.
Is there a way
implemented in FOP 0.18. If you are on a later
version, you can try it out.
-Lou
Scott Moore [EMAIL PROTECTED] on 10/11/2001 09:05:08 AM
Please respond to [EMAIL PROTECTED]
To: FOP List [EMAIL PROTECTED]
cc:
Subject: Large graphics
Hi all,
I'm creating a cover page that contains a large
Wow. That's slow. I'm also using it in a Servlet and I don't have any
performance problems. I generated a 100 page PDF in about 20 seconds, and
that included many graphics and short tables. How big is your table? I
typically have between 5-20 rows.
I'm using JDF 1.3.1_01 with Tomcat 3.2.3.
31 matches
Mail list logo