Roland,
that's exactly the kind of stuff I wanted to hear. Thank you very much.
Some comments inline...
On 09.12.2005 00:57:47 Roland Neilands wrote:
Jeremias,
I haven't test it thoroughly yet, but you asked, so but here's what I've
seen:
1. Images are not scaled overrun
I've just fixed that. Thanks for spotting it.
http://svn.apache.org/viewcvs?rev=355401view=rev
As a little thank you I've implemented that XSLT parameter you've
suggested last month. See:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200511.mbox/[EMAIL
PROTECTED]
I think I need to correct myself. The way the line number information is
implemented it's only available during FO tree building and validation
but not after that. I was just working on reporting overflow conditions
during layout where I wanted to make sure that as much context
information is
I need to draw a rounded rectangle around an area on a document.
Setting the background-image property seems to be the way to go. What
tools are best for generating the image? Background-image limits me
pretty severely in what I can specify.
Peter
---
[This E-mail has been scanned for
SVG images work nicely as background images. Just use a tool like Adobe
Illustrator, CorelDraw or even Inkscape to create the SVG with a rounded
rectangle. The only problem is that you need to know the exact size of
the rectangle beforehand as you can't scale background images. Some
manual
You know what? Is the patch already in the new Alpha release? Cause if it is
then it's not worth my time applying it to FOP-0.20.2. I've already tried my
stylesheet with the alpha version and I still have the memory issue.
On Thursday 08 December 2005 10:17 pm, Andreas L Delmelle wrote:
On Dec
The layout engine of 0.90alpha1 works differently. It's a bit difficult
to compare the two versions. But I'd have to say the same optimization
is currently not possible in 0.90/Trunk unless we extend the breaking
algorithm to support a first/best fit strategy so the objects can be
released early
Thank you all so much. I have another question though. Why is it that I would
get the same OutOfMemoryError on the XEP personal edition? That's what has me
wondering if it's really something wrong with my FO syntax or my stylesheet.
It has me wondering about one section in my stylesheet that
Thanks for that. I have tried OpenOffice Draw, exporting to SVG, but
Gimp doesn't like the result (it complains that no image size is specified.)
In practiavl terms, do I need a border around the border-line I am
drawing, so that I must make the target are a little larger to
accomodate the
Hi Andreas,
Sorry, that was a typo in my mail. It was the correct option -fn I
used.
I just double-checked by running the command again to make sure.
... what name you *do* get as a result?
Well, for example, if I try it with Letter Gothic Bold, and use the
option:
-fn LetterGothicBold
On 09.12.2005 16:00:26 Peter B. West wrote:
Thanks for that. I have tried OpenOffice Draw, exporting to SVG, but
Gimp doesn't like the result (it complains that no image size is specified.)
This is the raw SVG I get from Inkscape for a rounded rect. I'd play a
little with the values there,
Hi, Jeremias,
I have run 0.90alpha1 on a couple of my larger documents, and I have
bumped into only two issues (one of which causes real trouble for me):
1. Images are not scaling to fit the space in which they are placed. I can
live with that, because I can go scale the images by hand before
Hi J
You should really read the Upgrading document. It's all there:
http://xmlgraphics.apache.org/fop/0.90/upgrading.html
Both problems are easily solvable:
1. A content-width=scale-to-fit will do what you want. It was 0.20.5
that was wrong here. BTW, adding the scale-to-fit will make the whole
I did read the upgrading page. It doesn't mention scaling.
1. A content-width=scale-to-fit will do what you want.
Well, no, it won't, actually. The trouble is that I don't want images that
are less than the width of the page to be expanded to the width of the
page. The old behavior of scaling
On Dec 9, 2005, at 15:33, Clifton Craig wrote:
Why is it that I would get the same OutOfMemoryError on the XEP
personal edition?
That's what has me wondering if it's really something wrong with my
FO syntax or
my stylesheet.
It has me wondering about one section in my stylesheet that
On 09.12.2005 17:06:00 JBryant wrote:
I did read the upgrading page. It doesn't mention scaling.
Well, it mentions instream-foreign-object and a Buzilla entry that
explains a lot there. But maybe we need to make that a little clearer.
Sounds like that FAQ Roland suggested might yet be
On Dec 9, 2005, at 17:33, Jeremias Maerki wrote:
On 09.12.2005 17:06:00 JBryant wrote:
The trouble is that I don't want images that are less than the
width of
the page to be expanded to the width of the page. The old behavior of
scaling images that exceeded the size of the container to fit
Yeah, that's more or less what the formatter should be doing. The
problem is that i-f-o and e-g both only create a Knuth box which has a
fixed size. No shrink/stretch there, yet.
On 09.12.2005 17:47:13 Andreas L Delmelle wrote:
On Dec 9, 2005, at 17:33, Jeremias Maerki wrote:
On 09.12.2005
Has anyone seen this error before
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Had IO Exception with stylesheet
file:
Well, now I'm investigating how to get the content-width of the image and
see if that exceeds the content-width of the content rectangle that will
hold the image.
Support for the scale-down-to-fit value for the content-width property
would work nicely. If I were to request an enhancement, that
Hi,
I just added a root node. But it has no effect on the transformation both
the fo and pdf do not conatain any xml input. It seems the xsl
tranformation just ignores the hello tag.
cheers,
Pete
--- Ursprüngliche Nachricht ---
Von: Andreas L Delmelle [EMAIL PROTECTED]
An:
On Dec 9, 2005, at 18:41, [EMAIL PROTECTED] wrote:
Pete,
I just added a root node. But it has no effect on the
transformation both
the fo and pdf do not conatain any xml input. It seems the xsl
tranformation just ignores the hello tag.
Is that the stylesheet with or without the
Hi,
for this test I used the stylesheet with the xsl:for-each tag. I was hoping
the transformation would pick up the xml tag with the input.
I'm also 100% clueless...
cheers,
Pete
--- Ursprüngliche Nachricht ---
Von: Andreas L Delmelle [EMAIL PROTECTED]
An:
On Dec 9, 2005, at 19:36, [EMAIL PROTECTED] wrote:
Hi,
for this test I used the stylesheet with the xsl:for-each tag. I
was hoping
the transformation would pick up the xml tag with the input.
BTW: What do you mean by the FO not containing any xml input? Is
there nothing in the FO at
No offense taken ;o) Yes, I did correct the mistake.
Fo without input looks like this:
?xml version=1.0 encoding=UTF-8? fo:root
xmlns:fo=http://www.w3.org/1999/XSL/Format;
xmlns:xdt=http://www.w3.org/2004/07/xpath-datatypes;
xmlns:fn=http://www.w3.org/2004/07/xpath-functions;
On Dec 9, 2005, at 19:56, [EMAIL PROTECTED] wrote:
No offense taken ;o) Yes, I did correct the mistake.
Arrgh, *my* mistake...
xsl:for-each select=*/Hello
or
xsl:for-each select=root/Hello
should do the trick.
Tested and confirmed.
Cheers,
Andreas
On Dec 9, 2005, at 20:04, Andreas L Delmelle wrote:
On Dec 9, 2005, at 19:56, [EMAIL PROTECTED] wrote:
No offense taken ;o) Yes, I did correct the mistake.
Arrgh, *my* mistake...
xsl:for-each select=*/Hello
or
xsl:for-each select=root/Hello
or
xsl:template match=root
instead of match=/
Are you using some kind of special parser? Or is this maybe a bug
in my fop version?
My configuration:
Servlet:
handler.startElement(, , root, atts);
handler.startElement(, , Hello, atts);
handler.characters(Hello.toCharArray(), 0, Hello.length());
handler.endElement(, , Hello);
Ok, I've been toiling over this for far too long and I'm 'bout to be fired as
a result. I really need some help. My report works as follows. Depending on
what option the report runs with there will be nested group/ elements
representing the layout of the data respective to the UI selection.
On Dec 9, 2005, at 20:28, [EMAIL PROTECTED] wrote:
Are you using some kind of special parser? Or is this maybe a bug
in my fop version?
My configuration:
Errmm, you're right again. Sorry, no that's not it... By testing, I
meant running the XSLT with an XML corresponding to the SAX events
I finally got the danged thing to download from the svn repo. Took me all day
to figure out how to get around our doggone proxy. I'm going to try building
it and see if that will fix my problem. In the interim if somebody could help
me with an algorithm I'd be ever so grateful. I'm an ameture
I wrote an extension function in Java for Saxon that gives me the width
(and height, but that's less relevant) of an image. Then, if the width is
greater than 5.5 inches (the space I have available for screen shots in
this document format), the XSLT adds the content-width=scale-to-fit
Charles Murphy wrote:
javax.xml.transform.TransformerException: Had IO Exception with stylesheet
file: .\report_drivers\Includes.xsl
The Java library had problems accessing the file Includes.xsl.
Check whether you can open the file with some other tool (you
seem to run Windows, try Notepad).
so I'll let you know more detail soon (later today).
I had to add width=100% to my fo:table instructions to avoid a warning
message.
I'm more than a bit of a purist (and a perfectionist, too), so I don't
think I'm done coding until I get 0 warnings. So, 0.90alpha1 worked on
most of my files
An additional update to my testing:
After reading the spec, I thought of trying to make the image a fixed
width, so I tried
fo:external-graphic src=someimage.gif content-width=5.5in/
That makes images less than 5.5 inches wide be 5.5 inches wide, but the
PDF file created by FOP still blows up
Hi guys,I need to put some content into columns dynamically with XSL-FO. I've a template called AnswerKeySection which can have one or more AnswerKeyQuestions. Now I need them arranged like 3 AnswerKeyQuestions into 1 row. So I want something like Question1 Question2 Question3
I think you will find the following
XSL snippet useful (I think it does exactly what you want):
fo:table
table-layout=fixed width=100%
fo:table-column column-width=proportional-column-width(1)/
fo:table-column column-width=proportional-column-width(1)/
fo:table-column
It seems that this is a most clear way for
me. Unfortunately, Im not so familiar with some concepts that you said. Do
you know any document that a little more explain about this way SpreadsheetML, transformer.
Thanks
Farid
-Original Message-
From: [EMAIL PROTECTED]
38 matches
Mail list logo