:185)
at com.caucho.xml.SAXBuilder.popElement(SAXBuilder.java:291) at
What version of FOP are you running? Can you provide a sample FO that
causes the error (not XML + XSLT)
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL
-container element
but after the xsl:template, e.g.:
xsl:template match=employee
fo:block break-after=pagefo:leader//fo:block
fo:block-container position=absolute .
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
with this?
Hi Louis,
I believe support for table column/row backgrounds has only recently
been added to FOP. So try it in 0.95beta, I think it works there.
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Dirk Eiden wrote:
Hello,
I got a problem with linefeed-treatment='preserve' and hyphenation:
This is a known bug. See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=38264
snip/
Chris
-
To unsubscribe, e-mail
with the version of Batik which it
is tied to. So you must use the version of batik that is shipped in
fop\lib directory in order to render SVG within FOP correctly.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
-row is still split up across pages? I
think you should use keep-together.within-page=always instead of auto
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the explanation Jeremias. I've raised a bug so we don't
forget about this limitation.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44507
Jeremias Maerki wrote:
The problem with PCL (or at least PCL5 which I've worked with) is that
it doesn't support clipping [1]. Clipping
:
fo:marker marker-class-name=warn-summary-continuation
fo:inline xsl:use-attribute-sets=front-back-matter-header
xsl:text - Continued/xsl:text
/fo:inline
/fo:marker
HTH,
Chris
-
To unsubscribe, e
. However, you cannot pass an image (e.g. jpeg or gif)
directly to FOP. Perhaps I misunderstood what you meant.
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for the
diacritic characters. If the Font you specified in the XSL-FO does not
contain glyphs for the characters then # is output instead. Which
font-family have you specified in the XSL-FO?
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Cristian Ferrero wrote:
thanks Chris i will take a look ,,, and something similar
can i conditionate what i put inside an xsl-region-after to be printed
only in last page (if i have more than one) ?
Yes - you can create a separate fo:simple-page-master for the last page
only and give
Cristian Ferrero wrote:
Chris, it worked, the problem is that sometimes will have more than one
page (works fine, shows what i want in last page), but when exists only
one page i need las't page footer not first.)..do you understand me ?
Yes I understand. What you need is page-position
=discard. So you can't use that!
BTW, where I can find some tutorial for fo files? I couldn't found some,
and in most cases I'm learning from fo files included in the apache fop.
Have a look at
http://xmlgraphics.apache.org/fop/resources.html#documents
Chris
.
Regards,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-container position=absolute top=15cm left=10cm
fo:block span=all
This only has meaning for regions with a column-count 1 and I don't
believe it will help you here.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
them to be changed on a document by document
basis. Currently its not possible for options which are not implemented
as extension elements which can be an annoying restriction in some projects.
I have no time to help with the implementation though!
Thanks,
Chris
element, e.g.
fo:root language=en
fo:layout-master-set
...
fo:page-sequence master-reference=a4
...
/fo:root
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
smaller so that the
pixels are packed more densely. However, you can't set the size of a
image included via background-image attribute. In this case I think FOP
just assumes a default DPI of 72 DPI.
Chris
-
To unsubscribe, e
that it is possibly a bug.
This is a bug and has already been raised in bugzilla, see :
http://issues.apache.org/bugzilla/show_bug.cgi?id=40798
The bug even has references to the part of the code which is at fault.
This is open source so patches are welcome :)
Chris
-with-previous work fine in v0.94. I think
there might be some bugs relating to tables and keep-with-previous. Can
you explain what you mean by desired outputs? A small example XSL-FO
would be most helpful in understanding the problem.
Thanks,
Chris
-* properties are
only supported on table-rows in 0.20.5. If you want better support for
keep-* properties then you will need to upgrade to 0.94. I strongly
recommend the upgrade anyway as 0.20.5 is now very old and many other
bugs and limitations have been addressed in 0.94.
Chris
snip
doc.fo
^
Close, but the xsl file does not match the file shown above. IIUC then
the command should be:
fop -xml table_sample.xml -xsl docboook-xsl-1.72.0 -foout doc.fo
Will the xsl-fo file be output in the same directory?
Yes
snip/
Chris
need to compare the code that sets
the response headers in your 0.20.5 servlet against the 0.94 servlet.
snip/
I don't think the effect of blank pages could be caused by incorrect FOP
configuration.
Chris
-
To unsubscribe
the document being
printed correctly.
(I also have a problem with AWT rendering integrated within my java
program... would this be a good place to ask)
Yes.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
to unload FOP or is this simply a bug?
I don't think this has anything to do with FOP, but could be wrong. It
would certainly help people to answer your question if you told us:
1) Which web container you deployed your servlet in.
2) How you achieve the undeploy of the servlet?
snip/
Chris
/Format;
Does your XML input contain 2 printspecification elements? I would guess
that is the most likely reason you end up with 2 fo:root nodes in the FO
file?
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
on the fo:page-sequence element.
Specify force-page-count=no-force on fo:page-sequence and it should
fix your problem.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the
fonts from the config-xml, and nicely delivers StreamSource from
InputStream from JAR.
Is there a way to display a more verbose error message, maybe
containing a font name, which URI is missing?
Not sure. perhaps someone else will know.
Chris
[1] http://xmlgraphics.apache.org/fop
fo:static-content flow-name=xsl-region-after
fo:blockfo:page-number //fo:block
etc
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
will
need to change the Font Family to one which does a glyph for the German
Umlaute character.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
with an
encoding problem than a Font problem. What is the encoding of the source
XML and XSLT files? The XML parser looks at the Byte order Mark as
well as the XML processing instruction.
Chris
-
To unsubscribe, e-mail: [EMAIL
in the strings to be placed in table cells. This gives FOP
more break possibilities and improves the chances of a good looking layout.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
the PDF-in-PDF feature was for
fo:external-graphic only and not background-image attribute. Can you
confirm (since the Wiki says fo:external-graphic only) that
background-image=foo/bar.pdf will embed the elements of an existing
PDF into the background?
Thanks,
Chris
configuration file fop.xconf.
If you are still having trouble then post back here with a clearer
description of the problem, some sample FO and a sample fop.xconf file.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
.
List items are split into Labels and Body elements. Its completely
normal to use one font for the label and a different font for the body.
A lot of bullet style glpyhs are available in the ZapfDingbats font.
Then you can use a Font containing Japanese glyphs for the list body.
Chris
element
fox:outline to create bookmarks in the PDF. However, XSL-FO 1.1
introduced the element fo:bookmark to create PDF bookmarks and FOP 0.94
supports fo:bookmark instead of fox:outline.
Chris
-
To unsubscribe, e-mail
compression, white-is-zero encoding. How can
i check the first caracteristic?
bi-level mean Black White. Another way of writing the above statement
is that FOP doesn't support colour Tiffs.
snip/
Chris
-
To unsubscribe, e
understand your requirement. Unfortunately there is no way to achieve
it in XSL-FO 1.1. Sorry,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
don't know anything about
docbook since the focus of this list is XSL-FO and FOP. Therefore you
are far more likely to receive a helpful reply by posting your question
to the docbook-apps mailing list.
Thanks,
Chris
in the 0.20.5 code yourself.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
fma-001 wrote:
Hi Chris,
thanks for your hint - it's good to know. But my problem is: I do not know
when to break a page (since the document is a huge list with no manual
break).
How do you generate your FO? Using XSLT? I'm not suggesting that
breaking large page-sequences into smaller ones
-compliance is used to
tell the PSPageDeviceDictionary to avoid putting out the same
information on every page.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of the PS Renderer element:
dsc-compliantfalse/dsc-compliant
HTH!
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-printed forms.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
mentioned. its really very easy, after
downloading just run ant in the root directory where FOP is installed!
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
parser,
which is a very old implementation and doesn't work properly. Please
check your websphere classpath and ensure that the xerces parser shipped
with FOP (in the lib sub dir) has higher priority on the classpath.
snip/
Chris
would also be useful.
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, I request you to please provide the steps.
You need a Font which has bold and italic glyphs for Chinese Characters.
ArialUnicodeMS does not contain any bold or italic glyphs. This question
has come up many times before. You could try searching the archives for
Font suggestions.
Chris
a home written Java application which
calls the FOP API? The API changed considerably between 0.20.5 and 0.9x,
so you will need to rewrite your program.
See the website for details of other key differences between 0.20.5 and
0.9x:
http://xmlgraphics.apache.org/fop/0.94/upgrading.html
Chris
Tomas Studva wrote:
Hi,
when I include gif/png image into fo and render it by FOP to PDF, it
looks not OK.
snip/
Image is rendered with gray line at top border and bottom border, but
line aren't in image.
What version of FOP are you using?
Chris
. And the Codec provided with graphics-commons
(included with FOP) doesn't supported CCITT encoding.
Chris
snip/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-collapse_collapse. Note; that these files are not strict FO
files, they have some XML around the FO, but the FO is easy enough to
extract from here.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
: ./fonts/
base and font-base are supposed to be URLs. I dont think relative paths
can be used for the base. So try file:///c:/fop/fonts/ (replacing the
path to your actual path to the FOP Fonts directory on your system)
Chris
Jeff Sese wrote:
Thanks, I have tried it, but the text from the other block overlaps the
block-container. How can I avoid this?
You Can't. The only way to achieve what you need using XSL-FO 1.0 is
side-floats. But as you already discovered FOP doesn't support
side-floats :(
snip/
Chris
to control how
your text will be aligned in the y axis, i.e. display-align=bottom
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nancy_b wrote:
Hi dear Chris! So you mean that this problem refers to some xsltproc issue...
yes thats what it sounds like from what you've said!
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
, the watermark
does not appear on page2, it appears on page 1 though.
A block container placed in the flow will only appear on 1 page. Try
putting the block-container in a static region instead.
snip/
Chris
-
To unsubscribe, e-mail
unfortunately wrap-option=wrap doesn't appear to be working in 0.93 or
the Trunk code :(
Hyphenation should work if you have installed the French Hyphenation
patterns and the text in the table cells are really words and not serial
numbers or codes.
Chris
-FO.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. FOP has been completely
re-written! Some of the changes are listed here:
http://xmlgraphics.apache.org/fop/changes.html
It is a very long list but its not complete! There is an entry for CID
font support near the top.
Chris
is not in the classpath of
your Application server.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
be used to control the log level:
org.apache.commons.logging.LogFactory.setAttribute(level,fatal)
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as Postscript and
send the Postscript to the Printer. The quality of Postscript generated
by FOP is not dependent on JDK version or o/s.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
by the OP of this thread, i.e.
page-position=last doesn't work when using force-page-count. So I
don't think a new bug needs to be opened.
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
as:
page-position=last doesn't work with force-page-count.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
if this is in accordance with the recommendation ?
Are you using FOP 0.93? If so there was a bug identified and fixed
recently in the way force-page-count works. To get the fix you will need
to download the Trunk version from Subversion and build it yourself.
Chris
master-reference=framsida/
/fo:repeatable-page-master-alternatives
/fo:page-sequence-master
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
XSLT questions:
http://xmlgraphics.apache.org/fop/maillist.html#xslt-mulberry
Of course, thats assuming that you are using XSLT to generate the
XSL-FO. If you're not then its up to whatever process you use to create
the XSL-FO to correctly compute the numbers in fo:list-item-label
Chris
functionality supported by
FOP so just because all test pass doesn't guarantee that nothings been
broken but it offers some level of reassurance at least.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
-width=60mm /
/fo:basic-link
/fo:block
Where $logo is set to a gif file and $banner_link is
http://www.google.com;. The link appears only at the bottom of the
image. Is there a way I make the whole image a link?
What version of FOP are you using?
Thanks,
Chris
cannot find the fonts.
What can I do?
PCL Renderer using AWT Fonts instead of Fonts registered under the PDF
Renderer. The Fonts available to AWT depends on the Operating System and
the Fonts installed for that o/s.
snip/
Chris
. The
Java memory is always capped at about 95,000K (95megs). Can anyone please
provide some input into this? Thank you!
You mention MS-DOS, so I guess you must using Windows. What version of
Windows are you using and what JDK version? Also, what version of FOP
are you using?
Thanks,
Chris
with FOP. ChartFX can generate SVG which is the
preferred method because it uses less space than a BMP and maintains a
higher image quality. ChartFX can also generate JPG or PNG if you really
need to work with rasterized images.
snip/
Chris
metrics between
AWT and PS/PDF exists regardless of the new auto font detection patch.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not be
used to parse Java Swing classes.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
Possibly caused by the wrong separator being used.
snip/
Chris
://xmlgraphics.apache.org/fop/0.93/output.html#pcl
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Daniel Noll wrote:
Chris Bowditch wrote:
snip/
Has anyone seen this exception before? Is it a bug in FOP, or is it
solveable by filtering the FO file to repair it somehow?
I've seen similar ClassCastExceptions, but they were caused by
fo:wrapper being in places FOP didn't expect
engine
directly to FOP.
2) tell FOP to use Saxon instead of Xalan. An explanation of how to do
this has been posted up manay times before. A quick search of the
archives revealed this post:
http://marc.info/?l=fop-userm=117321155708989w=2
Chris
anything
(no properties have been set on it), you can remove it without changing
the output and the error should disappear.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as easy to just try PNG output from gtkmathmlview
as well.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a snippet of you fop.xconf
file we might be able to offer more help.
Chris
snip/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
if you want the block
container placed relative to the top left coordinates of the page. Did
you try that?
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that only a certain part of a page is printable. Fiddling around with
the margins of the simple-page-master could help with this, but is there
another way?
Setting the margins on the fo:simple-page-master element is the correct
approach to dealing with unprintable areas on a page.
snip/
Chris
around
the inline isn't enough. The attributes relating to absolute position
have to be moved off thye fo:inline element and onto the
fo:block-container element.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
:
java -cp %LOCALCLASSPATH% org.apache.xalan.xslt.Process %*
which will always ensure ALL arguments specified to the batch file are
passed onto Xalan.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
in pixels with device
independent measurements. In theory whilst FOP support px as a
measurement unit, in practise it doesn't work so well because its a
device dependent unit of measure.
snip/
Chris
-
To unsubscribe, e
-position=absolute and absolute-position=fixed. IIRC, the
fixed setting must be used to position the BC relative to the top left
of the page.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
border-collapse=collapse. Sorry
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
page breaks mid row using keep-together=always on the
fo:table-row element. That way the price will always be aligned to the
bottom of the description in the first column.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED
versions that your JDK might be picking up.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. Of course, this may also not be
appropriate if you have long rows which you are expecting to take up
more than a page or so.
Well ,my table is a dynamic table without fixed height..
It shouldn't matter.
Chris
snip
to change your fo:simple-page-master element. The attributes
page-width and page-height should be set to the dimensions of a
landscape page. If you are printing on A4 paper thats:
page-width=297mm page-height=210mm
Chris
snip
. Perhaps you could elaborate a little.
BTW, FOP 0.20.3 is over 5 years old now. Please consider upgrading to
the far superior v0.93.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
have to
manually break the text yourself at the end of the first cell of text (2
column first row in the table). So this solution may not be acceptable
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
the row height.
There are many other things that can increase the row height, but rather
than try and guess, post up the XSL-FO for the row in question and we'll
help you analyze it.
snip/
Chris
-
To unsubscribe, e-mail
they are not
paid IMO you have:
a) no right to expect a professional service
b) no right to complain about the level of service.
This is open source. If you don't like the way something is done. Fix it
yourself.
Chris
snip
the file in some way.
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://www.mulberrytech.com/xsl/xsl-list/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this nested table?
text-align will only affect the position of text inside a table, not
tables themselves.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
301 - 400 of 623 matches
Mail list logo