On 23.01.2008 20:59:03 Alexander Lohse wrote:
> Hi Jeremias,
>
> :-)
>
> Thank you for making this clear!
> I will fix the styles and be happy ever after ...
> (One sad thing is, that it's really hard to keep FOP Up-To-Date since
> all our clients stylesheets need to be update everytime a new r
Hi Eric
What FOP version are you currently working with?
If you're using current FOP Trunk, you may need to put JAI Image I/O
Tools [1] into your classpath to have a TIFF codec. More on the new
image support will appear shortly on [2] (which I forgot to update after
changing). However, the "Image
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
DEBUG
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 erro
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 F
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:
>
>
> Je
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. Janu
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 = n
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 FO
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 probl
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 t
OK, thanks for the explanation.
As for 'imgpath', yes that's in our code, see my example below:
> > >
> > >
> > >
> > >
> > >
> > >> > content-width="16.8cm" src="{$imageFile}" />
> > >
> > >
-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto
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 o
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 s
I want to put some text in the region-start that is written vertically,
i.e.,
l
i
k
e
t
h
i
s
.
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
On Jan 24, 2008, at 22:15, Amick, Eric wrote:
Hi
I want to put some text in the region-start that is written
vertically, i.e.,
l
i
k
e
t
h
i
s
.
I've played with writing-mode and reference-orientation, but I
can't quite get that effect.
Which combinations did you try exactly?
Refere
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 wrot
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, because
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:
linefeed-treatment="preserve">l
i
k
e
t
h
i
s
.
Should work nicely.
Another trick might be to make an fo:block suff
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.
C
24 matches
Mail list logo