Re: embedding output escaping

2005-07-27 Thread Andreas L Delmelle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 27, 2005, at 23:57, Fabrizio Caldas wrote: Hi, This question has probably come up before, but couldn't find it in the archives. I want to disable output escaping. Here's an example: public static ObjXml createSampleObj() { ObjXml obj = ne

Re: [EMAIL PROTECTED] last week

2005-07-27 Thread Christian Geisert
[EMAIL PROTECTED] schrieb: "I think we should start a FOP users/Success stories wiki page" I could contribute to that. I use FOP for all the document production Yes please!! needs of a small software company. The documents are as large as 2000 pages, with as many as 25,000 internal links, a

embedding output escaping

2005-07-27 Thread Fabrizio Caldas
Hello everyone, This question has probably come up before, but couldn't find it in the archives I want to disable output escaping. Here's an example: public static ObjXml createSampleObj() { ObjXml obj = new ObjXml(); obj.setTitle("http://www.sample.com\";>Sample Title"); } public static

Re: Setting PDF document properties

2005-07-27 Thread J.Pietschmann
Johannes Stuermer wrote: I am using FOP in a Java servlet to return the PDF directly in the outputstream as content type 'application/pdf'. My question: Is it possible to change the PDF document property called "File" in addition to the properties Title, Author, Subject and Keywords? Currently,

Re: Setting PDF document properties

2005-07-27 Thread Jeremias Maerki
There's no element in PDF to control that. Maybe you can simply attach a "?filename=MyDocument.pdf" at the end of the URL to make Acrobat Reader display that. I haven't tested it, though. On 27.07.2005 21:48:48 Johannes Stuermer wrote: > I am using FOP in a Java servlet to return the PDF directly

Re: [EMAIL PROTECTED] last week

2005-07-27 Thread Simon Pepping
And nice pictures. Now I can put a face to a few names. Simon On Tue, Jul 26, 2005 at 09:51:56PM +0200, Simon Pepping wrote: > Jeremias, > > A fine presentation. Thanks. > > Simon > > On Mon, Jul 25, 2005 at 03:22:39PM +0200, Jeremias Maerki wrote: > > I would like to thank everyone from the F

Setting PDF document properties

2005-07-27 Thread Johannes Stuermer
I am using FOP in a Java servlet to return the PDF directly in the outputstream as content type 'application/pdf'. My question: Is it possible to change the PDF document property called "File" in addition to the properties Title, Author, Subject and Keywords? Currently, the "File" property (the f

Re: MS Word RTF page numbering error

2005-07-27 Thread Jeremias Maerki
Argh. It really looks like a version problem. Just to be sure I checked the RTF specs to find out if FOP really produces the right command for printing the page number and it does (\chpgn). On 27.07.2005 18:48:10 Daniel Brown wrote: > Ok. I just printed with that option selected with the same resu

Re: MS Word RTF page numbering error

2005-07-27 Thread Daniel Brown
Ok. I just printed with that option selected with the same result. However, someone else in the office with Word 2003 (I have 2002) printed the document with the correct page number results. I think it's a Word version error.D  Jeremias Maerki <[EMAIL PROTECTED]>07/27/2005 18:36 ZE2Please respond [

Re: MS Word RTF page numbering error

2005-07-27 Thread Jeremias Maerki
I've just run examples/fo/basic/readme.fo through FOP and Word prints the page number just fine. The page numbers in RTF are fields, and maybe they are not properly updated due to some obscure reason. There is a setting accessible through the "Options" button in Word's print dialog which enables au

MS Word RTF page numbering error

2005-07-27 Thread Daniel Brown
I have an interesting issue. When converting from FO to RTF, the resulting document's page number are correct when I view the RTF in MS Word. However, when printing the document the numbering is incorrect -- Page 2 prints as Page 3. Page 2 appears as Page 2 when viewing the document. Has anyone e

RE: Resizing SVG

2005-07-27 Thread Pascal Sancho
Well, if your SVG is yet embedded in a fo:instream-foreign-object, your job will be quite eaier.   preserveAspectRatio must be used if you want that all descendants of svg element are transformed in the same way than svg element when viewbox is used (see [1]) I typically use preserveAspectRat

Re: fop 1.0dev

2005-07-27 Thread Jeremias Maerki
I've added the printing example to the repo: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2OldStylePrint.java?view=markup If you need anything else, just tell me. On 27.07.2005 12:28:20 Jeremias Maerki wrote: > ExampleAWTViewer.java that was avai

Re: fop 1.0dev

2005-07-27 Thread Jeremias Maerki
ExampleAWTViewer.java that was available in 0.20.5 is now available for FOP Trunk. I'll add a printing example right after lunch. http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleAWTViewer.java?view=markup On 27.07.2005 10:45:11 Bielik, Robert wrote

RE: fop 1.0dev

2005-07-27 Thread Bielik, Robert
Great! Thanks! /R > -Original Message- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 11:00 AM > To: fop-users@xmlgraphics.apache.org > Subject: Re: fop 1.0dev > > > Give me an hour or so and I can put an example in the repository. > > On 27.07.2005

Re: fop 1.0dev

2005-07-27 Thread Jeremias Maerki
Give me an hour or so and I can put an example in the repository. On 27.07.2005 10:45:11 Bielik, Robert wrote: > I've managed to get fop1.0dev built with JDK1.3, however I want to user the > AWTRenderer. As the API has been reworked from scratch ;) I don't know how > to change my code, and as ther

RE: Resizing SVG

2005-07-27 Thread Samuel Remacle
Hello My picture isn't an external graphic, it's an instream foreign object so I have to use the preserveAspectRatio attribute? And if I resize the whole svg document but I keep the same size for the differents elements (rectangles, circles, etc.) it doesn't matter? They will be resized? Thanks fo

fop 1.0dev

2005-07-27 Thread Bielik, Robert
I've managed to get fop1.0dev built with JDK1.3, however I want to user the AWTRenderer. As the API has been reworked from scratch ;) I don't know how to change my code, and as there is no example showing AWT rendering... Anybody have an example? TIA /R --

RE: build dynamic tables with FOP

2005-07-27 Thread Jukka Ignatius
Hello everyone on the list, > fact it worked out by changing the base XML to something like: > > > > > > > I don't know if my approach to the tables is smart/correct, but i find it myself quite easy, and now the XML does not have much overhead in it. XML looks like: -

AW: build dynamic tables with FOP

2005-07-27 Thread Jens-Christian . Pohl
Hi, thanks to everyone on the list helping me on this issue. In fact it worked out by changing the base XML to something like: which enables me to react on it in the XSL:FO file: and: which is leading me to another question - how can i optimise the width of

RE: Resizing SVG

2005-07-27 Thread Pascal Sancho
Hi,   You cannot resize your picture directly if it is an external graphic (in FOP 0.20.5, scaling is not supported -- see [1])   However, you can try this (I have never experimented it -- take care with namespaces):   1. In your xslt, refer to your SVG document, using the document() XSLT fu