RE: Trouble with ZapfDingbats

2002-03-12 Thread Keen Tim
Thanks for your help TJ.

Can you, or anyone else, direct me to a resource where I can find the
Unicode number for a unchecked box with a shadow in ZapfDingbats? I was
using #113; prior to this problem with the second release candidate.

FWIW I'm now trying to resolve it against the latest release candidate.

Cheers

Tim

-Original Message-
From: TJ Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 6 March 2002 23:51
To: [EMAIL PROTECTED]
Subject: Re: Trouble with ZapfDingbats


Hi
I recently had problems with ZapfDingbats in fop 20.3  The solution is
to
use the Unicode for the dingbat you wish to render - I was using:

 fo:inline font-family=ZapfDingbatsl/fo:inline
which produced a filled-in circle character in 20.1, but rendered a pair
of
scissors in 20.3  The solution is to use:
 fo:inline font-family=ZapfDingbats#x25CF;/fo:inline
which works fine in 20.3

Hope this helps

TJ
- Original Message -
From: Keiron Liddle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 06, 2002 4:48 AM
Subject: Re: Trouble with ZapfDingbats



 I'm not sure what the problem is that you are having but ZapfDingbats
 works fine for me both on unix and windows NT.

 On 2002.03.06 00:35 Keen Tim wrote:
  I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to
take
  advantage of the changes to the attribute master-name and am now
having
  problems with the ZapfDingbats font. Essentially my PDF doesn't
  recognise the font.
 
  Is anyone else experiencing the same problems? Is this a known
problem?
  Am I missing something? Should I rollback to a previous version?
 
  Any help would be appreciated.
 
  Cheers






The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  




RE: [ANNOUNCEMENT] Fop 0.20.3 released

2002-03-12 Thread Keen Tim
Christian,

I'm having problems with this (the third) and the second release
candidate for 0.20.3, but not the first. Follow my thread Trouble with
ZapfDingbats in fop-user for more info.

Perhaps you can advise me also.

Cheers

Tim

-Original Message-
From: Christian Geisert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 March 2002 9:03
To: [EMAIL PROTECTED]; fop-dev@xml.apache.org
Subject: [ANNOUNCEMENT] Fop 0.20.3 released


Doh, sorry for the previous mail (don't know what happened..)


Hi all,

just in case someone hasn't noticed yet ;-)


FOP 0.20.3 is finally available at http://xml.apache.org/dist/fop
for downloading.

The main reason for this release is the conformance to the XSL-FO
Version 1.0 W3C Recommendation. Other changes include:

- support for CMYK and embedded ICC profiles in jpeg images
- support for EPS images
- improved font encodings for native (Acrobat) fonts
- i18n improvments for AWT viewer
- support for letter-spacing
- Polish, Greek, and Hungarian hyphenation
- and of course a lot of bugfixes...


Changes from previous Release Candidate (rc2):
- added missing japanese resource for AWT viewer
- fixed Markers
- updated logkit from 1.0b4 to 1.0


Enjoy,
Christian




The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  




Re: XML to AFP

2002-03-12 Thread Jeremias Maerki
A small group at UBS has once worked on an AFP renderer for FOP but the
project got halted as far as I know and they didn't want to publish the
code they've done. So, a way to go (even if it's not a simple one right
now) would be to write an AFP renderer for FOP.

You could also ask IBM what they have done in the PPML
(http://www.podi.org/standards/ppml) corner. Maybe there's a possibility.

 I'm looking for a way to produce AFP (IBM's Advanced Function Presentation) 
 file
 from XML.
 I know that there is commercial products like DI Pager. I also can produce PDF
 or PostScript file and then convert it to AFP format.
 But may be  somebody knows a simpler way.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



Re: Logger not set

2002-03-12 Thread Tomasz Pik

Michael Engelhart wrote:
Hi all,
Does it matter if I just ignore setting the logger?  I already have an 
application built around using Log4J and it seems silly to instantiate 
another logging system just to output 3 lines every time I run FOP.   I 
just want to make sure that there isn't anything  critical to the 
setLogger method

Maybe it will be better to use Commons Logging package inside fop
instead of Avalon LogKit - somebody may configure Logging to
use LogKit, somebody to use Log4j.
Regards
Tomek Pik
[EMAIL PROTECTED]

thanks
Mike



Re: Trouble with ZapfDingbats

2002-03-12 Thread Keiron Liddle
The answer is in the faq:
http://xml.apache.org/fop/faq.html
ie. go here
http://www.unicode.org/charts/
On 2002.03.12 01:57 Keen Tim wrote:
Thanks for your help TJ.
Can you, or anyone else, direct me to a resource where I can find the
Unicode number for a unchecked box with a shadow in ZapfDingbats? I was
using #113; prior to this problem with the second release candidate.
FWIW I'm now trying to resolve it against the latest release candidate.
Cheers
Tim


0.20.3 without jimi - without png?

2002-03-12 Thread Sam Prokop
Hi All,

I get the following error, when i want to use a png:
Error creating FopImage object (path:to.image.png):
org.apache.fop.image.JimiImage

I use the fo:external-graphic-tag.

So if jimi isn´t part of fop anymore, how can i use png now?

besides, i tried it with just using the old Jimi.jar in my classpath,
too.

any idea welcom, thanx in anticipation

--
Sam Prokop


merging two libraries

2002-03-12 Thread bruno
Hello all,
I'm not familiar with FOP, but I can't help noticing
that people are moving from FOP to iText and vice versa. 

As original developer of iText, a JAVA-PDF library, I already
proposed you guys at Apache twice to join forces and to combine
both libraries. I now subscribe to this mailing list only to
ask you a third time to reconsider your refusal. 

Please read these mails from some iText/FOP users:
http://www.geocrawler.com/lists/3/SourceForge/8175/0/8071577/
http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/msg00491 
.html 

Please send your answers to the iText mailing list.
You don't need to subscribe, I will pass them through.
Remark: sorry, but due to the lack of time to read all
my mail as it is, I will now unsubscribe from the FOP
mailing list. 

kind regards,
Bruno Lowagie


When FOP in C?

2002-03-12 Thread dav sem
Hi Community,
is in future possible
to have FOP written in C?
Regards
DS.
_
Fai parte anche tu del più grande servizio di posta elettronica del mondo 
con MSN Hotmail. http://www.hotmail.com/it



Re: merging two libraries

2002-03-12 Thread Keiron Liddle
Hi,
From the archives it appears that the discussion on the fop-dev list was 
about 2 years ago (no apparent refusal though). It is certainly time to 
revisit.

From the small amount of information I know about iText it would appear 
to be a more advanced pdf library.
I don't know what the license issues might be.

What sort of joining forces are you proposing?
Please send to the fop-dev list for further discussion.
Regards,
Keiron.
On 2002.03.12 09:27 [EMAIL PROTECTED] wrote:
Hello all,
I'm not familiar with FOP, but I can't help noticing
that people are moving from FOP to iText and vice versa. As original 
developer of iText, a JAVA-PDF library, I already
proposed you guys at Apache twice to join forces and to combine
both libraries. I now subscribe to this mailing list only to
ask you a third time to reconsider your refusal. Please read these mails 
from some iText/FOP users:
http://www.geocrawler.com/lists/3/SourceForge/8175/0/8071577/
http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/msg00491 
.html Please send your answers to the iText mailing list.
You don't need to subscribe, I will pass them through.
Remark: sorry, but due to the lack of time to read all
my mail as it is, I will now unsubscribe from the FOP
mailing list. kind regards,
Bruno Lowagie


RE: Different footers for one fo:page-sequence/

2002-03-12 Thread Peter Velichko
Is it possible to give different content to headers for different
simple-page-masters of one fo:flow/?

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 1:36 AM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Provided that different simple-page-masters are being used for the pages
that are intended to have different footers, prepare the various
static-contents that you'll need, and give them different names that map to
corresponding region-after's in your various page-masters.

Regards,
AHS

-Original Message-
From: Peter Velichko [mailto:[EMAIL PROTECTED]
Sent: March 11, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: Different footers for one fo:page-sequence/


Hi!

Please advise how can I use footers of different size and content for one
fo:page-sequence/?

Many thanks in advance
Peter Velichko









RE: Different footers for one fo:page-sequence/

2002-03-12 Thread Arved Sandstrom
Yes, absolutely. Different headers, footers, sidebars, it doesn't matter.
Same fo:flow, it doesn't matter. As long as the use of a
page-sequence-master ensures that a given page is pointed at a specific
page-master, the regions in _that_ page-master are used. It is the mapping
between the region-names (which can be arbitrary, with certain loose
constraints) in that selected page-master, and the flow-names in various
static-contents in the page-sequence that contains your flow, that allow you
to have different content.

Regards,
AHS

-Original Message-
From: Peter Velichko [mailto:[EMAIL PROTECTED]
Sent: March 12, 2002 6:21 AM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Is it possible to give different content to headers for different
simple-page-masters of one fo:flow/?

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 1:36 AM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Provided that different simple-page-masters are being used for the pages
that are intended to have different footers, prepare the various
static-contents that you'll need, and give them different names that map to
corresponding region-after's in your various page-masters.

Regards,
AHS

-Original Message-
From: Peter Velichko [mailto:[EMAIL PROTECTED]
Sent: March 11, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: Different footers for one fo:page-sequence/


Hi!

Please advise how can I use footers of different size and content for one
fo:page-sequence/?

Many thanks in advance
Peter Velichko









Re: [FOP-USER] [ANNOUNCEMENT] Fop 0.20.3 released

2002-03-12 Thread Trevor Jenkins
On Tue, 12 Mar 2002, Christian Geisert [EMAIL PROTECTED] wrote:

 FOP 0.20.3 is finally available at http://xml.apache.org/dist/fop
 for downloading.

 The main reason for this release is the conformance to the XSL-FO
 Version 1.0 W3C Recommendation.

Does this mean that I can now use the Norm Walsh XSLT stylesheets
shrink-wrapped? I had problems doing this with 0.20.2 as previosuly
reported to this list. If I can't use them shrink wrapped what must I do
to use the latest versions of Norm's work?

Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living language.
Support the campaign for formal recognition by the British government now!
Details at http://www.fdp.org.uk/ or http://www.bsl-march.co.uk/

-- 

 Re: deemed!



Re: [ANNOUNCEMENT] Fop 0.20.3 released

2002-03-12 Thread Christian Geisert
Keen Tim wrote:
Christian,
I'm having problems with this (the third) and the second release
candidate for 0.20.3, but not the first. Follow my thread Trouble with
ZapfDingbats in fop-user for more info.
Perhaps you can advise me also.

There has been a change in in the font enconding from RC1 to RC2
(I think the patch *corrected* the enconding for the symbol fonts)
Have a look at docs/examples/fo/fonts.fo
Cheers
Tim
Christian


Empty cells

2002-03-12 Thread Ian Taylor
Hello,
Sorry for the basic question, I am creating PDF forms which are dynamically 
populated using Java and this works fine. However it is also required that 
these forms can be printed without the data from the Java. When I do this, 
if there are any rows with all blank cells, the whole row just collapses.

I have looked on the w3c site but could not find the answer. Altering the 
line-height does not do anything. I have used 'invisible' characters to 
prop the row open till now but this has become impractical. I'm sure there 
is a very simple solution to my problem.

Regards


RE: Different footers for one fo:page-sequence/

2002-03-12 Thread Peter Velichko
Thanks Arved for you reply.

I have the following code:

fo:root
fo:layout-master-set
fo:simple-page-master master-name=first_page
 page-height=29.7cm
 page-width=21cm
 margin-top=2cm
 margin-bottom=1cm
 margin-left=1cm
 margin-right=1cm
fo:region-before extent=20em/
fo:region-body margin-top=20em margin-bottom=1cm/
/fo:simple-page-master
fo:simple-page-master master-name=common_page
 page-height=29.7cm
 page-width=21cm
 margin-top=2cm
 margin-bottom=1cm
 margin-left=1cm
 margin-right=1cm
fo:region-before extent=2em/
fo:region-body margin-top=2em margin-bottom=1cm/
/fo:simple-page-master
fo:page-sequence-master master-name=my-sequence
fo:repeatable-page-master-alternatives
fo:conditional-page-master-reference 
page-position=first
master-reference=first_page/
fo:conditional-page-master-reference 
page-position=rest
master-reference=common_page/
/fo:repeatable-page-master-alternatives
/fo:page-sequence-master
/fo:layout-master-set

fo:page-sequence master-reference=my-sequence font-family=Courier
font-size=11pt line-height=5mm
fo:static-content flow-name=xsl-region-before
xsl:apply-templates select=header/
/fo:static-content

fo:flow flow-name=xsl-region-body
xsl:apply-templates select=content/
/fo:flow
/fo:page-sequence
/fo:root

Is it any way to place the header FIRST PAGE at first page and the header
REST PAGES at the other pages (header template)?


-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Yes, absolutely. Different headers, footers, sidebars, it doesn't matter.
Same fo:flow, it doesn't matter. As long as the use of a
page-sequence-master ensures that a given page is pointed at a specific
page-master, the regions in _that_ page-master are used. It is the mapping
between the region-names (which can be arbitrary, with certain loose
constraints) in that selected page-master, and the flow-names in various
static-contents in the page-sequence that contains your flow, that allow you
to have different content.

Regards,
AHS

-Original Message-
From: Peter Velichko [mailto:[EMAIL PROTECTED]
Sent: March 12, 2002 6:21 AM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Is it possible to give different content to headers for different
simple-page-masters of one fo:flow/?

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 1:36 AM
To: [EMAIL PROTECTED]
Subject: RE: Different footers for one fo:page-sequence/


Provided that different simple-page-masters are being used for the pages
that are intended to have different footers, prepare the various
static-contents that you'll need, and give them different names that map to
corresponding region-after's in your various page-masters.

Regards,
AHS

-Original Message-
From: Peter Velichko [mailto:[EMAIL PROTECTED]
Sent: March 11, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: Different footers for one fo:page-sequence/


Hi!

Please advise how can I use footers of different size and content for one
fo:page-sequence/?

Many thanks in advance
Peter Velichko













Re: Trouble with ZapfDingbats

2002-03-12 Thread TJ Smith
I just 'googled' a search for ZapfDingbats and got a lot of sources... here
is the one I used:
www.renderx.com/Tests/zapf-dingbats.pdf

TJ
- Original Message -
From: Keen Tim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 7:57 PM
Subject: RE: Trouble with ZapfDingbats


Thanks for your help TJ.

Can you, or anyone else, direct me to a resource where I can find the
Unicode number for a unchecked box with a shadow in ZapfDingbats? I was
using #113; prior to this problem with the second release candidate.

FWIW I'm now trying to resolve it against the latest release candidate.

Cheers

Tim

-Original Message-
From: TJ Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 6 March 2002 23:51
To: [EMAIL PROTECTED]
Subject: Re: Trouble with ZapfDingbats


Hi
I recently had problems with ZapfDingbats in fop 20.3  The solution is
to
use the Unicode for the dingbat you wish to render - I was using:

 fo:inline font-family=ZapfDingbatsl/fo:inline
which produced a filled-in circle character in 20.1, but rendered a pair
of
scissors in 20.3  The solution is to use:
 fo:inline font-family=ZapfDingbats#x25CF;/fo:inline
which works fine in 20.3

Hope this helps

TJ
- Original Message -
From: Keiron Liddle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 06, 2002 4:48 AM
Subject: Re: Trouble with ZapfDingbats



 I'm not sure what the problem is that you are having but ZapfDingbats
 works fine for me both on unix and windows NT.

 On 2002.03.06 00:35 Keen Tim wrote:
  I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to
take
  advantage of the changes to the attribute master-name and am now
having
  problems with the ZapfDingbats font. Essentially my PDF doesn't
  recognise the font.
 
  Is anyone else experiencing the same problems? Is this a known
problem?
  Am I missing something? Should I rollback to a previous version?
 
  Any help would be appreciated.
 
  Cheers






The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.






FW: [iText-questions] Re: merging two libraries

2002-03-12 Thread New, Cecil (GEAE)
My suggestion was *not* to merge the two!

iText is a Java API with a document creation focus.  In this day and age,
XSL:FO can be viewed as just another document type - in the same way that
more proprietary or older formats are (that is, PDF, RTF, etc.).

Now XSL:FO is different in that you can't just double click on one and see
something.  But the FOP project comes close.

Making iText (optionally) output xsl:fo would greatly extend its potential
applications and make it squarely standards based.

I would like to think that someday, StarOffice, Wordperfect, etc. would
either natively use xsl:fo as their file storage format or at least be able
to import it.

Having something like iText that *programatically* create documents is very
exciting!

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 3:53 AM
To: [EMAIL PROTECTED]
Cc: fop-dev@xml.apache.org; itext-questions@lists.sourceforge.net
Subject: [iText-questions] Re: merging two libraries


Hi,

 From the archives it appears that the discussion on the fop-dev list was 
about 2 years ago (no apparent refusal though). It is certainly time to 
revisit.

 From the small amount of information I know about iText it would appear 
to be a more advanced pdf library.
I don't know what the license issues might be.

What sort of joining forces are you proposing?

Please send to the fop-dev list for further discussion.

Regards,
Keiron.


On 2002.03.12 09:27 [EMAIL PROTECTED] wrote:
 Hello all,
 
 I'm not familiar with FOP, but I can't help noticing
 that people are moving from FOP to iText and vice versa. As original 
 developer of iText, a JAVA-PDF library, I already
 proposed you guys at Apache twice to join forces and to combine
 both libraries. I now subscribe to this mailing list only to
 ask you a third time to reconsider your refusal. Please read these mails 
 from some iText/FOP users:
 http://www.geocrawler.com/lists/3/SourceForge/8175/0/8071577/

http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/msg00491

 .html Please send your answers to the iText mailing list.
 You don't need to subscribe, I will pass them through.
 Remark: sorry, but due to the lack of time to read all
 my mail as it is, I will now unsubscribe from the FOP
 mailing list. kind regards,
 Bruno Lowagie

___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: Empty cells

2002-03-12 Thread Olivier Rossel
Ian Taylor wrote:
Hello,
Sorry for the basic question, I am creating PDF forms which are 
dynamically populated using Java and this works fine. However it is 
also required that these forms can be printed without the data from 
the Java. When I do this, if there are any rows with all blank cells, 
the whole row just collapses.

I have looked on the w3c site but could not find the answer. Altering 
the line-height does not do anything. I have used 'invisible' 
characters to prop the row open till now but this has become 
impractical. I'm sure there is a very simple solution to my problem.

Regards
use the attribute empty-cells=show when declaring your table.



mailto:

2002-03-12 Thread MARTIN Franck
Does anyone know how to create a mailto:; link in a pdf document using
fop.
In other words what's the xsl-fo tag to do so and is it implemented in
FOP?
thanx
Franck



RE: table-cell vertical-align=bottom?

2002-03-12 Thread Rob Smith
Put the vertical-align=bottom attribute on the table-cell element, not the
block
--
Rob Smith


 As it appears from the template below, I'm desperately trying
 to align a table cell's content to the bottom. It seems to me that the
 vertical-align=bottom property does not work?
  fo:table-cell
  fo:block vertical-align=bottomtest test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test /fo:block
/fo:table-cell



Re: [iText-questions] Re: merging two libraries

2002-03-12 Thread Nicola Ken Barozzi
From: New, Cecil (GEAE) [EMAIL PROTECTED]

 My suggestion was *not* to merge the two!

 iText is a Java API with a document creation focus.  In this day and age,
 XSL:FO can be viewed as just another document type - in the same way that
 more proprietary or older formats are (that is, PDF, RTF, etc.).

Sorry if it's a bit off-topic, but this issue is similar to the one we just
managed to handle between POI (http://jakarta.apache.org/poi/) and Cocoon
(http://xml.apache.org/cocoon/).

POI is a project that makes it possible to read-write common office file
formats in Java.
Cocoon is an XML processing framework-server.

The POI team donated a Cocoon component that uses POI and outputs XML, but
on the Cocoon side, committers saw too much POI code in it.

Basically we understood that a project to read-write a file format should
have a solid Java API. Other projects can use it to produce other results.
Merging is not the best solution, both for developers and users.


RE: mailto:

2002-03-12 Thread Peter Velichko
Try
fo:blockfo:basic-link
external-destination=mailto:[EMAIL PROTECTED]Text/fo:basic-link/fo:block


-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: mailto:


Does anyone know how to create a mailto:; link in a pdf document using
fop.
In other words what's the xsl-fo tag to do so and is it implemented in
FOP?
thanx
Franck







external-graphic src syntax

2002-03-12 Thread Michael Engelhart
Can someone show me the syntax to using
fo:external-graphic??
I have an image in the same directory as the stylsheet and have tried 
this syntax:

fo:block text-align=center
fo:external-graphic src=logo.jpg/
/fo:block
this syntax:
fo:block text-align=center
fo:external-graphic src=file:./logo.jpg/
/fo:block
this syntax:
fo:block text-align=center
fo:external-graphic src=file://./logo.jpg/
/fo:block
and none of them work.  I always get this error:
[ERROR]: Error while creating area : Error with image URL: ./logo.jpg 
(No such file or directory) and no base directory is specified

I have compared this to the images.fo example document as well as the 
W3C XSL spec and it doesn't work.
I can sort of get it to work using an external url like 
http://somewhere.com/logo.jpg; but when I do it that way my application 
hangs and never comes back.

any ideas??


RE: Different footers for one fo:page-sequence/

2002-03-12 Thread Arved_37
Hi, Peter

Use region-name. For example, call the region-before in simple-page-
master first_page a region-name like before_firstpage or something. Then 
supply a static-content that has a flow-name of before_firstpage.

Similarly, the region-before in the rest simple-page-master could have a 
region-name of before_rest. Then you'd put in another static-content that has 
a flow-name of before_rest.

Regards,
AHS

Quoting Peter Velichko [EMAIL PROTECTED]:

 Thanks Arved for you reply.
 
 I have the following code:
 
 fo:root
   fo:layout-master-set
   fo:simple-page-master master-name=first_page
page-height=29.7cm
page-width=21cm
margin-top=2cm
margin-bottom=1cm
margin-left=1cm
margin-right=1cm
   fo:region-before extent=20em/
   fo:region-body margin-top=20em margin-bottom=1cm/
   /fo:simple-page-master
   fo:simple-page-master master-name=common_page
page-height=29.7cm
page-width=21cm
margin-top=2cm
margin-bottom=1cm
margin-left=1cm
margin-right=1cm
   fo:region-before extent=2em/
   fo:region-body margin-top=2em margin-bottom=1cm/
   /fo:simple-page-master
   fo:page-sequence-master master-name=my-sequence
   fo:repeatable-page-master-alternatives
   fo:conditional-page-master-reference page-
position=first
 master-reference=first_page/
   fo:conditional-page-master-reference page-
position=rest
 master-reference=common_page/
   /fo:repeatable-page-master-alternatives
   /fo:page-sequence-master
   /fo:layout-master-set
 
   fo:page-sequence master-reference=my-sequence font-family=Courier
 font-size=11pt line-height=5mm
   fo:static-content flow-name=xsl-region-before
   xsl:apply-templates select=header/
   /fo:static-content
 
   fo:flow flow-name=xsl-region-body
   xsl:apply-templates select=content/
   /fo:flow
   /fo:page-sequence
 /fo:root
 
 Is it any way to place the header FIRST PAGE at first page and the header
 REST PAGES at the other pages (header template)?


---
 This mail was sent through the Nova Scotia Provincial Server, 
 with technical resources provided by Chebucto Community Net.
 http://nsaccess.ns.ca/mail/ http://www.chebucto.ns.ca/



SV: external-graphic src syntax

2002-03-12 Thread Klosa Uwe


-Ursprungligt meddelande-
Fran: Michael Engelhart [mailto:[EMAIL PROTECTED]
Skickat: den 12 mars 2002 16:28
Till: [EMAIL PROTECTED]
Amne: external-graphic src syntax


Can someone show me the syntax to using
fo:external-graphic??

I have an image in the same directory as the stylsheet and have tried 
this syntax:

fo:block text-align=center
 fo:external-graphic src=logo.jpg/
/fo:block

this syntax:

fo:block text-align=center
 fo:external-graphic src=file:./logo.jpg/
/fo:block

this syntax:
fo:block text-align=center
 fo:external-graphic src=file://./logo.jpg/
/fo:block


and none of them work.  I always get this error:
[ERROR]: Error while creating area : Error with image URL: ./logo.jpg 
(No such file or directory) and no base directory is specified


I have compared this to the images.fo example document as well as the 
W3C XSL spec and it doesn't work.
I can sort of get it to work using an external url like 
http://somewhere.com/logo.jpg; but when I do it that way my application 
hangs and never comes back.

any ideas??


Re: SV: external-graphic src syntax

2002-03-12 Thread Michael Engelhart
Thanks - i guess for now I'll run a web server on the local machine.  For some reason that doesn't hang my application but when I reference it to an external URL, it hangs. 

Mike
On Tuesday, March 12, 2002, at 10:45  AM, Klosa Uwe wrote:

It works only with fop0_19_0. All fop0_20_x has the same error. I've tried
it in two days now.

Uwe


Re : mailto (does not work)

2002-03-12 Thread MARTIN Franck
Thank you for your suggestions but using the fo:basic-link tag with the
external-destination attribute does not work for me.
When I click on the link in the generated PDF file it opens a web
browser with the following URL : http://mailto:{mailto:[EMAIL PROTECTED]
!!! (or http://mailto:mailto:[EMAIL PROTECTED])

Does anyone knows the right thing to do?

Franck MARTIN



Re: Re : mailto (does not work)

2002-03-12 Thread Michael Engelhart
Hmm. i just tried the exact same example that was posted and it works 
fine.   Do you have the mailto: protocol linked to use your browser 
rather than your email client?

On Tuesday, March 12, 2002, at 10:52  AM, MARTIN Franck wrote:
Thank you for your suggestions but using the fo:basic-link tag with the
external-destination attribute does not work for me.
When I click on the link in the generated PDF file it opens a web
browser with the following URL : http://mailto:{mailto:[EMAIL PROTECTED]
!!! (or http://mailto:mailto:[EMAIL PROTECTED])
Does anyone knows the right thing to do?
Franck MARTIN



Re: Empty cells

2002-03-12 Thread Ian Taylor
I was using fop-0.20.1 and got
[WARN]: property - empty-cells is not implemented yet.
So I upgraded to fop-0.20.3 and am still getting the same error.
At 02:31 PM 3/12/2002 +0100, you wrote:
Ian Taylor wrote:
Hello,
Sorry for the basic question, I am creating PDF forms which are 
dynamically populated using Java and this works fine. However it is also 
required that these forms can be printed without the data from the Java. 
When I do this, if there are any rows with all blank cells, the whole row 
just collapses.

I have looked on the w3c site but could not find the answer. Altering the 
line-height does not do anything. I have used 'invisible' characters to 
prop the row open till now but this has become impractical. I'm sure 
there is a very simple solution to my problem.

Regards
use the attribute empty-cells=show when declaring your table.



Re: problems with fo:external-graphic

2002-03-12 Thread Guillaume Laforge



Hello Michael,

Do you still have the same problem ? 
(SVGDocument class not found ?)
I've got the same problem. It heavily 
depends on your tomcat version you are using.
A quick hack for me was to move batik.jar 
from my WEB-INF/lib directory to Tomcat's common/lib.
It works, but it's not very cool if you 
wish to make a deployable archive (a WAR file), because you have to install the 
WAR, ANDTHEN : Batik.jar in common/lib.
Ithink the problem comes from Tomcat 
itself, in the way it loads the jar files. The custom class loaders behaves 
totally differently between Tomcat 3.2 and Tomcat 4.0.x. And even between Tomcat 
4.0.1, 2 and 3 
I donthave the problem with Tomcat 
4.0.1 (jdk1.3.1on Linux and on Windows2K) and the problem appears with 
Tomcat 4.0.3 on W2K.

Did you find another solution to this 
problem ?

Guillaume

  "Michael 
  Schifferdecker" [EMAIL PROTECTED]wrote
  Hello all,I have a problem with 
  fo:external-graphic.I use a Servlet to do PDF generation together with 
  a test style sheet whichproduces FO-code in which the following 
  fo:external-graphic is contained:...fo:external-graphic 
  src=""height="0.58cm" 
  width="2.71cm"/...When I use this under jBuilder with 
  integrated Apache Tomcat 3.2 to includethe GIF fd_logo.gif into the PDF 
  everything works fine.But: after the whole application is distributed 
  to my stand alone Tomcat 4.0server problems occur (see following 
  exception).The error occurs with FOP 0.20.2RC and with 0.20.3 
  also.What's the cause for this?What alternatives do I 
  have?Best regards, Michael(exception information 
  follows)exception root cause... 
  java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocumentcomplete 
  exception as follows...type Exception reportmessage Internal 
  Server Errordescription The server encountered an internal error 
  (Internal Server Error)that prevented it from fulfilling this 
  request.exceptionjavax.servlet.ServletException: Servlet 
  execution threw an exception	atroot 
  causejava.lang.NoClassDefFoundError: 
  org/w3c/dom/svg/SVGDocument	atorg.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:45)	at 
  org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:100)	at 
  org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:125)	at 
  org.apache.fop.fo.flow.Block.layout(Block.java:259)	at 
  org.apache.fop.fo.flow.TableCell.layout(TableCell.java:263)	at 
  org.apache.fop.fo.flow.TableRow.layout(TableRow.java:344)	at 
  org.apache.fop.fo.flow.TableBody.layout(TableBody.java:172)	at 
  org.apache.fop.fo.flow.Table.layout(Table.java:226)	at 
  org.apache.fop.fo.flow.Block.layout(Block.java:259)	at 
  org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:78)	atorg.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSequence.java:413)	atorg.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSequence.java:362)	at 
  org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:302)	at 
  org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:191)	at 
  org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:178)	at 
  org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1398)	atorg.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1007)	atorg.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1255)	atorg.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)	at 
  org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)	at 
  org.apache.fop.apps.Driver.render(Driver.java:459)	at 
  org.apache.fop.apps.Driver.run(Driver.java:542)	atformdirekt.pdfgen.POSTReceiveServlet.renderFO(POSTReceiveServlet.java:145)	at 
  formdirekt.pdfgen.POSTReceiveServlet.doPost(POSTReceiveServlet.java:71)	at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:760)	at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at.


RE: Re : mailto (does not work)

2002-03-12 Thread Peter Velichko
My system is W2000, FOP 0.20.3 (from 04-Mar-2002), Acrobat Reader 5.
When I click the link of document saved to disk Acrobat Reader offers to
open link in my browser and link is opened fine.
If I click the link of document opened directly in browser (IE 6 or NN 6.2)
it is also work correctly.

-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 5:53 PM
To: [EMAIL PROTECTED]
Subject: Re : mailto (does not work)


Thank you for your suggestions but using the fo:basic-link tag with the
external-destination attribute does not work for me.
When I click on the link in the generated PDF file it opens a web
browser with the following URL : http://mailto:{mailto:[EMAIL PROTECTED]
!!! (or http://mailto:mailto:[EMAIL PROTECTED])

Does anyone knows the right thing to do?

Franck MARTIN







Re mail-to

2002-03-12 Thread MARTIN Franck
The simple example given earlier works but the following one doesn't.

xsl:template match=identity
xsl:element name=fo:basic-link
   xsl:attribute name=external-destination
mailto:xsl:value-of select=adress/email/
   /xsl:attribute
   xsl:value-of select=adress/email/
 /xsl:element
/xsl:template

An xslt engine would produce the following output :
fo:basic-link external-destination=mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
/fo:basic-link

This output is similar to the example that works.


I believe this is a bug either in the xslt engine parser either in fop
cause it should open the mail client rather than the browser

Franck MARTIN



RE: Re mail-to

2002-03-12 Thread Brian O'Kelley
Is there any chance that the typo in address is causing you to
generate the link mailto:;, which the browser then tries to turn into a
valid http: url?

Brian

-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re mail-to


The simple example given earlier works but the following one doesn't.

xsl:template match=identity
xsl:element name=fo:basic-link
   xsl:attribute name=external-destination
mailto:xsl:value-of select=adress/email/
   /xsl:attribute
   xsl:value-of select=adress/email/
 /xsl:element
/xsl:template

An xslt engine would produce the following output : fo:basic-link
external-destination=mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
/fo:basic-link

This output is similar to the example that works.


I believe this is a bug either in the xslt engine parser either in fop
cause it should open the mail client rather than the browser

Franck MARTIN




Re: problems with fo:external-graphic

2002-03-12 Thread Michael Engelhart
I'm not using Tomcat.  I just have a standalone application that I'm using.   All the libraries are in a directory that I add to my classpath.   The error I'm getting is that the image is not found.

Thanks

mike
On Tuesday, March 12, 2002, at 11:17  AM, Guillaume Laforge wrote:

Hello Michael,
 
Do you still have the same problem ? (SVGDocument class not found ?)
I've got the same problem. It heavily depends on your tomcat version you are using.
A quick hack for me was to move batik.jar from my WEB-INF/lib directory to Tomcat's common/lib.
It works, but it's not very cool if you wish to make a deployable archive (a WAR file), because you have to install the WAR, AND THEN : Batik.jar in common/lib.
I think the problem comes from Tomcat itself, in the way it loads the jar files. The custom class loaders behaves totally differently between Tomcat 3.2 and Tomcat 4.0.x. And even between Tomcat 4.0.1, 2 and 3 
I dont have the problem with Tomcat 4.0.1 (jdk1.3.1 on Linux and on Windows2K) and the problem appears with Tomcat 4.0.3 on W2K. 
Did you find another solution to this problem ?
 
Guillaume


Re: Re mail-to

2002-03-12 Thread MARTIN Franck
I don't think it comes from that because the text is displayed correctly.

Brian O'Kelley a écrit :

 Is there any chance that the typo in address is causing you to
 generate the link mailto:;, which the browser then tries to turn into a
 valid http: url?

 Brian

 -Original Message-
 From: MARTIN Franck [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 12, 2002 11:29 AM
 To: [EMAIL PROTECTED]
 Subject: Re mail-to

 The simple example given earlier works but the following one doesn't.

 xsl:template match=identity
 xsl:element name=fo:basic-link
xsl:attribute name=external-destination
 mailto:xsl:value-of select=adress/email/
/xsl:attribute
xsl:value-of select=adress/email/
  /xsl:element
 /xsl:template

 An xslt engine would produce the following output : fo:basic-link
 external-destination=mailto:[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 /fo:basic-link

 This output is similar to the example that works.

 I believe this is a bug either in the xslt engine parser either in fop
 cause it should open the mail client rather than the browser

 Franck MARTIN



Re: Empty cells

2002-03-12 Thread Ian Taylor
Thanks for your suggestion Olivier, however empty-cells has not been 
implemented yet according to my version of FOP.

Is there another way, or am I still missing something?
At 02:31 PM 3/12/2002 +0100, you wrote:
Ian Taylor wrote:
Hello,
Sorry for the basic question, I am creating PDF forms which are 
dynamically populated using Java and this works fine. However it is also 
required that these forms can be printed without the data from the Java. 
When I do this, if there are any rows with all blank cells, the whole row 
just collapses.

I have looked on the w3c site but could not find the answer. Altering the 
line-height does not do anything. I have used 'invisible' characters to 
prop the row open till now but this has become impractical. I'm sure 
there is a very simple solution to my problem.

Regards
use the attribute empty-cells=show when declaring your table.



Re: Empty cells

2002-03-12 Thread Sebastien Foucault
Hello,

Try the following statement :
fo:table-row height=Xmm/ 
if you know the row height, it will probably help you...

Regards
--
Sébastien Foucault





Ian Taylor [EMAIL PROTECTED]
12/03/2002 17:46
Please respond to fop-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Re: Empty cells

 

Thanks for your suggestion Olivier, however empty-cells has not been 
implemented yet according to my version of FOP.

Is there another way, or am I still missing something?

At 02:31 PM 3/12/2002 +0100, you wrote:
Ian Taylor wrote:

Hello,

Sorry for the basic question, I am creating PDF forms which are 
dynamically populated using Java and this works fine. However it is also 

required that these forms can be printed without the data from the Java. 

When I do this, if there are any rows with all blank cells, the whole 
row 
just collapses.

I have looked on the w3c site but could not find the answer. Altering 
the 
line-height does not do anything. I have used 'invisible' characters to 
prop the row open till now but this has become impractical. I'm sure 
there is a very simple solution to my problem.

Regards
use the attribute empty-cells=show when declaring your table.







Re: merging two libraries

2002-03-12 Thread Alex McLintock
At 08:27 12/03/02, [EMAIL PROTECTED] wrote:
Hello all,
 I'm not familiar with FOP, but I can't help noticing
 that people are moving from FOP to iText and vice versa.
 As original developer of iText, a JAVA-PDF library, I already
 proposed you guys at Apache twice to join forces and to combine
 both libraries. I now subscribe to this mailing list only to
 ask you a third time to reconsider your refusal.

Bruno - Relax! Your antagonistic attitude does you no service.
I've been trying to look after the FOP FAQ for nearly a year now and although
I was aware of your software I had no knowledge that you were interested in 
joining forces.

Please learn a bit more about how Apache developers work. You can start off 
by joining the fop-dev mailing list which is of course better than the 
fop-user list for contacting the fop developers.




 Remark: sorry, but due to the lack of time to read all
 my mail as it is, I will now unsubscribe from the FOP mailing list.

Bruno - do you know how rude this is? You want to join forces but you 
wont even stay subscribed to the mailing list?

My comments are my own and do not reflect the FOP software developers.
Alex McLintock


RE: Re mail-to

2002-03-12 Thread Peter Velichko
Try to view the result of transformation in XML form

-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 6:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Re mail-to


I don't think it comes from that because the text is displayed correctly.

Brian O'Kelley a écrit :

 Is there any chance that the typo in address is causing you to
 generate the link mailto:;, which the browser then tries to turn into a
 valid http: url?

 Brian

 -Original Message-
 From: MARTIN Franck [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 12, 2002 11:29 AM
 To: [EMAIL PROTECTED]
 Subject: Re mail-to

 The simple example given earlier works but the following one doesn't.

 xsl:template match=identity
 xsl:element name=fo:basic-link
xsl:attribute name=external-destination
 mailto:xsl:value-of select=adress/email/
/xsl:attribute
xsl:value-of select=adress/email/
  /xsl:element
 /xsl:template

 An xslt engine would produce the following output : fo:basic-link
 external-destination=mailto:[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 /fo:basic-link

 This output is similar to the example that works.

 I believe this is a bug either in the xslt engine parser either in fop
 cause it should open the mail client rather than the browser

 Franck MARTIN







Re: FOP Update in Cocoon?

2002-03-12 Thread Carlos Araya
Not without a lot of headaches. Ask the question on the cocoon-users list.

Carlos

On 03/12/02 7:53, Skladov, Victor [EMAIL PROTECTED] wrote:

 Hi to all!
 
 Can anybody tell me whether it is possible to update FOP Version in
 Cocoon without downloading the new version of Cocoon itself?
 At the moment I'm using Cocoon2 and all FO archives stand in WEB-INF/lib
 directory.
 
 Thanx in advance,
 Viktor

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

We cannot put off living until we are ready. The most salient
characteristic of life is its  coerciveness: it is always urgent,  'here and
now' without any possible postponement. Life is  fired at us point blank.
Jose Ortega Y Gasset




Rendered SVG does not contain images from xsl:fo external-graphic/

2002-03-12 Thread Andrius Sabanas
Hello,
I would like to know if there is a convenient way to make preview images 
from xsl:fo documents. I tried rendering to SVG and feeding to Batik's 
JPEG transcoder, but it seems that the rendered SVG does not contain 
images specified with external-graphic/ in xsl:fo. Is this a bug or a 
not yet implemented feature?

In addition, Batik transcoder does not even display text when JPG is 
constructed. I am using embedded ttf for displaying text. The ttf is 
present in my system, of course. Can this be the problem?

Everything is ok when I render to PDF.
Andrius


FOP Performance Limitations?

2002-03-12 Thread David Le Strat
Title: FOP Performance Limitations?





All,


I am currently working on a project where we are dynamically creating PDF documents based on a user input. When a user selects a specific period of time, we pull out the matching records from the database, convert the dataset to XML and render a PDF report based on that dataset. Now, everything works fine when we are manipulating up to 200 records (we get the result in 1 or 2 minutes). However some reports manipulate 7000 or 8000 records and in these particular instances, the performance degrades fairly significantly (no report was rendered after 40 minutes).

Does any of you have any idea/input on how to improve performance using FOP in such cases and what type of performance we should expect for the above examples? 

Thank you for your help.


David Le Strat.





RE: table-cell vertical-align=bottom?

2002-03-12 Thread Costantino Sertorio

I tried, but it didn't work either. Are you sure that it's supposed to
work?
Thank you,

Costantino





Rob Smith 

[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
  
sys.com cc: 'Costantino Sertorio' 
[EMAIL PROTECTED]  
 Subject: RE: table-cell 
vertical-align=bottom?   
12.03.2002  

14:40   

Please respond  

to fop-user 









Put the vertical-align=bottom attribute on the table-cell element, not
the
block
--
Rob Smith


 As it appears from the template below, I'm desperately trying
 to align a table cell's content to the bottom. It seems to me that the
 vertical-align=bottom property does not work?
  fo:table-cell
  fo:block vertical-align=bottomtest test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test test test test test test test test test test test
 test test test
 test test /fo:block
/fo:table-cell







Re: FOP Performance Limitations?

2002-03-12 Thread David Wood
I've been making pretty big PDFs with a similar system and can share a few
off-the-cuff comments.

It's obvious to me that the structure of your fo document - sequences,
page layout, flows, etc - can make a significant difference in memory
usage and speed. However, I don't have enough concrete conclusions about
what exactly does what and how to offer any useful advice on that level...
perhaps others can help you there...

The big thing I noticed was page numbers. If you use them and especially
if you make references to them (i.e. building a table of contents) you'll
see a significant speed and memory impact. GC consequences to references,
perhaps.

Basically you need to tune your fop script to give FOP the maximum
possible heap size (i.e. fop.bat starts with java -Xmx256M ...). If you
make it too large, you'll discover that between Java and FOP the memory
access patterns will spank the shit out of your VM once the heap exceeds
the available RAM and you start to swap. Some observations of your
machine's memory availability during normal use and some experimentation
should get you to the right number.

Your experience of having 40+ minute rendering times is strongly
suggestive of swap binding. Practically speaking, you need to make your
heap small enough that java never swaps, and limit your recordset size on
the front end to make sure that you never hit that memory ceiling.

Between this and throwing hardware at the problem (multiple Xeons and 1GB+
RAM) we've made a go of it for 1000+ page documents. But of course every
recordset+template is different so that pagecount isn't necessarily
meaningful at all.

One thing that I haven't tried yet but am very curious to experiment with
is FOP + IBM JVM. CW has it that the IBM VM is significantly superior to
Sun's VM on both CPU and RAM efficiency.

If I manage to get to this, I'll post my results. If anyone else has or
happens to get to it first, I'd love to hear what happens. I mean, after
your write-once-porting-is-slightly-less-painful experience.

On Tue, 12 Mar 2002, David Le Strat wrote:

 All,

 I am currently working on a project where we are dynamically creating PDF
 documents based on a user input.  When a user selects a specific period of
 time, we pull out the matching records from the database, convert the
 dataset to XML and render a PDF report based on that dataset.  Now,
 everything works fine when we are manipulating up to 200 records (we get the
 result in 1 or 2 minutes).  However some reports manipulate 7000 or 8000
 records and in these particular instances, the performance degrades fairly
 significantly (no report was rendered after 40 minutes).

 Does any of you have any idea/input on how to improve performance using FOP
 in such cases and what type of performance we should expect for the above
 examples?

 Thank you for your help.

 David Le Strat.