Re: PDF doesn't show in ie over https

2002-05-16 Thread Nicola Ken Barozzi
From: "J.Pietschmann" <[EMAIL PROTECTED]> > Katiyar, Bhawana wrote: > >>Hi! > >>I generate PDFs using Fop. All PDF docs are displyed with IE 5.5, Netscape 6 over HTTP. When i switch it to HTTPS, Netscape works fine but IE gives the following error : Internet Explorer cannot downloadInternet E

AW: Schema to XSL:FO

2002-05-16 Thread "Schalück, Elmar"
If you like to have a nice representation of XSD files have a look at XML Spy 4.x. They produce HTML or Word presentations. See http://www.xmlspy.com Elmar -Ursprüngliche Nachricht- Von: Alex McLintock [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Mai 2002 17:17 An: [EMAIL PROTECTED

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 "+txtPdf.getText(

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 ba

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 h

AW: Open and print pdf files

2002-05-16 Thread Chaumette, Patrick
Hello Franck, on WinNT you can directly send PostScript to a printer with something like this: byte[] psByteArray = ... produced from FOP, a PostScript byte Array File printerFile = new File("\\"); FileOutputStream os = new FileOutputStream(file); os.write(psByteArray); os.close(); Actu

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 a

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 pe

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: [...] [...] [...] Transforming into html with xslt was no problem as expected, but how could a template lo

Re: AW: Examples

2002-05-16 Thread Lee Goddard
Thanks, Mirko - I didn't want to find the source, but I guess I'll have to. But you've got me started again, tthanks. lee At 16:37 16/05/2002 +0200, Mirko Sertic wrote: 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

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: α

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 BA

PDF from FOP to database as BLOB

2002-05-16 Thread Shawn.Lindstrom
Hi, Currently we are dynamically creating our PDF documents using FOP in real-time and displaying them on the browser without a problem. We've handled the CPU intensiveness of FOP by limiting the number of users that can concurrently create a report to 1 or 2 (depending on the server). BUT - As

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

2002-05-16 Thread Chuck Paussa
Jens Here's my partial 2 minute solution untested (a hint Take a look at the spec here http://zvon.org/xxl/xslfoReference/Output/index.html ) etc. etc. Chuck Paussa Jens Posingies wr

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

2002-05-16 Thread Lee Goddard
At 09:00 16/05/2002 -0700, Chuck Paussa wrote: Jens Here's my partial 2 minute solution untested (a hint Take a look at the spec here http://zvon.org/xxl/xslfoReference/Output/index.html ) Do make sure you put in good HTML, of course, with all the optional size attributes included. I think you'll

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 brows

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 XML-S

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 e

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... Hop

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

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 stuff)..

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 Leinfelden-Echterdin

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

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 a

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

2002-05-16 Thread Venu Reddy
Hi, 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. Thanks, Venu Reddy

Re: PDF doesn't show in ie over https

2002-05-16 Thread J.Pietschmann
Nicola Ken Barozzi wrote: Does anybody know the influence of the following issue and if it being looked at? That was the message which lead me on the track to study a bit about MS-Caching. I believe, however, that stuff transferred over https is a broader problem, setting caching wont fix it, proba

Re: protection

2002-05-16 Thread J.Pietschmann
Xavier DAMAY wrote: Do you mean, there is noway to do this with FOP today ? Correct. Is it planned in a short futur ? No. You are invited to write it or sponsor someone to do this. Here is some sample code for combining iText with FOP, for the purpose of encryption http://marc.theaimsgroup.com/?l=

RE: Open and print pdf files

2002-05-16 Thread Anil R. Pinto
U can send the PDF url to the browser to be viewed. Also I think u can print the PDF on a printer using the java print service (JPS). Anil. -Original Message- From: MARTIN Franck [SMTP:[EMAIL PROTECTED] Sent: Thursday, May 16, 2002 2:50 AM To: [EMAIL PROTECTED] Subject:O

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: α You have at least two options: 1. Let the Java library write a stream in an encoding which is understood by

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

2002-05-16 Thread J.Pietschmann
Chuck Paussa wrote: This will count all cells in the whole table body. If all rows have the same number of cells, and never use colspan nor rowspan, select="count(tbody/tr[1]/*) should work (the "./" is redundant). If rowspans/colspans are present, a general solution appears to be hard. No

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 insta

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 th

XSL-FO for HTML and PDF

2002-05-16 Thread Mark Jiang
Hi All, We have a xml file and a xsl style sheet to render HTML. We would like to take the same xml file to render PS file. Is it possible to use one XSL-FO style sheet to render HTML and PS file? If the style sheet needs to be changed, can we only change one style sheet to output HTML and PS fil