Re: FOP character mapping problems

2003-04-25 Thread J.Pietschmann
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

Re: PDF Conversion

2003-04-25 Thread amit kaushik
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

Re: can I?

2003-04-25 Thread Oleg Tkachenko
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

Re: HTML render class available?

2003-04-25 Thread amit kaushik
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

Re: HTML render class available?

2003-04-25 Thread Christian Neuroth
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

RE: block-containers and absolute positioning

2003-04-25 Thread David Neary
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

Re: HTML render class available?

2003-04-25 Thread Christian Neuroth
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

Re: HTML render class available?

2003-04-25 Thread William Gilbert
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

RE: HTML render class available?

2003-04-25 Thread Torsten Erler
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

Re: HTML render class available?

2003-04-25 Thread William Gilbert
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.

AW: HTML render class available?

2003-04-25 Thread Sam Prokop
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:

Re: squere instead of bullet in lists?

2003-04-25 Thread Chris Bowditch
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

Re: HTML render class available?

2003-04-25 Thread Ralf Butterweck
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:

object administration in a fo:table

2003-04-25 Thread Todtenhaupt, Susann
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

AW: squere instead of bullet in lists?

2003-04-25 Thread anton
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

AW: Number alignment in TOC

2003-04-25 Thread anton
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

newbie help on error message

2003-04-25 Thread Eric Pement
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

RE: FOP character mapping problems

2003-04-25 Thread Victor Mote
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

RE: PDF Conversion

2003-04-25 Thread 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

RE: HTML render class available?

2003-04-25 Thread Victor Mote
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

RE: Number alignment in TOC

2003-04-25 Thread Victor Mote
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

RE: HTML render class available?

2003-04-25 Thread Partridge, Michael
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.

Re: HTML render class available?

2003-04-25 Thread Clay Leeds
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

RE: HTML render class available?

2003-04-25 Thread Adam Shelley
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

RE: newbie help on error message

2003-04-25 Thread Victor Mote
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

FO/FOP for modifiable fields

2003-04-25 Thread sanjeet1973
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

Unknown formatting object

2003-04-25 Thread Willis, Matthew
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

RE: Unknown formatting object

2003-04-25 Thread Adam Shelley
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

AW: Number alignment in TOC

2003-04-25 Thread anton
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

Help: Output from servlet is garbage

2003-04-25 Thread Joseph . Sadove
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

RE: Help: Output from servlet is garbage

2003-04-25 Thread Adam Shelley
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

Re: PDF Conversion

2003-04-25 Thread J.Pietschmann
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

Re: AW: Number alignment in TOC

2003-04-25 Thread J.Pietschmann
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

RE: Help: Output from servlet is garbage

2003-04-25 Thread Joseph . Sadove
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

Re: Rendering PDF with EPS graphics in it

2003-04-25 Thread J.Pietschmann
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

Re: FO/FOP for modifiable fields

2003-04-25 Thread Eric Pement
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

Re: object administration in a fo:table

2003-04-25 Thread J.Pietschmann
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

RE: Help: Output from servlet is garbage

2003-04-25 Thread Steve Albin
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

RE: Help: Output from servlet is garbage

2003-04-25 Thread Steve Albin
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

Re: newbie help on error message

2003-04-25 Thread 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. fo:flow flow-name=xsl-region-body xsl:apply-templates select=Title / /fo:flow . . . xsl:template match=[EMAIL

Re: FO/FOP for modifiable fields

2003-04-25 Thread J.Pietschmann
[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

Re: Unknown formatting object

2003-04-25 Thread 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

Re: Help: Output from servlet is garbage

2003-04-25 Thread J.Pietschmann
[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

RE: newbie help on error message

2003-04-25 Thread Eric Pement
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

Re: newbie help on error message

2003-04-25 Thread J.Pietschmann
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