Hello,
I am generating a PDF using FOP. I have table which contains large text in
cells. This text goes into the next column messing up the data. Following is
my xsl -
fo:table-cell padding=2pt border=0.2pt solid black width=auto
fo:block-container width=60px height=10px
Jeremias Maerki wrote:
My suggestion: Use 0.95beta and
inline-progression-dimension.maximum=100%
content-width=scale-down-to-fit to restrict the images to a maximum
size.
FOP always uses the image's resolution to determine the intrinsic size.
Only if an image has now explicit resolution, the
Hi,
SanjeevGour wrote:
Hello,
I am generating a PDF using FOP. I have table which contains large text in
cells. This text goes into the next column messing up the data. Following is
my xsl -
fo:table-cell padding=2pt border=0.2pt solid black width=auto
fo:block-container
This is an FAQ. Please see:
http://xmlgraphics.apache.org/fop/faq.html#cells-overflow
There are a number of posts about this on the mailing list archives, too.
Good luck!
BTW, overflow=scroll doesn't have an effect in FOP!
On 10.07.2008 08:29:15 SanjeevGour wrote:
Hello,
I am generating a
Thanks for your response. I thought there might be some value for overflow
attribute which can handle this. Can you give me some idea about how to
insert zero width spaces using a xsl function?
Thanx.
Sanjeev.
Vincent Hennebert-3 wrote:
Hi,
SanjeevGour wrote:
Hello,
I am generating a
Excuse me for the delay.
More explicetely, the PNG image loses the brilliance when included in PDF
with FOP.
I attach an example of such a PDF (
http://www.nabble.com/file/p18380833/test-png-sans-output.pdf
test-png-sans-output.pdf ) and the original image source (
Hi,
I am in the process of creating a nested fo:list-item for a project. If I
set the fo:list-item-label end-indent=label-end() and fo:list-item-body
start-indent=body-start() I get about 1/4 inch space between
fo:list-item-label and the fo:list-item-body e.g.
1.This is a test
But I need
On 10.07.2008 13:28:05 Dominique Bourely wrote:
Excuse me for the delay.
More explicetely, the PNG image loses the brilliance when included in PDF
with FOP.
I attach an example of such a PDF (
http://www.nabble.com/file/p18380833/test-png-sans-output.pdf
test-png-sans-output.pdf ) and the
Just to add a note that I could resolve this problem using zero width spaces-
I used the following xsl to add zero width space after each character-
xsl:template name=zero_width_space_1
xsl:param name=data/
xsl:param name=counter select=0/
xsl:choose
xsl:when test=$counter lt;
Hi,
I'm sure someone did this before and has a quick solution :-)
I'd like to pipe through fop ... something like.
process1 | fop -xsl my.fop.xsl -outpdf dummy.pdf
Reason:
A perl-cgi script needs to call fop using always the same xsl file.
It generates xml data by user (web) request and wants
I believe the provisional-label-separation property will do the trick;
it specifies the distance between the end of the list-item-label and the
start of the list-item-body. It's inherited, so you can put it on
fo:list-block or some ancestor of fo:list-block to get the desired
effect.
FOP can't send its output to sysout, yet. So it's difficult to put it in
a pipe that way. A little Java program around FOP could do the trick (in
the short term). Of course, it would be better to add a command-line
argument to send the output to sysout instead of to a file. No quick
solution here,
Jeremias Maerki-2 wrote:
[...] No quick solution here, I'm afraid.
*gnarf* - okay, let's give it another try:
Anyone else who did this java code thingy before?
Source welcome :-)
Once again: ty in advance.
--
View this message in context:
Hi,
I just tried to read the PDF with both Foxit Reader v2.3 and Adobe Reader 8.1.2.
Foxit Reader gives expected color, while Adobe Reader Doesn't.
HTH,
Pascal
-Message d'origine-
De : Jeremias Maerki [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 10 juillet 2008 14:29
On 10.07.2008
That's because Foxit Reader doesn't do color management and Adobe Reader
does.
On 10.07.2008 15:51:59 Pascal Sancho wrote:
Hi,
I just tried to read the PDF with both Foxit Reader v2.3 and Adobe Reader
8.1.2.
Foxit Reader gives expected color, while Adobe Reader Doesn't.
HTH,
Pascal
Thanks Eric,
Works great:
fo:list-block space-before.optimum=5pt
provisional-distance-between-starts=4mm
provisional-label-separation=4mm
Best Regards,
Bones
Amick, Eric wrote:
I believe the provisional-label-separation property will do the trick;
it specifies the distance between the
J.Pietschmann wrote:
java.lang.RuntimeException: Cannot load font: failed to create Source
from
metrics file
jar:file:/var/lib/ [snip]
The embedded file URL ist malformed, maybe the recursive URL resolver
doesn't like this. Try jar:file:///var/lib/... and check whether this
helps.
Hi Jeremias,
Here is the PDF file produced by the distiller within Photoshop
http://www.nabble.com/file/p18386294/testATS.pdf testATS.pdf
Jeremias Maerki-2 wrote:
On 10.07.2008 13:28:05 Dominique Bourely wrote:
Excuse me for the delay.
More explicetely, the PNG image loses the
Hi, i am using apache fop for almost 2 years and i encountered it a great
tool. i am using the compiled version: Build-Id: 20070818-190950-GMT+01:00
(vincent [Linux 2.6.20-16-generic i386, Java 1.4.2_14-b05]) and everything
works fine.
But recently, i made a report who has the next xsl-fo:
?xml
Thanks for the PDF. That brought me on the right track. There's
absolutely nothing wrong about the color spaces in FOP. They are the
same as in that Photoshop PDF. The only difference I found was the lack
of a soft mask (transparency layer) for the image.
Your PNG file has 32 bit, i.e. includes
We have found an issue with the padding-top property used in the region-body
object in FOP 0.94. Bear in mind we are newbies, and, while it appears from the
W3C website this property can be used with region-body, maybe it can't. Also
the Apache FOP Compliance Page implies full support for this
I've implemented piping support for FOP Trunk. Please try it out and let
me know if it works as expected.
http://svn.apache.org/viewvc?rev=675698view=rev
HTH
To do this in a separate Java program:
- Use the ExampleXML2PDF example:
When I copy/paste your layout-master-set into a hello-world FO file and
run it I don't get that error message. Instead I get the one I was
expecting:
Border and padding for region body must be '0' (See 6.4.13 in XSL 1.0).
padding-* does not apply to fo:region-body. See:
We have found an issue with the padding-top property used in the
region-body object in FOP 0.94. Bear in mind we are newbies, and, while
it appears from the W3C website this property can be used with
region-body, maybe it can't.
It can't. Padding and border-width must be 0 on all regions. The
Please don't post XSLT stylesheets, just plain FO files. Having to deal
with XSLT makes it less likely for people to take the time because of
the many problems that can occur (like missing XSLT extensions, reliance
on certain XSLT parameters, etc.) In your case, the XML file doesn't
match the
Jeremias Maerki a écrit :
The work-around it seems is:
- either to convert the PNG from 32bit to 24bit (removing the alpha
channel)
- or skip generating the alpha channel for PDF output. See
ImageRenderedAdapter.setup(PDFDocument) (the line with this.softMask =
can be commented and the colors
Jeremias Maerki a écrit :
There's no treatment or the image itself, just evaluation of
information inside the image being loaded. FOP reacts on the and tries
to put the right information inside the PDF.
This was not clear in our mind since I had a vague feeling I had seen
things like gamma
I get the error (only one region-body...) if I attempt to generate the PDF
using the XML/XSLT files.
If I generate and then try to render?the FO file, I also get the padding must
be zero error.
We didn't read the tutorial section?well enough; It also says that padding and
border-width
Ok, sorry, i will post plain fo file as soon as posible.
but the second case you are mention on, both xml have:
at the begining:
?xml version=1.0 encoding=UTF-8?
xmlreport
and at the end:
/xmlreport
so, the xml isn't the problem, they work fine.
But as you said, i will generate plain fo file
Is there a version of FOP that will work with Java 1.5?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Steve Peery wrote:
Is there a version of FOP that will work with Java 1.5?
The current one works fine...
Daniel
--
Daniel Noll
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Please note that with my latest discovery this (color profiles) becomes
somewhat irrelevant here. The route to follow is to investigate how to
improve the handling of the alpha channel in PDF. I believe we're
missing something here. If I had enough time to pursue this, my first
task would be to
32 matches
Mail list logo