Clay Leeds wrote:
FMI: Is that like regular, Bold, Italic, and Bold Italic?
I've seen TTCs mainly for providing several writing styles, sort of,
for e.g. chinese. The concept is not unlikely the concept of
character slant in western scripts; it covers for example variations
in line caps, line
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 Leeds
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
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, 2003
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
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
David Neary wrote:
fo:block-container font-size=20pt text-align-last=center
fo:block left=0pt top=0pt width=20mm height=20mm
position=absolute
Specifying position on fo:block has no effect in FOP, it only works on
your xsl stylesheet can contain:
table
tr
tdxsl:value-of select=something_in_your_xml//td
/tr
table
the resultig FO is:
table
tr
tdThatsTheDataFromXML/td
/tr
table
DONE
yep. I understand that I can create a XSL stylesheet like your example. But
I try to write a Java application
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);
The only
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
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.
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
An:
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:
!-- why do these symbols not work? --
!--
xsl:when test=$itemsymbol='circle'#8728;/xsl:when
xsl:when
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:
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
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 mail
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 newest
warningNewbie alert/warning
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
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
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
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
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 file
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.
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
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
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 which
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
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
Title: Unknown formatting object
Sounds like you
are taking a .xsl file and doing xsl-output format here. 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
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
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
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
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
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
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
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
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 should he
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
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
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
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.
fo:flow flow-name=xsl-region-body
xsl:apply-templates select=Title /
/fo:flow
. . .
xsl:template match=[EMAIL
[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
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
[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.
CODE-SNIPPET
This seems to be
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
fo:flow flow-name=xsl-region-body
xsl:apply-templates select=Title /
/fo:flow
Eric Pement wrote:
So I no longer get the error message. However, the content
of the fo:blocks is now empty, and whatever is in the Title
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
45 matches
Mail list logo