Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Oleg Tkachenko
Jeremias Maerki wrote: Right, but FOP shouldn't crash. You rock ;) -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Jeremias Maerki
Right, but FOP shouldn't crash. I've changed the Label class, but not exactly like Stephan proposed. I tried to avoid the creation of the StringBuffer entirely. The less objects are created the better. I've looked at the code in the PDF library and it looks like a null value should be handled grac

Re: link from embedded svg to pdf content

2003-01-11 Thread Marko Petersen
At 20:09 11.01.2003 +0100, you wrote: Marko Petersen wrote: I have an xsl-fo file which includes an svg graphic. Is there any way to generate a link in the svg referencing a fo:block? No, you can't embed a fo:basic-link into an SVG. In principle, you can use JS actions to refer to FO content, but t

Re: link from embedded svg to pdf content

2003-01-11 Thread J.Pietschmann
Marko Petersen wrote: I have an xsl-fo file which includes an svg graphic. Is there any way to generate a link in the svg referencing a fo:block? No, you can't embed a fo:basic-link into an SVG. In principle, you can use JS actions to refer to FO content, but the whole stuff is not well thought out

Re: FOP logger plea for help :-)

2003-01-11 Thread J.Pietschmann
Clay Leeds wrote: If you could give me an idea of areas where I might be able to help, I might be able to present it to my employer. As for my talents, I'm more of a web developer than a programmer, so Java is pretty much out. There is more than enough to do for everyone: improving examples, the

Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Oleg Tkachenko
Stephan Wiesner wrote: java.lang.NullPointerException at org.apache.fop.extensions.Label.toString(Label.java:44) at org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java: 938) Looks like you have empty bookmark label. It's not supported. Place something there. -- O

Re: OT: page break problem

2003-01-11 Thread J.Pietschmann
Chris Bowditch wrote: Somewhat easier: page ... J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem in FOP for locating image with relative path THOUGH have used BaseDir

2003-01-11 Thread J.Pietschmann
Jasmin Mehta wrote: But still I’m getting below error: [ERROR] Could not load external SVG: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: head). [ERROR] Error while creating area : No ImageReader for this type of image (

Re: svg 2 pdf using fop

2003-01-11 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I dont understand how it is possible, because i use system fonts (arial). There is no reason why "system fonts" should be any better than other fonts. Which system are you using? Other checks: have the character you want to output a glyph in the font? Did you generate a pro

Re: Row height and half point font

2003-01-11 Thread J.Pietschmann
Zhong Yi wrote: 1. How do you specify the table row height? Put height="..." on each table row, if this is what you mean. There is no way to define this more globally, height is not an inherited property. 2. How does FOP handle half point font-size and half point stroke-width? ( ie. font-size="6.5p

Re: blank page

2003-01-11 Thread J.Pietschmann
Oscar Schoof wrote: Ok, i understand it, i think. I cannot refer to anything that does not exist as an object in the (my own) fo-source (or formatted object tree). While this sentence makes formally sense, it does not capture the essence of the original problem. Pages *never* exist in the FO sour

Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Stephan Wiesner
Togan Muftuoglu wrote: do you mean fop.extensions=1 if so you need to say also use.extensions=1 Yep, I did that. Sorry, I described that one wrong. Those two belong together for me. Stephan - To unsubscribe, e-mail: [EMAIL PROTE

Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Togan Muftuoglu
* Jeremias Maerki; <[EMAIL PROTECTED]> on 10 Jan, 2003 wrote: On 10.01.2003 18:25:54 Stephan Wiesner wrote: I use DocBook XSL styles, latest version 1.58.1. The PDF generation with the default style works. I set two parameters, one to turn on double sided layout (this alone works) and the genarat

Re: Row height and half point font

2003-01-11 Thread Stephan Wiesner
Zhong Yi wrote: Hi, There. I have 2 questions about fop: 1. How do you specify the table row height? Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Row height and half point font

2003-01-11 Thread Zhong Yi
Hi, There. I have 2 questions about fop: 1. How do you specify the table row height? 2. How does FOP handle half point font-size and half point stroke-width? ( ie. font-size="6.5pt" stroke-width="0.5" ) Thanks in advance __ Do you Yahoo!? Yahoo! Mai

Re: Big Small Doubt

2003-01-11 Thread Stephan Wiesner
[EMAIL PROTECTED] wrote: Hi, We have already done pdf reports using fo. And we have delivered. Now the clients need html preview and the pdf to be sent by email (For low band width clients)... Is there any way that we can reuse the code for pdf to generate html or do we need to write html FO ca

Big Small Doubt

2003-01-11 Thread VipinJ
Hi, We have already done pdf reports using fo. And we have delivered. Now the clients need html preview and the pdf to be sent by email (For low band width clients)... Is there any way that we can reuse the code for pdf to generate html or do we need to write html Also please tell me wheth

Re: FOP 25RC: Double Sided Layout (Solution)

2003-01-11 Thread Stephan Wiesner
Looking at the error message, I went through the source code and tracked the error down. The class org.apache.fop.Label has to be adapted: private StringBuffer textBuffer = new StringBuffer(); instead of private StringBuffer textBuffer; The class does check for null, but only if a text is appende

Re: FOP 25RC: Double Sided Layout

2003-01-11 Thread Stephan Wiesner
Good morning Jeremias, one more thing, the transformation with bookmarks and double sided does work for some (small) documents, but not for one of my real documents (all with more than 50 pages). I have made a zip (1.3 MB) availabel with one such document: http://digipub.fhnon.de/~swiesner/dokb