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

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

AW: Awt for print preview

2002-05-14 Thread Chaumette, Patrick
Hello Franck, seems to me this translator does the translation in different languages for the GUI texts.(English, German, etc...) Greetings, Patrick Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH Service Prozesse Retail Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen

AW: Java 1.1.x

2002-05-07 Thread Chaumette, Patrick
Hello, I had also problems compiling FOP-0.20.3 with JDK 1.2. For example some changes in AWTFontMetrics concerning Fonts are not portable on JDK1.2. The release notes should be changed to reflect this. They still say JDK 1.2(or later) is required. Since I didnt want i18n support I could take

AW: X-Y Text positioning

2002-05-07 Thread Chaumette, Patrick
Hello John I use with FOP 0.20.3 the following: fo:static-content flow-name=xsl-region-before fo:block-container position=absolute top=4.5cm left=13cm width=7.2cm height=0.8cm fo:block border-style=solid border-color=redI am here/fo:block

AW: Best coding practice.

2002-05-03 Thread Chaumette, Patrick
Hello Balaji, I think if you don't use any xsl:template match=..., then the processing speed would be fastest, since the XSLT has nothing much to do just to write out what you have. If it is good practice is another story... Greetings, Patrick Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH

AW: Printing Page Setup

2002-04-18 Thread Chaumette, Patrick
Hello Torsten, maybe you could use a xsl parameter for those settings which would be passed during the invocation of FOP. Greetings, Patrick Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH Service Prozesse Retail Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen Postanschrift:

RE: Absolute positioning?

2002-04-17 Thread Chaumette, Patrick
Hello, I tried using the bottom attribute in a block-container with position=absolute but doesnt work like I wished. This snippet puts a red box at the top of the page, I expected it to come aligned with the bottom of the region-before which I defined with fo:region-before extent=113.51mm/ Any

AW: Sending generated PDF directly to printer

2002-04-16 Thread Chaumette, Patrick
Hello, if your printer supports PDF then calling -pdf \\ServerName\PrinterName should work. I am currently myself trying to directly send PostScript and this works really good (-ps \\ServerName\PrinterName) Greetings, Patrick Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH Service Prozesse

RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hello Jerome, do you put the position attribute on a block-container or a block ? In fact I would like to be able to put a block in the bottom of a static xsl-region-before so that it glues with the start of the xsl-region-body. I thought of using a block-container with absolute-position=fixed

RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
=solid 1px white Chuck Chaumette, Patrick wrote: Hello Jerome, do you put the position attribute on a block-container or a block ? In fact I would like to be able to put a block in the bottom of a static xsl-region-before so that it glues with the start of the xsl-region-body. I

RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
(region-before-height - block-container-height) I haven't gotten to the position elements in my testing. Chuck Chaumette, Patrick wrote: Hi Chuck, I tried like below your tipp but did do nothing. It only shows the first Test on the top of the page. Doesnt bottom refer to the distance