RE: Tools for Fo

2002-12-09 Thread Roland Neilands
> I was thinking of editing the XML files in the JAR produced by > OpenOffice. Just dont know how to convert to FOP input format :( XML is a FOP input format. You can use XSLT + XML to create XSL-FO dynamically. This is a good start (although you will need to use it to create XSL-FO not HTML): ht

Re: Column in a block

2002-12-09 Thread J.Pietschmann
marco scotoni wrote: i'm using a complex stylesheet with svg,jpg, and many blocks...so i want to format a text inside one of these block in two columns automatically... There is no "easy way", like declaring a number of columns for a block. You have to declare a column-count of 2 on an appropriate

Re: embedding FOP in Java

2002-12-09 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: Now my xml has croatian character and those are showen as #. I read documentation and it says that fonts must be avaliable on the platform. Now I don't understand this since I have croatina locale set and I can view pdf files that have croatian characters. See http://xml.ap

Re: embedding FOP in Java

2002-12-09 Thread Oleg Tkachenko
Boris Rousseau wrote: Unfortunately when I compile it, I get the following error: fop.java:19: cannot resolve symbol symbol : constructor XSLTInputHandler (java.lang.String,java.lang.String) location: class org.apache.fop.apps.XSLTInputHandler InputHandler inputHandler = new XSLTInputHandl

Re: Document security of PDFs

2002-12-09 Thread Oleg Tkachenko
Oscar Schoof wrote: My question is: can i get pfd documents with fop in which the security-properties are more tight, say at least "changing the document" set to "not allowed"? That's in the todo list, but still not implemented. BUt you can easily postprocess generated pdf by a third-party pdf-l

Re: Document security of PDFs

2002-12-09 Thread Alex McLintock
At 16:34 09/12/02, Oscar Schoof wrote: My question is: can i get pfd documents with fop in which the security-properties are more tight, say at least "changing the document" set to "not allowed"? I believe that if you want properly secure PDF files then you need to do that using a third party t

Re: Tools for Fo

2002-12-09 Thread Hanasaki JiJi
I was thinking of editing the XML files in the JAR produced by OpenOffice. Just dont know how to convert to FOP input format :( Oscar Schoof wrote: Are there any tools that convert, for example, a simple excel, word or other formats to a Fo format or to a xsl/fo format? You can save an Excel f

Re: Tools for Fo

2002-12-09 Thread Oscar Schoof
Are there any tools that convert, for example, a simple excel, word or other formats to a Fo format or to a xsl/fo format? You can save an Excel file as an XML-file. (At least, i can, with my 2002 version.) Can you work from there? Oscar -

Document security of PDFs

2002-12-09 Thread Oscar Schoof
Hi everybody, in inspecting the "document security" of a PDF, which was generated by FOP, i noticed that -amongst others- the "changing the document" property was set to "allowed", "security method " to "none" and "document assembly" set to "allowed". Naive as i was, i expected Acrobat reader d

Re: Dynamic space adjustment between fo:list-tem-label and fo:list-item-body

2002-12-09 Thread Chris Vejrazka
Hi Oleg, thanks for that advise. I finally find a solution based on your hint. Greetings Chris Vejrazka At 23:53 29.11.2002, you wrote: A workaround could be to change provisional-distance-between-starts value dynamically according to length of return value in em units. Something like

embedding FOP in Java

2002-12-09 Thread adis . katkic
Sorry for beeing forced to ask this question, I have created I java class that takes xml file and xsl file and creates pdf. Now my xml has croatian character and those are showen as #. I read documentation and it says that fonts must be avaliable on the platform. Now I don't understand this since

Re: embedding FOP in Java

2002-12-09 Thread adis . katkic
i use this method and it works fine public void createPdf(String xml, String xslPath, String outputPdfPath) throws TransformerConfigurationException, TransformerException, FileNotFoundException, FOPException, IOException { MessageHandler.setScreenLogger(log); FileOutputStream fos=ne

embedding FOP in Java

2002-12-09 Thread Boris Rousseau
Hello,   I am using the following file embedding fop: "import org.apache.fop.apps.Driver;import org.apache.fop.layout.Page;import org.apache.fop.apps.Version;import org.apache.fop.apps.XSLTInputHandler;import org.apache.fop.apps.InputHandler;import org.xml.sax.*;import org.apache.fop.messagi

Re: from PDF to FOP

2002-12-09 Thread Oleg Tkachenko
Hanasaki JiJi wrote: anyway to convert from an existing PDF to FOP? I'd say no way. See recent discussion in xsl-list: http://www.biglist.com/lists/xsl-list/archives/200211/msg00996.html -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel --

Re: FOP 0.20.4

2002-12-09 Thread Johan Åbrandt
Try with adding the following system property to the startup arguments for the server: com.ibm.ws.classloader.classSharing=false i.e java -Dcom.ibm.ws.classloader.classSharing=false ... By default WAS cashes class definitions on a per server basis, and not on a per classloader basis, as would se

Re: Column in a block

2002-12-09 Thread marco scotoni
Hello, i'm using a complex stylesheet with svg,jpg, and many blocks...so i want to format a text inside one of these block in two columns automatically... I hope to be clear - Original Message - From: "Oleg Tkachenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Decemb

Re: Unicode special chars

2002-12-09 Thread Timo Haberkern
That works! Thanks, often you can`t see the most obvious solution ;-) Timo J.Pietschmann wrote: Timo Haberkern wrote: i have a little problem with unicode special characters. If i write the Unicode-Newline from my Java Application (with XercesJ) to XML it escapes 
 to 
. FOP seems to ignor

from PDF to FOP

2002-12-09 Thread Hanasaki JiJi
anyway to convert from an existing PDF to FOP? I would like to make a form in a wordprocessor print to PDF convert PDF to FOP src use java to edit the FOP and fill-in form generate a new PDF thanks. -- =