Hi Jeremias
Sorry, I should have written... I'm using FOP 0.93.
And no, I don't see any other error messages. The messages before and after
come from our own classes.
However, I set the log level to DEBUG, and this is what I see:
DEBUG PropertyMaker.findProperty: src, fo:external-graphic
Jeremias Maerki-2 wrote:
I cannot reproduce the problem. It works fine with Acrobat 8. On the net
I found references that this could be a bug in Acrobat 5 and/or 6. Some
also mention it has to do with images embedded in the PDF. What Acrobat
version are you working with? 135 is an error
Hi Eric,
I think FOP doesn't recognize the absolute path. Therefore it tries in
his home directory first.
Try to with file:/ (5 slashes). This works for me.
Or try without the file prefix.
Good luck
Stefan
Lewis, Eric schrieb:
Hi Jeremias
Sorry, I should have written... I'm using
Unless I have a way to reproduce the problem here (like an FO file, the
exact fonts and the exact PDF viewer in use) I don't have any
suggestions. I don't even know what the problem is, only that there is
one in certain PDF viewers. Sorry.
On 24.01.2008 09:57:13 [EMAIL PROTECTED] wrote:
Hi Stefan
Well, using
file:/C:/temp/CH3788_iis0001.tif
doesn't work for me.
And neither does
C:/temp/CH3788_iis0001.tif
I still get the error message...
Thanks anyway!
Eric
-Ursprüngliche Nachricht-
Von: Stefan Heuer [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24.
I am converting from HTML to XSL-FO and then to fop. If anybody has a
good way to do this I would like to know.
How do I convert the following fo2PDF method .20 fop calls to .94 fop
calls?
private static byte[] fo2PDF(Document foDocument) {
DocumentInputSource fopInputSource =
Everything I try here works fine. I can't tell what's going wrong. I
think you have no other option than to go debugging into the
org.apache.fop.image.ImageFactory class (method: loadImage()).
On 24.01.2008 09:44:21 Lewis, Eric wrote:
Hi Jeremias
Sorry, I should have written... I'm using FOP
Ok... while debugging I noticed that this function was called four times (for
two images), which made me a bit suspicous.
It turns out that the PDF render class does a two-pass rendering, once to build
the FOP are tree (I don't really know about this) and once to build the PDF
itself.
The
Thank you.
I am using FOP only for two weeks so everything is new to me and this
forum has been a great help.
J.Pietschmann wrote:
Tatiyana wrote:
I put two xml files in the fop command line, but I got errors in
unknown
location.
FOP does not support this.
You'll probably have to use
On 24.01.2008 14:03:37 Lewis, Eric wrote:
Ok... while debugging I noticed that this function was called four times (for
two images), which made me a bit suspicous.
It turns out that the PDF render class does a two-pass rendering, once to
build the FOP are tree (I don't really know about
OK, thanks for the explanation.
As for 'imgpath', yes that's in our code, see my example below:
xsl:template match=doc-page
xsl:variable name=imageFile
xsl:value-of select=concat($imgpath, @file) /
/xsl:variable
fo:block
fo:external-graphic
That makes no sense. The XSLT runs before FOP layout starts. There's no
interaction there. Either src has the right URI or not but there can't
be any difference between the two calls inside FOP because of that. If
the two calls are different all the same the reason must be another. Did
you manage
Well, it's not my code, so I don't really know it well.
However, it was like this:
if ( mimeType.equals( MimeConstants.MIME_PDF ) )
{
transformer.setParameter( imgpath, createUrl(
St36Constants.getSt36BaseDirectory() ) );
transformer.setParameter( onlybib_at_path,
On Jan 24, 2008, at 10:40, Glenn Brand wrote:
Hi
I am converting from HTML to XSL-FO and then to fop. If anybody has
a good way to do this I would like to know.
How do I convert the following fo2PDF method .20 fop calls to .94
fop calls?
Maybe I've missed someone's reply on this, but
On Jan 24, 2008, at 10:40, Glenn Brand wrote:
I am converting from HTML to XSL-FO and then to fop. If anybody has
a good way to do this I would like to know.
How do I convert the following fo2PDF method .20 fop calls to .94
fop calls?
Maybe I've missed someone's reply on this, but on my
Amick, Eric wrote:
I want to put some text in the region-start that is written vertically,
[...]
I've played with writing-mode and reference-orientation, but I can't
quite get that effect. Am I going to have to resort to putting the
individual characters in fo:character elements, or is there a
Thanks Andreas, I will take a look.
-Original Message-
From: Andreas Delmelle [mailto:[EMAIL PROTECTED]
Sent: January 24, 2008 11:05 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Need conversion from .20 to .94 for HTML to PDF conversion
On Jan 24, 2008, at 10:40, Glenn Brand
Hi Jeremias,
End o last year I wrote a custom URI resolver to augment SVG files with a
style entry. This has drastically influenced the PDF generation time. I
recall that during that time you mentioned you were updating the Image part
and that it would be easier when that was completed,
Andreas Delmelle wrote:
The most clever way I can think of in pure XSL-FO to mimic that would
be to inject linefeed-characters in the stylesheet, so it generates FO
like:
fo:block
linefeed-treatment=preservel#x0A;i#x0A;k#x0A;e#x0A;#x0A;t#x0A;h#x0A;i#x0A;s#x0A;./fo:block
Should work
Hi I know with fop we can generate PDF documents but can we print them
programatically without user intervention. I need to fetch the pdf files
from a folder and i have to send them for printing. no pop up and no user
intervention should be there. It should happen silently in the background.
20 matches
Mail list logo