Re: Re: Running FOP from Java

2003-05-26 Thread Christoph Strehl
The examples at http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ show how to transform a FO-file to pdf, objects to xml, xml to FO/PDF and so on but that doesn't help me to make use of the AWT print preview dialog of FOP. I need to access this dialog properly from my own

Re: PDF Generation Issue

2003-05-26 Thread J.Pietschmann
Andrew Lindeman wrote: Both boxes are running Gentoo Linux, with the fop-bin package installed (which is 0.20.4). PDF generation works great on my laptop, but on my server it throws the following error. ... Exception in thread "main" java.lang.NoClassDefFoundError at org.apache.fop.layout.

Re: Running FOP from Java

2003-05-26 Thread J.Pietschmann
Christoph Strehl wrote: I am using FOP do print the content of my Java application. ... public class FOPStarter extends Thread { ... public void run() { org.apache.fop.apps.Fop.main(args); You should never call Fop.main directly. Use the AWT or print renderer directly, the same way

Re: Nested Blocks Seem to Take Up Space

2003-05-26 Thread J.Pietschmann
Robert Raposa wrote: Is there a standard way to change the background-color of an entire page? I have work-arounds for this - using a table - but I was curious if there was a "correct" way to do this? Have you already tried to add it to the regions in the layout-master-set? J.Pietschmann

RE: Issue in including SVG charts in PDF

2003-05-26 Thread Robert Raposa
Adrian Giessel wrote: > So, my problem is that a NullPointerException is thrown within FOP (and > caught / swallowed) when processing my charts. The message in the logs is: > > ERROR (2003-05-26) 17:25.10:531 [cocoon.m] > (/cocoon/n13/mfi/mfi-list.report) ExecuteThread: '10' for queue: > 'defau

Re: Nested Blocks Seem to Take Up Space

2003-05-26 Thread Robert Raposa
> Robert Raposa wrote: > > I have created a page-master with a certain width and height > (768 x 1024) > > and no margins. I tried to fill this page with an image (PNG) - also of > > size 768 x 1024. If the image is enclosed in exactly one block > - it works > > fine. However - if the image is e

Issue in including SVG charts in PDF

2003-05-26 Thread Geissel, Adrian
Hi, I am writing a web-based application that serves dynamic reports (amongst other things). The bulk of the processing is done within a Cocoon environment, using the following set of components: Cocoon 2.0.4 distribution jfreechart-0.9.6.jar (www.jfree.org) jcommon-0.7.2.jar (www.jfree.org) fins

Running FOP from Java

2003-05-26 Thread Christoph Strehl
Hi there,I am using FOP do print the content of my Java application. Everything worksfine EXCEPT showing the AWT-dialog. Actually it is displayed properly butalthouth it is threaded it freezes up and I can't perform any actions on itsGUI. It is like my own application is a modal dialog and t

RE : not to cut a table between two page

2003-05-26 Thread Philippe PITHON
thank you, that run ! -Message d'origine- De : Jeremias Maerki [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 mai 2003 10:16 À : [EMAIL PROTECTED] Objet : Re: not to cut a table between two page See: http://xml.apache.org/fop/compliance.html#fo-property-keep-with-next On 26.05.2003 09:23:4

RE: Layout-master-set

2003-05-26 Thread Scherler, Thorsten
Thanks a lot! ;-) Ok, you are right with the pdf statement (Portable document format)! I will install the suggested driver (same but DL as default)! Thanks a lot for your patience! ;-) King regards -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Monday, May 2

Re: Layout-master-set

2003-05-26 Thread Jeremias Maerki
Now, we're talking! Unfortunately, you can only specify the paper size in PDF, not the printer driver and settings to use. PDF means "Portable document format". The PDF would not be portable anymore if you'd include printer-specific commands in the file. So FOP can't help you here. But I have a su

RE: Layout-master-set

2003-05-26 Thread Scherler, Thorsten
See my answer below (marked with TS:) -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Monday, May 26, 2003 10:59 AM To: [EMAIL PROTECTED] Subject: Re: Layout-master-set I can set "DL" as paper size on my printer (driver) (Brother HL-1250). You may need to consult

Re: Layout-master-set

2003-05-26 Thread Jeremias Maerki
I can set "DL" as paper size on my printer (driver) (Brother HL-1250). You may need to consult the manual of that user's printer or ask the printer manufacturer's support to help you. Anyway, I'm confused with what you say. You're talking about DL size envelopes and about labels. A label for me in

RE: Layout-master-set

2003-05-26 Thread Scherler, Thorsten
Hello everyone, I forgot to mention that it also has to be printed in landscape format. ;-) -Original Message- From: Scherler, Thorsten Sent: Monday, May 26, 2003 10:33 AM To: [EMAIL PROTECTED] Subject: AW: Layout-master-set Hello Jeremias, yes I have problems with the printing! The *.

AW: Layout-master-set

2003-05-26 Thread Scherler, Thorsten
Hello Jeremias, yes I have problems with the printing! The *.pdf is fine! How can I tell the printer that the paper format should be labels! I have an user who never seems to be able to change that in the printer menu! How can I tell the "document" (*.pdf) that it should use label as default pa

Re: not to cut a table between two page

2003-05-26 Thread Jeremias Maerki
See: http://xml.apache.org/fop/compliance.html#fo-property-keep-with-next On 26.05.2003 09:23:46 Philippe PITHON wrote: > how to prevent a table from being to cross between two pages? Jeremias Maerki - To unsubscribe, e-mail:

Re: Running FOP from anywhere

2003-05-26 Thread Jeremias Maerki
On 26.05.2003 09:28:42 Roland Neilands wrote: > I had also changed this > > set LOCAL_FOP_HOME=C:\fop\fop-0.20.5rc3a If you do this, append a backslash to the path so the other two backslashes are unnecessary. The "%~dp0" function available in NT-grade Windows versions returns a path including (

AW: Problem with layout of page-number-citation

2003-05-26 Thread Mark Baier
Hi, here is the fo-file to reproduce the problem with the page-number-citation. I normally use a special font for a company logo which i don't provide, but without it the problem is reproducable nevertheless. Thanks in advance, Mark Mark Baier wrote: > i'm using fop0.20.5.rc3a and the layout

RE: Running FOP from anywhere

2003-05-26 Thread Roland Neilands
I had also changed this set LOCAL_FOP_HOME=C:\fop\fop-0.20.5rc3a Left off the trailing \ to be consistent with this line (and the rest): set LIBDIR=%LOCAL_FOP_HOME%\lib This was strung into "C:\fop\fop-0.20.5rc3abuild/fop.jar" so it was my fault. I just tested it a bit more: "\\", "\" and "/" s

not to cut a table between two page

2003-05-26 Thread Philippe PITHON
Hello !   how to prevent a table from being to cross between two pages?

Re: Layout-master-set

2003-05-26 Thread Jeremias Maerki
Not sure what the problem really is. Looks like you've already set the page format correctly. Have you got problems printing? Does the PDF (if you're using PDF) look right in Acrobat Reader? On 23.05.2003 15:48:10 Scherler, Thorsten wrote: > I have a problem. I want to print labels to put them on

Re: dont want to set the height of

2003-05-26 Thread Jeremias Maerki
I think you've stumbled over a deficiency of FOP. Roland's suggestion is still valid, however, and you should give it some thought. On 26.05.2003 09:11:33 Zahidul Islam wrote: > i am sorry as i cant explain my situation properly. i have to use more > for fixed point positioning. but i want to fix

Re: Problem with encoding when using Templates

2003-05-26 Thread Klaus Ole Kristiansen
"J.Pietschmann" wrote: >I have to resort to guessing: if the ANS=C6TTELSESKONTRAKT comes >from the style sheet check whether your style sheet editor >acutally saves the file as ISO-8859-1 encoded rather than >UTF-8 encoded. And a very good guess it was. Sorry to have bothered you with this. It j

RE: dont want to set the height of

2003-05-26 Thread Zahidul Islam
i am sorry as i cant explain my situation properly. i have to use more for fixed point positioning. but i want to fixed the 'top', 'left' and 'width' attribute of the . the 'hieght'  of the container will the hieght of the information it contains. for this purpose i didnt set the 'hieght' attribut

Re: Running FOP from anywhere

2003-05-26 Thread Jeremias Maerki
On 26.05.2003 09:02:49 Roland Neilands wrote: > > But did this fix the error? > Yes > > >I'm not so sure. Even though there are > > slashes instead of backslashes in the file the whole thing should work > > because the JVM usually doesn't care. > > > > What Windows are you using? And what JDK?

RE: Running FOP from anywhere

2003-05-26 Thread Roland Neilands
> But did this fix the error? Yes >I'm not so sure. Even though there are > slashes instead of backslashes in the file the whole thing should work > because the JVM usually doesn't care. > > What Windows are you using? And what JDK? M.E. JRE 1.4.0 > > On 26.05.2003 02:17:19 Roland Neilands wro

Re: Running FOP from anywhere

2003-05-26 Thread Jeremias Maerki
But did this fix the error? I'm not so sure. Even though there are slashes instead of backslashes in the file the whole thing should work because the JVM usually doesn't care. What Windows are you using? And what JDK? On 26.05.2003 02:17:19 Roland Neilands wrote: > I just downloaded 0.20.3rc3a &

RE: dont want to set the height of

2003-05-26 Thread Roland Neilands
Just make it higher than you expect the content to be. You are limited to the remaining height of the page of course.   This is the simplistic answer. If it doesn't help provide some more detail and/or a small example.   Cheers, Roland -Original Message-From: Zahidul Islam [ma

dont want to set the height of

2003-05-26 Thread Zahidul Islam
hello for fixed position displaying purpose i used.i have also set the left,height,width attribute of the element. now i dont want to fixed the height of the block-container ie, the hight will be dependenton the data it will contain. for this purpose i set allthe attributes of block-container e

PDF Generation Issue

2003-05-26 Thread Andrew Lindeman
Hi All! I have been very happy with FOP on my laptop, and decided to install it on my server to do some PDF generation. Both boxes are running Gentoo Linux, with the fop-bin package installed (which is 0.20.4). PDF generation works great on my laptop, but on my server it throws the following err

RE: Running FOP from anywhere

2003-05-26 Thread Roland Neilands
> > The new feature ensures that the FOP jars will be found by the JVM > > regardless of the current directory. It doesn't (and can't) ensure > > that fop.bat will be found regardless of the current directory. > > Either call fop.bat with a proper absolute or relative path, or add > > the FOP base