Hi,
Dabkoski, Derrill a écrit :
I am attempting to upgrade to FOP 0.93 from 0.20. Unfortunately I am
getting a ValidationException saying I need to put fo:root at the top.
My first element is an xsl element, but the first fo: element is
fo:root. This is exactly the same format as the
Hi Deryl,
Deryl Seale a écrit :
Hello, everyone. Apologies in advance if this has been answered
elsewhere, but I have not been able to find a solution to my issue.
I am trying to render PDF content that contains embedded MathML, a
sample of which is contained in the message below. I found
Hi
I'm not very experienced with FOP, so please be gentle ;-)
The report I'm generating uses a historical view of events. Every event
must be kept in an atomic block, otherwise the report looks very messy.
For instance:
20th September 2006 Clinton wins soccer match
Hi Eric,
keep-together=always on fo:table-row is probably what causes the warnings.
You can try to remove this property.
Pascal
-Message d'origine-
De : Lewis, Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 juin 2007 13:39
Hi
I'm not very experienced with FOP, so please be
Hi Pascal
The problem is that if I use keep-together=auto, then the events are ripped
apart, like
20th September 2006 Clinton wins soccer match
-- Page break
bla bla bla bla
I want the events to be atomic, but
Hi,
I am trying to upgrade from 0.20.5 to 0.93 and stumble over the lack
of support for space-before which seems to refuse to work in
certain conditions.
Replacing space-before with margin-top (which has better support
in the new version) seems to produce the expected output.
Can anyone
Hi,
when I apply a start-indent to a fo:block containing a fo:table
each and every fo:cell inherits this start-indent, producing very
strange output.
Is this a bug or correct behavior?
This introduces a major incompatibilty for FO-Layouts written for
0.20.5 ...
Any ideas? Best
Are you sure the font used for the text really is DejaVu (check the
properties of the PDF file in your viewer)?
Yes, I am fairly certain it's DejaVu -- it visibly changes to what
I'd expect the font to look like, and upon inspection in the file
properties, I see the DejaVu font listed along
Eric, you can use the property orphans on fo:table-rows, telling the minimum
number of line in your row at bottom of page.
HTH,
Pascal
-Message d'origine-
De : Lewis, Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 juin 2007 14:02
À : fop-users@xmlgraphics.apache.org
Objet :
Hi, as the spec XSL-FO 1.1 says, there can be a difference between space-* and
margin-* (see the .conditionality component, witch defaults to 'discard' with
space-*):
The space-before, and space-after properties (block-level formatting
objects), space-start, and space-end properties
Hi Pascal
If I understand you right, you suggest something like
fo:table-row keep-together=always orphans=5
I just tried it, but it doesn't solve the problem.
The whole event is put into one table row, and the event data contains
pseudo-HTML (like br and p) which is translated into FO
Ho Alex,
There is no bug, but unexpected rendering...
There is a very nice Wikipage that explain the *-indent inheritence behaviour:
http://wiki.apache.org/xmlgraphics-fop/IndentInheritance
HTH,
Pascal
-Message d'origine-
De : Alexander Lohse [mailto:[EMAIL PROTECTED]
Envoyé :
-Message d'origine-
De : Lewis, Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 juin 2007 14:32
Hi Pascal
If I understand you right, you suggest something like
fo:table-row keep-together=always orphans=5
Yes, but you should remove the keep-together property here
I
Hi Pascal
Sorry if I'm not clear enough, I'll try to explain using an example:
Let's say that I have four events that I want to show. Every event represents
one table row and must normally (!) be atomic.
Thus, from this situation
+-+-+ -- Page start
| |
Hi,
I have the following problem. I need to place a link on a picture in my
PDF. Is there a specific manner to do in order to have the link in the
whole area of the picture. For the moment the link is just on the few
last lines of the picture.
I'm using FOP 0.93.
Thanks for your answers.
-Message d'origine-
De : Lewis, Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 juin 2007 14:57
Hi Pascal
Sorry if I'm not clear enough, I'll try to explain using an example:
OK, this list is made for that ;)
Let's say that I have four events that I want to show. Every
-Message d'origine-
De : Lewis, Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 6 juin 2007 15:33
Hi Pascal
Thanks! Now the only question I have is: How do I do it? ;-)
I mean, how can decide beforehand when I need to change the
'orphans' and 'keep-together'? If there was
Pascal,
I've already read that, but there is no real example, you talked about
font-size or wrapper but I don't see these elements in the examples.
So I try what I understood, mais this doesn't resolve my problem.
Have you a real XML example that shows the solution ?
Thanks
Cecile
Pascal
Well,
Here is a short snippet that illustrates what I said.
You need to set both font-size and alignment-adjust properties elsewhere.
fo:basic-link external-destination=http://your.link.here;
fo:wrapper
font-size={$graphic_height}mm
alignment-adjust=after-edge
Hi,
I created a code snippet to convert XML+XSL FO to PDF using FOP.
I am using OC4j as Application Server.
Here is the code:
FopFactory fopFactory = FopFactory.newInstance();
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
OutputStream out = new
Hi Pascal
Thanks for your help! I built in the following:
fo:table-row
xsl:choose
xsl:when test=text and string-length(text) 1800
xsl:attribute name=keep-togetherauto/xsl:attribute
/xsl:when
xsl:otherwise
Hi Vincent,
Thanks for responding. I was actually trying to get embedded java code
to work... I used the code exactly as it was in ExampleXML2PDF.java and
I got past that error. I'm not sure why my code didn't work since it
was identical except my code had fopFactor.setUserConfig() and
22 matches
Mail list logo