Eric Pement wrote:
So I no longer get the error message. However, the content
of the is now empty, and whatever is in the
tags is being ignored and not printed in the output document.
All Xalan did was to confirm that nothing is printed in the
output. Problem is, it didn't tell me exactly why th
At 12:25 PM 4/25/2003 -0600, Victor Mote wrote:
>Eric Pement wrote:
>> Right now, I'm getting an error message, "fo:flow must contain block-level
>> children", which
I've fixed the error message, by changing
>>
>>
>>
To this:
So I no longer g
[EMAIL PROTECTED] wrote:
I'm using the following code to write the rendered stream to the response.
I don't think I can just append the &dummy.pdf to the prepared stream,
It was meant to append this to the URL which causes the servlet
producing the PDF to be invoked.
This seems to be awfully over
Willis, Matthew wrote:
I'm getting the following exception:
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Transform^stylesheet
...
when running the following code snippet to set up an embedded FOP:
Driver fopDriver = new Driver(new InputSource(XSL_FO_FILE_PATH), new
FileOutputStream
[EMAIL PROTECTED] wrote:
This might be a silly question, but I'd like to know
if it is possible to create a modifiable field on the
resulting PDF document.
If you mean PDFForms then no, this is not possible. The
XSL spec does not provide definitions for this.
J.Pietschmann
-
Eric Pement wrote:
Right now, I'm getting an error message, "fo:flow must contain block-level
children", which I don't know what to do with.
It means exactly what it says.
. . .
Chances are that your template isn't matched for whatever reason,
and the flow turns out empty or p
By the way, see the Note halfway down the
page http://xml.apache.org/fop/embedding.htmlb
under Using FOP in a Servlet
âSome versions of
Internet Explorer will not automatically show the PDF. This is well-known to be
a limitation of Internet Explorer, and is not a problem
Your output is actually correct and your servlet
is doing the right thing. Microsoft IE does not recognize the content as a PDF
file and therefore does not invoke Acrobat to display the content, rather it
simply dumps your PDF data as text to the browser window. What IE needs is
Todtenhaupt, Susann wrote:
I've tried to put a fo:block-container into a fo:table-cell. Furthermore
this container holds another fo:block-container with some blocks in it. But
in my PDF the first container collapsed and attributes like height didn't
work.
FOP doesn't implement the whole XSLFO spec
At 12:07 PM 4/25/2003 -0700, you wrote:
>This might be a silly question, but I'd like to know
>if it is possible to create a modifiable field on the
>resulting PDF document. Is there any way I can tell
>the FOP, through an attribute may be, to create a
>field that can be modified by the user shoul
Olivier Imbert wrote:
I have to render PDF including EPS graphics.
Everything renders fine using FOP 0.20.4.
I got a performance issue when printing on a PostScript printer (several
types used) thru Acrobat Reader : for each page including EPS graphics the
printer spend a lot of time (formatting
Thanks for the super fast reponse.
I'm using the following code to write the rendered stream to the response. I don't think I can just append the &dummy.pdf to the prepared stream, as it will will likely have an eof marker.
I was not able to find anything in the apache/xml docs and nothing wholly
anton wrote:
And I get following error:
[INFO] 1.0dev
I told you to be sure to get the code from the maintenance branch. The
branch tag is fop-0_20_2-maintain.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
amit kaushik wrote:
this is true that the order of the argument doesn't matter but the problem
still persist. Please help me on that,
Fat chance. Well, let's see...
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException
at
org.apache.xalan.transformer.TransformerImpl.run(Tran
The giberish is your pdf in binary format. if you are using ie add
&dummy.pdf onto the end to ensure it will open it in the acrobat plugin.
Check the docs regarding this.
-Adam
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: April 25, 2003 1:40 PM
To: [EMAIL PR
FOP version: fop-0.20.3
Platform: Win2K
WebSphere V5.0
J2EE Version: 1.3
I am getting following gibberish as a result of parsing the tollowing fo:
document. Apologies if this is too much too ask here.
I am also getting the following messages, but I think these are only page
size issues that sho
Hi!
>>>
The usual practice would be to run either fop.bat or fop.sh to get all of
the correct settings. If you need to do something different, review those
scripts to make sure your solution covers all of the necessary steps.
>>>
I try it at home, cause' at work i don't have many right's on the s
Title: Unknown formatting object
Sounds like you
are taking a .xsl file and doing xsl->. FOP
only understands FO. You have to translate all your xsl files to xml(fo)
before trying to translate it to your output format.
fop -xsl
xslfile.xsl -xml xmlfile.xml pdf.pdf
Your xsl file is
not
Title: Unknown formatting object
Hi,
I'm getting the following exception:
WARNING: Unknown formatting object http://www.w3.org/1999/XSL/Transform^stylesheet
org.apache.fop.apps.FOPException
when running the following code snippet to set up an embedded FOP:
Driver fopDriver = new Driver
Hi,
This might be a silly question, but I'd like to know
if it is possible to create a modifiable field on the
resulting PDF document. Is there any way I can tell
the FOP, through an attribute may be, to create a
field that can be modified by the user should he have
to?
Thanks in advance for your
Eric Pement wrote:
> file and I'm at a novice level in all of this. So I'd like to build the
> .XSL file incrementally, seeing if I can print single tags from the .XML
> file, and then successively adding tags until I have a generalized
> solution that will work on whatever .XML file we feed it wh
Unfortuneately, as victor noted html is not designed to be a printed medium.
Its purpose is out side the scope out of FOP. You can do this with your
embedded program by using one of the FO->XHTML links that was mentioned but
this will be slower than if you just transformed it once. The actual HTM
> Christian Neuroth wrote:
>>The only thing that I am missing, is a render class for HTML as
>>we are also
>>in need of a HTML doc. Does anyone have a solution for this?
Ralph Butterweck's explanation pretty much nailed it (note the link to
RenderX's fo2html stylesheet page):
> There is a XSLT-st
I would also like the HTML renderer so I could create one stylesheet w/
embedded xsl:fo that could be used to create both PDF and HTML output.
This would make format changes easy as they would only have to be made
in one place instead of in each format's template, as I'll probably have
to do it.
anton wrote:
> So, i get the sources and compiled it with the newest SDK under Windows.
> There were no errors but when i wish to render my fo-File, i get the
> following errot:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/fop/apps/Fop
>
> I checked the generated fil
Christian Neuroth wrote:
> As I am a newbie to FOP, I am not sure whether my post makes sense or not.
>
> I really enjoy working with FOP: I use one XSL-FO sheet to generate plain
> text,
> PDF and even SVG documents. The resulting docs have the same layout. Since
> the layout is very complex, we
amit kaushik wrote:
> this is true that the order of the argument doesn't matter but the problem
> still persist. Please help me on that,
Usual practice on this list is to submit bare-minimum FO input:
http://xml.apache.org/fop/gethelp.html#user-mailing-list
Your problem looks like it is at the
J.Pietschmann wrote:
> TTC files are basically a bunch of TTF fonts lumped together in one
> file.
I just committed a note to this effect to the font embedding section in the
documentation to clarify this for future users.
Victor Mote
---
Newbie alert
I've been given the assignment of generating .PDFs from .XML files.
So I've installed FOP, and had it working mostly successfully from
the command line (i.e., the /fop/examples/fo will compile).
What I need to do now is to create an .XSL file, which will create the
.FO file ... and y
Hi!
>>>
The problem is already fixed, but the code is not yet released.
You can get it from CVS, see
http://xml.apache.org/fop/download.html
Be sure to get the code from the maintenance branch:
http://xml.apache.org/fop/dev/index.html#lines
>>>
So, i get the sources and compiled it with the n
Hi!
>>>
When you say doesnt work, what are the symptoms? Do you see # in the
resulting PDF? You need to make sure the current font contains glyphs for
the code points you mentioned. Check which font you are using.
>>>
It works after J.Pietschmanns tip fine, thanks. I don't know exactly why
this m
Hello!
I've tried to put a fo:block-container into a fo:table-cell. Furthermore
this container holds another fo:block-container with some blocks in it. But
in my PDF the first container collapsed and attributes like height didn't
work. In HTML it's possible to have objects in a table and the table
There is a XSLT-stylesheet for FO->HTML transformation:
http://www.renderx.com/fo2html.html
first step: XML+XSL->FO
second step: FO +XSL ->HMTL
Hope thats help
Date sent: Fri, 25 Apr 2003 11:50:14 +0200
From: Christian Neuroth <[EMAIL PROTECTED]>
Subject
From: "anton" <[EMAIL PROTECTED]>
Hi!
I wish to use square insteed of bullet. In the Norms Stylesheet they are
commentde out, 'cause they not shown in PDF correct:
When you say doesnt work, what are the symptoms? Do you see # in the
resulting PDF? You need to make sure the current font
http://www.renderx.com/fo2html.html
Some Guys from RenderX have written an XSL, which does just that.
You can give it a try, but the produced html is not the best.
> -Ursprüngliche Nachricht-
> Von: William Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 25. April 2003 14:35
> A
> I agree with both. Up to now I generate HTML vis XSL and PDF via XSL->FOP.
> Fortunately, my incoming XSL is very HTML-like, where it isn't I write a
> custom XSL transform.
Boo-boo... Line two should read XML not XSL:
I agree with both. Up to now I generate HTML vis XSL and PDF via XSL->FOP.
No I don't think that anyone has written this Renderer, because you've to
translate the whole fo-reference back into html syntax, which would be like
a shot from the back through the breast into the eye.
You can try to write it, but before take a look at
http://www.w3.org/TR/xsl/slice7.html
Each
> yep. I understand that I can create a XSL stylesheet like your example. But
> I try to write a Java application which simply switches between different
> render classes to realize different output formats:
>
> // Setup renderer (output format)
> driver.setRenderer(Driver.RENDER_PDF);
>
> Th
> your xsl stylesheet can contain:
>
>
>
>
>
>
> the resultig FO is:
>
>
> ThatsTheDataFromXML
>
>
>
> DONE
yep. I understand that I can create a XSL stylesheet like your example. But
I try to write a Java application which simply switches between different
render classes to realize diffe
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
> David Neary wrote:
> >
> > > position="absolute">
>
> Specifying position on fo:block has no effect in FOP, it only works on
> fo:block-container. You have to use two containers:
Thanks a lot - that works great, and has given
False you dont use XML->PDF, XML->PS, XML->SVG
you're using XML+XSL->FO->PDF, XML+XSL->FO->PS..
for HTML you need XML+XSL->FO where FO is your friend.
your xsl stylesheet can contain:
the resultig FO is:
ThatsTheDataFromXML
Hi!
Thanks for your fast reply, Amit. However, what I was looking for was a way
to transform XML into HTML with the help of FOP.
Until now, I can do XML->PDF, XML->PS, XML->SVG, because there are render
classes for those document types... I am looking for a subclass of
org.apache.fop.render.Abstr
Hi Christian,
here is a XSL to render XML in to FO.
http://www-106.ibm.com/developerworks/library/x-xslfo2app/xhtml-to-xslfo.xsl
i hope this will help you.
Amit Kaushik
- Original Message -
From: "Christian Neuroth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 25, 20
Hi!
As I am a newbie to FOP, I am not sure whether my post makes sense or not.
I really enjoy working with FOP: I use one XSL-FO sheet to generate plain
text,
PDF and even SVG documents. The resulting docs have the same layout. Since
the layout is very complex, we require that the layout is confi
Hello all,
I have to render PDF including EPS graphics.
Everything renders fine using FOP 0.20.4.
I got a performance issue when printing on a PostScript printer (several
types used) thru Acrobat Reader : for each page including EPS graphics the
printer spend a lot of time (formatting ?) before
joni santoso wrote:
I usually use fop to convert fo to pdf using command line.
Now, I wonder if I can use fop programatically to take streamed fo
object (not from files) and convert it to pdf (what objects to use?)
Sure you can.
Look at http://xml.apache.org/fop/embedding.html
--
Oleg Tkachenko
ht
Hi,
I usually use fop to convert fo to pdf using command line.
Now, I wonder if I can use fop programatically to take
streamed fo object (not from files) and convert it to pdf
(what objects to use?)
thx
===
"
this is true that the order of the argument doesn't matter but the problem
still persist. Please help me on that,
thanks
- Original Message -
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 24, 2003 11:47 PM
Subject: Re: PDF Conversion
> Clay Lee
48 matches
Mail list logo