Open and print pdf files

2002-05-16 Thread MARTIN Franck
Hi all, Fop is cool but once i have successfully created my pdf file it would be nice to open and print it. Does anyone know of a platform independent way to open a pdf file. So far the only way i have found is platform dependent ( for NT : Runtime.getRuntime().exec(cmd /c start

protection

2002-05-16 Thread Xavier DAMAY
hello all, Is there a way to password protect a pdf ? Xavier

AW: Problem with SVG only Black White

2002-05-16 Thread Sam Prokop
Thanx for your suggestions, we had some gradiants in the svg, which were displayed in just black. and it seems, that fop ignores the style given by the svg-tag. where there are attributes like fill-opacity color-interpolation color-rendering etc. and maybe these things make the svg look nice in

Re: protection

2002-05-16 Thread Cyril Rognon
You can use iText after you have generated your PDF. It is a Java PDF API that allows you to manipulate pdf pages by pages and to control PDF document properties like encryption and viewing and printing... it's easy to use and only have a few limitation like some image type not handled. see

Re: AW: Open and print pdf files

2002-05-16 Thread Balaji Loganathan
Apart From Chaumette Patrick idea,have you tried the FOPPrintServlet.java example from FOP,it works good for me.I tested only in Windows Envt.Of course it depends whether u use Servlet/JSP. Regards Balaji --- Chaumette, Patrick [EMAIL PROTECTED] wrote: Hello Franck, on WinNT you can

RE: foregroundColor

2002-05-16 Thread Niki Dinsey
A note about using XML-SPY for fop development. I used it quite a bit lately and while I found it good, the DTD it uses for XSL:FO is far from complete and sometimes incorrect. That's not to say it isn't very useful, just be careful and have the spec (http://www.w3.org/TR/xsl/) handy as

keep-with-next=always not honored on a group of table rows

2002-05-16 Thread Olivier Lange
I would like to keep together on a same page a group of table rows. I used keep-with-next=always and all except the last fo:table-row elements of the group, but for the attached XFO document (a course schedule), a page-break occurs in the middle of a group of 9 rows (16:15), between pages 2 and 3.

Examples

2002-05-16 Thread Lee Goddard
On the examples page of the xml.apache.org/fop site, http://xml.apache.org/fop/embedding.html there is this sample: Driver driver = new Driver(new InputSource (args[0]), new FileOutputStream(args[1])); driver.setRenderer(RENDER_PDF); driver.run(); I thought

AW: Examples

2002-05-16 Thread Mirko Sertic
Its not an error, its wrong java code RENDER_PDF is s static member variable of the Driver class, so you have to type: driver.setRenderer(Driver.RENDER_PDF); Cheers Mirko -Ursprungliche Nachricht- Von: Lee Goddard [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Mai 2002 16:39

Newbie: html-like table to fo-table

2002-05-16 Thread Jens Posingies
Hi folks, again we need your help: We are using FOP and XSLT for creating pdf documents which works fine - excepting tables! The dtd contains a table-tag like similar to html: [...] !ENTITY % alignes align (left | center | right) #IMPLIED valign (top | middle | bottom | baseline)

AW: Examples

2002-05-16 Thread Kondert Uwe
Hallo Lee, I think RENDER_PDF is an defined public Constant of the Class Driver. If I?m right, the following code must function: driver.setRenderer(Driver.RENDER_PDF); -Ursprungliche Nachricht- Von: Lee Goddard [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Mai 2002 15:39 An: [EMAIL

unicode problem

2002-05-16 Thread Henrik Holle
hi, i have an java string with an greek alpha letter. i do not know how to convert the java unicode string so that i can display it with fop i need something like: fo:inline font-family=Symbol font-size=7pt#x03B1;/fo:inline

Re: Newbie: html-like table to fo-table

2002-05-16 Thread Lee Goddard
Who has experiences with fo:tables and xslt and could give us a hint? It took me a month to get something passable using Perl and XSL:FO, and I can't really it to you as I sold the copyright. But: there is a very good tutorial on the site of another FOP... www.renderx.com COMMODORE 64

Re: PDF from FOP to database as BLOB

2002-05-16 Thread Lee Goddard
At 10:51 16/05/2002 -0500, [EMAIL PROTECTED] wrote: ... Since our users can wait for these reports we've decided to run a nightly job to create them and store the PDFs in our database as a BLOB. That way during peak usage hours our servers will only need to deal with returning the PDF to the

Re: foregroundColor

2002-05-16 Thread Chuck Paussa
Niki I posted a schema to the dev list last week. The schema is pretty good. Feel free to point it out to the folks at XMLSpy. They can use XMLSPY to generate their own DTD from that. The schema has a few tweaks left before I post it here. Chuck Paussa Niki Dinsey wrote: A note about using

Re: protection

2002-05-16 Thread Xavier DAMAY
Thanx, Cyril Do you mean, there is noway to do this with FOP today ? Is it planned in a short futur ? Xavier Cyril Rognon wrote: You can use iText after you have generated your PDF. It is a Java PDF API that allows you to manipulate pdf pages by pages and to control PDF document properties like

AW: PDF from FOP to database as BLOB

2002-05-16 Thread Chaumette, Patrick
Hello Shawn, you can make FOP write to an ByteArrayOutputStream. By doing something like this: ByteArrayOutputStream os = new ByteArrayOutputStream(); ...(driver+FOP stuff)... driver.setOutputStream(os); InputStream is = new ByteArrayInputStream(os.getBytes()); .. now read from stream...

RES: Newbie: Error trying to convert (standalone) the simple.fo e xampl e after first installation...

2002-05-16 Thread Gilson Nascimento D Elrei
Thanks, i tried your first suggestion but i still didn't try rebuilding FOP.jar (i'll to do later).. i received this error. Do you know how resolve it ? Exception in thread main java.lang.NoClassDefFoundError: org/apache/log/format/Formatter at org.apache.fop.apps.Fop.main(Fop.java:16) Thanks in

Re: AW: PDF from FOP to database as BLOB

2002-05-16 Thread Shawn.Lindstrom
Thank you! - That's just what I was looking for! I'll give it a try. _ Hello Shawn, you can make FOP write to an ByteArrayOutputStream. By doing something like this: ByteArrayOutputStream os = new ByteArrayOutputStream(); (driver+FOP

AW: Newbie: Error trying to convert (standalone) the simple.fo ex ampl e after first installation...

2002-05-16 Thread Chaumette, Patrick
Hello Gilson, the Exception means that the class org.apache.log.format.Formatter couldnt be found in the Classpath. Maybe you should check this. Greetings, Patrick Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH Service Prozesse Retail Hausanschrift: Fasanenweg 9, 70771

RE: unicode problem

2002-05-16 Thread Argyn Kuketayev
Unicode is Ok in your example. I guess, your issue is with fonts. -Original Message- From: Henrik Holle [mailto:[EMAIL PROTECTED] Sent: Thursday, May 16, 2002 10:46 AM To: [EMAIL PROTECTED] Subject: unicode problem hi, i have an java string with an greek alpha letter. i do

keep-with-next=always not honored on a group of table rows

2002-05-16 Thread Olivier Lange
I would like to keep together on a same page a group of table rows. I used keep-with-next=always and all except the last fo:table-row elements of the group, but for the attached XFO document (a course schedule), a page-break occurs in the middle of a group of 9 rows (16:15), between pages 2 and 3.

Re: unicode problem

2002-05-16 Thread J.Pietschmann
Henrik Holle wrote: i have an java string with an greek alpha letter. i do not know how to convert the java unicode string so that i can display it with fop i need something like: fo:inline font-family=Symbol font-size=7pt#x03B1;/fo:inline You have at least two options: 1. Let the Java

Re: AW: Examples

2002-05-16 Thread J.Pietschmann
Kondert Uwe wrote: I think RENDER_PDF is an defined public Constant of the Class Driver. If I?m right, the following code must function: driver.setRenderer(Driver.RENDER_PDF); This should work. Look at docs/examples/embedding/FopServlet.java J.Pietschmann

Re: RES: Newbie: Error trying to convert (standalone) the simple.fo e xampl e after first installation...

2002-05-16 Thread J.Pietschmann
Gilson Nascimento D Elrei wrote: Thanks, i tried your first suggestion but i still didn't try rebuilding FOP.jar (i'll to do later).. i received this error. Do you know how resolve it ? Exception in thread main java.lang.NoClassDefFoundError: Umm, bad luck. Move or copy fop.jar into the FOP

Re: Is it ok to use break-after=page in a table cell

2002-05-16 Thread J.Pietschmann
Venu Reddy wrote: Is it ok to use break-after=page attribute on a fo:block which is embedded in a fo:table-cell. This cell is the last one in the fo:table-row. I need to insert a page break after some user defined table-rows, what is the best way to accomplish this. I'd try to set the break on the