Re: Invoking FOP Servlet from struts:Please help

2003-06-26 Thread Michael Duffy

Hi Hardarshan,

1. I'm assuming that you only need to read files, not
write.  If that's the case, put the XML and XSL files
under WEB-INF/xml and WEB-INF/xsl, respectively, and
access them using ServletContext's getResourceAsStream
method.

2. You might get the encoded (very important) XML and
XSL from request parameters or attributes, using
HttpServletRequest getParameter or getAttribute
methods.

3. Set the content type to application/pdf and write
the bytes to the response.

Check out http://xml.apache.org/fop/servlets.html -
it's got some nice code that should help you out. -
MOD

--- Hardarshan Singh [EMAIL PROTECTED] wrote:
 Hi, 
  
 I am conveting jdbc to xml. I have written an XSL
 file for the xml generated. 
 I want to use FOPServlet. 
  
 Questions : 
 1. Where should the xml and xsl files be physically
 located in the project ? 
 2. How can i invoke the FOP servlet from struts (i
 have to send xml and xsl files)
 to the servlet. 
 3. How can i redirect the generated pdf to browser ,
 i mean using using ActionForward? 
  
 Any code snippets will be of great help. 
  
 Please reply and thanks for help in advance.
  
 SS
  
  
  
  
  
  
 
 
 -
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with line breaks

2003-06-26 Thread sebastien . mielot

Hello,

I have this xml file shape :

  Columns
Column/Column
Column/Column
ColumnPErf. 2003 2002 2000/Column
  /Columns

I would like to have a line break between  PErf., 2003, 2002, 2000.
I fact, i would like an equivalent of : PErf. br 2003 br 2002 br
2000. in html

I know that, the xsl fo equivalent of br is fo:block/

I have tried this code:

xsl:template match='.../Columns/Column'
  fo:table-cell background-color=#7f3f00
fo:block text-align=left font-size=8pt color=#FF
  xsl:value-of disable-output-escaping=yes
select=translate(. , ' ' , 'lt;fo:blockgt;')/
/fo:block
  /fo:table-cell
/xsl:template

or

xsl:template match='.../Columns/Column'
  fo:table-cell background-color=#7f3f00
fo:block text-align=left font-size=8pt color=#FF
  xsl:value-of disable-output-escaping=yes
select=translate(. , ' ' , concat('lt;','fo:block','gt;'))/
/fo:block
  /fo:table-cell
/xsl:template


but the xsl fo code return is:

PErf. 200320022000

i would like : PErf.fo:block/2003fo:block/2002fo:block/2000

Can you help me?
Have you an other method to add line breaks?

Thanks

Sbastien











The contents of this E-mail are confidential and may contain privileged 
information to the sole intended recipient at the E-mail address to which it 
has been addressed. It may not be disclosed to our used by anyone other than 
the addressee, nor may it be copied or forwarded in any way without the consent 
of the sender.
The sender hereby make no representation as to the accuracy, completeness for a 
particular purpose of the information provided in this E-mail. No binding 
commitment from the sender may be inferred by means of E-mail communications.
Please note that the sender accepts any responsibility for viruses and it is 
your responsibility to scan the E-mail and attachments (if any). 
If received in error, please reply by mail to the sender or contact the sender 
by phone (+352) 45 67 301, and then delete it from your system.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:table-cell and wrap option

2003-06-26 Thread Mukul
You can try hyphenate=true as below.. additionally
you can also use hyphenation-character and language
attributes also..

fo:table-cell
   fo:block hyphenate=true
 !-- something --
   /fo:block
/fo:table-cell

Regards,
Mukul


--- Mirko Sertic [EMAIL PROTECTED] wrote:
 Hello !
 
 when i use a fo:table cell with
 wrap-option=no-wrap, how can i stop that
 the
 text is expanding over the table cell's border?
 
 Thanks a lot.
 
 Cheers
 
 Mirko Sertic
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NoClassDefFoundError

2003-06-26 Thread John Zacharias Theophanous
Hi All,

I am new to FOP and I have tried to run FOP using the following command
from the command prompt:

C:\C:\fop-0.20.5rc\fop.bat -fo a:\simple.fo -pdf a:\simple.pdf

And I get the following error:
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/fop/apps/Fop

Any advice would be appreciated.

Regards,
John Theophanous.

*
J. Z. Theophanous,
Department of Information Science,
School of Information Technology,
Faculty of Engineering,
University of Pretoria,
South Africa.
 
Telephone Number: + 27 (0) 12 420 4026
Facsimile: + 27 (0) 12 362 5181
 
Web: http://is.up.ac.za/
 
War does not determine who is right - only who is left.
(Bertrand Russell)
BEGIN:VCARD
VERSION:2.1
N:Theophanous;John;Zacharias
FN:John Zacharias Theophanous ([EMAIL PROTECTED])
ORG:University of Pretoria;Information Science
TITLE:Lecturer
TEL;WORK;VOICE:+27 (0) 12 420 4026
TEL;HOME;VOICE:N/A
TEL;CELL;VOICE:N/A
TEL;WORK;FAX:+27 (0) 12 362 5181
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;Human Sciences Building 17-1;Human Sciences Building 17-1,=0D=0ADepartment =
of Information Science,=0D=0ASchool of Information Technology,=0D=0AFaculty =
of Engineering,=0D=0AUniversity of Pretoria,=0D=0APretoria,;0002,;;;South Af=
rica
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Human Sciences Building 17-1=0D=0AHuman Sciences Building 17-1,=0D=0ADepartm=
ent of Information Science,=0D=0ASchool of Information Technology,=0D=0AFacu=
lty of Engineering,=0D=0AUniversity of Pretoria,=0D=0APretoria,=0D=0A0002,=
=0D=0ASouth Africa
URL;WORK:http://is.up.ac.za/staff/theophanous.htm
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030408T144452Z
END:VCARD

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Spurious space between table-header and table header.

2003-06-26 Thread jaccoud

Try processing the attached fo. Although there is no specification of space
between the header and body, somehow a ~1.25mm gap crawls its way in.

(See attached file: header-body.fo)

Or maybe I am missing something. I do that a lot :-/

=
Marcelo Jaccoud Amaral
mailto:jaccoud [at] petrobras.com.br
voice: +55 21 2534-3485
fax: +55 21 2534-1809
=
There are only 10 kinds of people in the world: those who understand binary
and those who don't.



I can't reproduce (FOP from branch CVS and 0.20.4). Can you please post
a small example?

On 26.06.2003 02:11:34 jaccoud wrote:
 I'm getting a unindetified space between my table-headers and their
 table-bodies. I managed to make them go away by setting the body
 space-before to a negative ammount, but I could not identify the source
of
 the space. I tried setting margin, padding and spaces to zero in both the
 header and the body but the space persisted. It appears only when I
define
 a border around my header. Anyone noticed something similar? (I'm using
 0.20.4)



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






header-body.fo
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with line breaks

2003-06-26 Thread Clay Leeds
Sebastien,
On 6/26/2003 7:20 AM, [EMAIL PROTECTED] wrote:
I know that, the xsl fo equivalent of br is fo:block/
Actually, I believe the equivalent of br is 
fo:block#160;/fo:block because the fo:block element requires 
content (I'm speaking from experience, and the perspective of intimate 
knowledge of the XSL-FO spec).

HTH!
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: NoClassDefFoundError

2003-06-26 Thread Clay Leeds
On 6/26/2003 7:47 AM, John Zacharias Theophanous wrote:
I am new to FOP and I have tried to run FOP using the following command
from the command prompt:
C:\C:\fop-0.20.5rc\fop.bat -fo a:\simple.fo -pdf a:\simple.pdf
And I get the following error:
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/fop/apps/Fop
Your question has already been answered more eloquently than I could do:
  http://xml.apache.org/fop/faq.html#NoClassDefFound
Aren't FAQs wonderful?
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problem with line breaks

2003-06-26 Thread Clay Leeds
Whoops! That should've been...
(I'm speaking from experience, and *NOT* the perspective of intimate 
knowledge of the XSL-FO spec).

hehehe... my bad!
On 6/26/2003 9:27 AM, Clay Leeds wrote:
Sebastien,
On 6/26/2003 7:20 AM, [EMAIL PROTECTED] wrote:
I know that, the xsl fo equivalent of br is fo:block/
Actually, I believe the equivalent of br is 
fo:block#160;/fo:block because the fo:block element requires 
content (I'm speaking from experience, and the perspective of intimate 
knowledge of the XSL-FO spec).

HTH!
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: NoClassDefFoundError

2003-06-26 Thread Andreas Delmelle
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sounds like a classpath problem to me... u must make sure the fop.jar
file is accessible 
at runtime. ( try adding PATH=%PATH%;C:\fop-0.20.5rc\build\fop.jar -
or wherever this file is located - 
to the batch file ).

greetz,

ald

- -Original Message-
From: John Zacharias Theophanous
[mailto:[EMAIL PROTECTED]
Sent: donderdag 26 juni 2003 16:47
To: [EMAIL PROTECTED]
Subject: NoClassDefFoundError
Importance: High


Hi All,

I am new to FOP and I have tried to run FOP using the following
command
from the command prompt:

C:\C:\fop-0.20.5rc\fop.bat -fo a:\simple.fo -pdf a:\simple.pdf

And I get the following error:
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/fop/apps/Fop

Any advice would be appreciated.

Regards,
John Theophanous.

*
J. Z. Theophanous,
Department of Information Science,
School of Information Technology,
Faculty of Engineering,
University of Pretoria,
South Africa.
 
Telephone Number: + 27 (0) 12 420 4026
Facsimile: + 27 (0) 12 362 5181
 
Web: http://is.up.ac.za/
 
War does not determine who is right - only who is left.
(Bertrand Russell)

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPvscl9Bw/OvTa+XUEQIJKACfX1qnbh73ktvRi3bIGU12lfdgahQAoIMR
k3f2Ba8c+beIxuW9PLnj5113
=eY4P
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Little problems with absolute positioning

2003-06-26 Thread Roberto Calanca
Hi,

I had a very little problem creating a PDF from fo with a very intensive use
of positioning=absolute. I put more than a block-container, each with a
string, on on the same line (the same attribute top=...); if I declare a
node BC2 before a node BC1 and BC1 should be on the left of BC2
(BC1.leftbc2.left) sometimes (not always) the two texts result overlapped
at BC2 position.

 By the way, also with an intensive use of positioning=absolute with
hundreds of texts and rectangles it woks very very fine!

Thank you

Roberto Calanca

==
RC Software di Roberto Calanca
Consulenza informatica e Sviluppo Software
Via della Vite, 7
41041 Casinalbo (Mo)
e-mail [EMAIL PROTECTED]
www.rc-software.it


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with line breaks

2003-06-26 Thread Rodolfo M. Raya
On Thu, 2003-06-26 at 13:43, Clay Leeds wrote:
 Whoops! That should've been...
 
 (I'm speaking from experience, and *NOT* the perspective of intimate 
 knowledge of the XSL-FO spec).
 
 hehehe... my bad!

Not your bad, your inner wishes showing up :)

Rodolfo
-- 
Rodolfo M. Raya [EMAIL PROTECTED]
Heartsome Holdings Pte. Ltd.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with line breaks

2003-06-26 Thread Rodolfo M. Raya
On Thu, 2003-06-26 at 13:27, Clay Leeds wrote:

  (I'm speaking from experience, and the perspective of intimate 
 knowledge of the XSL-FO spec).
 
 HTH!

How wonderful life would be for all XSL-FO users if we had intimate
knowledge of the specs! :)

Yeah, I know. This can happen in dreams :)

Rodolfo
-- 
Rodolfo M. Raya [EMAIL PROTECTED]
Heartsome Holdings Pte. Ltd.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with line breaks

2003-06-26 Thread Andreas Delmelle
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i'm speaking from neither, but the desired result seems 
a little awkward (?)

better-formed :

fo:blockPErf./fo:blockfo:block2003/fo:block etc.

or 

fo:blockPErf.#160;2003#160;2002#160;2000/fo:block
( optional : defining entity for #160; to make it more readable )


cheerz,

ald



- -Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: donderdag 26 juni 2003 18:44
To: [EMAIL PROTECTED]
Subject: Re: Problem with line breaks


Whoops! That should've been...

(I'm speaking from experience, and *NOT* the perspective of intimate 
knowledge of the XSL-FO spec).

hehehe... my bad!

On 6/26/2003 9:27 AM, Clay Leeds wrote:
 Sebastien,
 
 On 6/26/2003 7:20 AM, [EMAIL PROTECTED] wrote:
 I know that, the xsl fo equivalent of br is fo:block/
 
 Actually, I believe the equivalent of br is 
 fo:block#160;/fo:block because the fo:block element requires
  content (I'm speaking from experience, and the perspective of
 intimate  knowledge of the XSL-FO spec).
 
 HTH!
- -- 
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPvsu2tBw/OvTa+XUEQJmZQCgyKJt8+feKeOcv1mWKfWIfARBn9wAoNec
XsxJb7QPEM0Lpx2Ybyj+oZsK
=2vFr
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with line breaks

2003-06-26 Thread Clay Leeds
On 6/26/2003 10:35 AM, Andreas Delmelle wrote:
i'm speaking from neither, but the desired result seems 
a little awkward (?)

better-formed :
fo:blockPErf./fo:blockfo:block2003/fo:block etc.
touche'! This is definitely a better solution, although this will 
involve wrapping the words, instead of creating breaks at the ','.

or 

fo:blockPErf.#160;2003#160;2002#160;2000/fo:block
( optional : defining entity for #160; to make it more readable )
This example probably won't help much, since #160; equates to a 
non-breaking space (nbsp;) which would force all of the elements on one 
line. I use it in my example wrapped with fo:block  /fo:block tags 
causing the linefeed.

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Problem with line breaks

2003-06-26 Thread Andreas Delmelle
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


  
  fo:blockPErf.#160;2003#160;2002#160;2000/fo:block
  ( optional : defining entity for #160; to make it more
  readable ) 
 
 This example probably won't help much, since #160; equates to a 
 non-breaking space (nbsp;) which would force all of the elements
 on one  line. I use it in my example wrapped with fo:block 
 /fo:block tags  causing the linefeed.
 

then maybe the good-old #013; would be better suited?

cheerz,

ald

 -- 
 Clay Leeds - [EMAIL PROTECTED]
 Web Developer - Medata, Inc. - http://www.medata.com
 PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
 
 
 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPvsyU9Bw/OvTa+XUEQJvqACg4JaT3hvio5UwV0KezbwJ1y2jsHsAn3fI
NIws9lzr/FhDII6nKpD+KHWB
=9PQx
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: background-image to cover entire page

2003-06-26 Thread Andreas Delmelle
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dunno exactly, but i think this might do the trick :

- - set margin-top  margin-bottom to 0
- - define region-before with extent equal to page-height
- - define region-body with the desired measures for the actual
document
- - define static-content with region=before
- - in there, use external-graphic to add your image

[ only downside is that if u use 
region-before, u can't use it for headers; 
if u need both headers  footers ... ? ]

haven't tried it myself though, let us know if this works

greetz,

ald

- -Original Message-
From: Jeroen van Holst [mailto:[EMAIL PROTECTED]
Sent: donderdag 26 juni 2003 15:37
To: fop-user
Subject: background-image to cover entire page


Hi, 

Is it possible to have a page-sized background image (0 margins,
covering the *entire* page) and overlay this with the actual document
rendered with proper margins?

Thanks,
Jeroen



- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPvsz7tBw/OvTa+XUEQL0jQCdH3sfP1EGMGkrm3mthKkJJtpT0IIAoMDe
B7lqAouLKIQnG4F6a3mkNPCg
=BZCt
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: NoClassDefFoundError

2003-06-26 Thread Mukul
if you go to directory fop-0.20.5rc and then run
fop.bat , you should not get this error. It shall find
the required jar file..

Regards,
Mukul

--- John Zacharias Theophanous
[EMAIL PROTECTED] wrote:
 Hi All,
 
 I am new to FOP and I have tried to run FOP using
 the following command
 from the command prompt:
 
 C:\C:\fop-0.20.5rc\fop.bat -fo a:\simple.fo -pdf
 a:\simple.pdf
 
 And I get the following error:
 Exception in thread main
 java.lang.NoClassDefFoundError:
 org/apache/fop/apps/Fop
 
 Any advice would be appreciated.
 
 Regards,
 John Theophanous.
 
 *
 J. Z. Theophanous,
 Department of Information Science,
 School of Information Technology,
 Faculty of Engineering,
 University of Pretoria,
 South Africa.
  
 Telephone Number: + 27 (0) 12 420 4026
 Facsimile: + 27 (0) 12 362 5181
  
 Web: http://is.up.ac.za/
  
 War does not determine who is right - only who is
 left.
 (Bertrand Russell)
  BEGIN:VCARD
 VERSION:2.1
 N:Theophanous;John;Zacharias
 FN:John Zacharias Theophanous
 ([EMAIL PROTECTED])
 ORG:University of Pretoria;Information Science
 TITLE:Lecturer
 TEL;WORK;VOICE:+27 (0) 12 420 4026
 TEL;HOME;VOICE:N/A
 TEL;CELL;VOICE:N/A
 TEL;WORK;FAX:+27 (0) 12 362 5181
 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;Human Sciences
 Building 17-1;Human Sciences Building
 17-1,=0D=0ADepartment =
 of Information Science,=0D=0ASchool of Information
 Technology,=0D=0AFaculty =
 of Engineering,=0D=0AUniversity of
 Pretoria,=0D=0APretoria,;0002,;;;South Af=
 rica
 LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Human Sciences
 Building 17-1=0D=0AHuman Sciences Building
 17-1,=0D=0ADepartm=
 ent of Information Science,=0D=0ASchool of
 Information Technology,=0D=0AFacu=
 lty of Engineering,=0D=0AUniversity of
 Pretoria,=0D=0APretoria,=0D=0A0002,=
 =0D=0ASouth Africa
 URL;WORK:http://is.up.ac.za/staff/theophanous.htm
 EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
 REV:20030408T144452Z
 END:VCARD
 
 
-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Font file problem

2003-06-26 Thread Jeremias Maerki
The suggestions on that page don't help any if you don't use a FOP
version 0.20.5rc or later. My comment said about that URL: See also,
which means upgrading FOP is the most important thing. 0.20.4 is buggy
when it comes to multi-threading. Please DO try 0.20.5r3a. It's very
stable even if it's only a release candidate.

On 26.06.2003 14:37:23 Sherlane Lam wrote:
 However, we have tried the suggestions stated in the
 URL:
 1.  New Driver object for each independent rendering
 2.  Load the userconfig.xml at the very begining of
 the process and only once (inside the init()).
 3.  We only use xml + xslt to generate pdf file and
 have not use the AWT and print option.
 
 Therefore, we don't know why it still has the image
 and font file loading problem.  Any comment?



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Spurious space between table-header and table header.

2003-06-26 Thread Jeremias Maerki
Hmm, looks like a bug. I'm sure Jörg knows all about it and I didn't pay
attention again. :-) Funny thing is that the gap between table-header
and table-body is exactly the width of the border-top-width. Change that
value and you change the gap.

Work-around:
- Remove the border-top-* on the table-header
- Add these border-top attributes to table instead.

I hope this helps.

On 26.06.2003 17:03:02 jaccoud wrote:
 
 Try processing the attached fo. Although there is no specification of space
 between the header and body, somehow a ~1.25mm gap crawls its way in.
 
 (See attached file: header-body.fo)
 
 Or maybe I am missing something. I do that a lot :-/


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Newbie tarred and feathered

2003-06-26 Thread David Hill
I realize this is hardly a FOP problem, but opening the gift-wrapping has this 
newbie
stymied. I found the following message and reply in the archive, which 
describes my
problem exactly, but no particular solution is offered.  Can someone enlighten 
me?

Problem: I downloaded the latest FOP binary download 
(fop-0.20.5rc3a-bin.tar.tar) from the
distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar 
file is, but
WinZip seems to think it can handle it, so I gather its a compressed 
distribution format.
Winzip returns the error message Error reading header after processing 0 
entries.  Same
result with Winzip current 8.5 release and also their beta 9.0.

So how does one untar a tar?  Is there a preferred tool?  Or is the file 
damaged?

David Hill, Camberley Systems, Needham MA


Reply by  J.Pietschmann
 Sounds like your untar utility is confused. I remember that *very*
 old tars have incompatiblities with more modern tars, in particular
 GNU tar, which may result in this error message. Another possiblity
 is that it either missed uncompressing, or that uncompressing failed
 and the error message was dropped somehow.
 In either case, you can try with another toolset, or at least identify
 the toolset you are using.

---original message---
 Subject:  Re: Newbie question about FOP
 Date: 2003-04-29 20:24:30
 Pabolu, Adinarayana (MED, GEMS-IT) wrote:
I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz from
http://xml.apache.org/dist/fop/. It is giving error  Error reading header after
processing 0 entries.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Spurious space between table-header and table header.

2003-06-26 Thread Andreas Delmelle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

my guess is this has sth to do with inheritance
top or bottom? both get doubled by them being defined
in table-header  table-row ( last one implicitly ? )

would try adding them to the row instead  leaving them out
of the table-header ( unless i really needed a header with
multiple rows )

greetz

ald

 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
 Sent: donderdag 26 juni 2003 20:28
 To: [EMAIL PROTECTED]
 Subject: Re: Spurious space between table-header and table header.


 Hmm, looks like a bug. I'm sure Jörg knows all about it and I
 didn't pay attention again. :-) Funny thing is that the gap between
 table-header and table-body is exactly the width of the
 border-top-width. Change that value and you change the gap.

 Work-around:
 - Remove the border-top-* on the table-header
 - Add these border-top attributes to table instead.

 I hope this helps.

 On 26.06.2003 17:03:02 jaccoud wrote:
 
  Try processing the attached fo. Although there is no
 specification of space
  between the header and body, somehow a ~1.25mm gap crawls its way
  in.
 
  (See attached file: header-body.fo)
 
  Or maybe I am missing something. I do that a lot :-/


 Jeremias Maerki


 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA+AwUBPvs/UdBw/OvTa+XUEQK2yQCgqnMDiPOPz/n3rByMkZUXy+4oM1AAl18p
BB7BtB+JKh/ISf15B79W8Us=
=imTf
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie tarred and feathered

2003-06-26 Thread Jamie Stillman
Rename the file to *.tar.gz as opposed to *.tar.tar and then winzip will
able to guide you on your way to extracting the actual archive.

-Original Message-
From: David Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 2:52 PM
To: [EMAIL PROTECTED]
Subject: Newbie tarred and feathered


I realize this is hardly a FOP problem, but opening the gift-wrapping has
this newbie
stymied. I found the following message and reply in the archive, which
describes my
problem exactly, but no particular solution is offered.  Can someone
enlighten me?

Problem: I downloaded the latest FOP binary download
(fop-0.20.5rc3a-bin.tar.tar) from the
distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar
file is, but
WinZip seems to think it can handle it, so I gather its a compressed
distribution format.
Winzip returns the error message Error reading header after processing 0
entries.  Same
result with Winzip current 8.5 release and also their beta 9.0.

So how does one untar a tar?  Is there a preferred tool?  Or is the file
damaged?

David Hill, Camberley Systems, Needham MA


Reply by  J.Pietschmann
 Sounds like your untar utility is confused. I remember that *very*
 old tars have incompatiblities with more modern tars, in particular
 GNU tar, which may result in this error message. Another possiblity
 is that it either missed uncompressing, or that uncompressing failed
 and the error message was dropped somehow.
 In either case, you can try with another toolset, or at least identify
 the toolset you are using.

---original message---
 Subject:  Re: Newbie question about FOP
 Date: 2003-04-29 20:24:30
 Pabolu, Adinarayana (MED, GEMS-IT) wrote:
I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz
from
http://xml.apache.org/dist/fop/. It is giving error  Error reading header
after
processing 0 entries.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie tarred and feathered

2003-06-26 Thread George Yi
Change your file extension from *.tar.tar to *.tar.gz and try a gain.

George

-Original Message-
From: David Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: Newbie tarred and feathered


I realize this is hardly a FOP problem, but opening the gift-wrapping has
this newbie
stymied. I found the following message and reply in the archive, which
describes my
problem exactly, but no particular solution is offered.  Can someone
enlighten me?

Problem: I downloaded the latest FOP binary download
(fop-0.20.5rc3a-bin.tar.tar) from the
distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar
file is, but
WinZip seems to think it can handle it, so I gather its a compressed
distribution format.
Winzip returns the error message Error reading header after processing 0
entries.  Same
result with Winzip current 8.5 release and also their beta 9.0.

So how does one untar a tar?  Is there a preferred tool?  Or is the file
damaged?

David Hill, Camberley Systems, Needham MA


Reply by  J.Pietschmann
 Sounds like your untar utility is confused. I remember that *very*
 old tars have incompatiblities with more modern tars, in particular
 GNU tar, which may result in this error message. Another possiblity
 is that it either missed uncompressing, or that uncompressing failed
 and the error message was dropped somehow.
 In either case, you can try with another toolset, or at least identify
 the toolset you are using.

---original message---
 Subject:  Re: Newbie question about FOP
 Date: 2003-04-29 20:24:30
 Pabolu, Adinarayana (MED, GEMS-IT) wrote:
I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz
from
http://xml.apache.org/dist/fop/. It is giving error  Error reading header
after
processing 0 entries.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Page Setup

2003-06-26 Thread amar



Hello guys
how do i set up the page in pdf as 
landscape.

thanks



Re: Newbie tarred and feathered

2003-06-26 Thread Ben Galbraith
On occasion, tar files I download have an extra tar appended to their 
extension.  I am not certain why.  Nevertheless, when this happens, you 
may see filenames like:

*.tar.gz.tar
Rename it to:
*.tar.gz
Ditto for *.tgz.tar.  I've not ever seen *.tar.tar; it's likely you've 
made a typo.  Uncompressed tar files put out for download are rare.

Ben
David Hill wrote:
I realize this is hardly a FOP problem, but opening the gift-wrapping has this 
newbie
stymied. I found the following message and reply in the archive, which 
describes my
problem exactly, but no particular solution is offered.  Can someone enlighten 
me?
Problem: I downloaded the latest FOP binary download 
(fop-0.20.5rc3a-bin.tar.tar) from the
distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar 
file is, but
WinZip seems to think it can handle it, so I gather its a compressed 
distribution format.
Winzip returns the error message Error reading header after processing 0 
entries.  Same
result with Winzip current 8.5 release and also their beta 9.0.
So how does one untar a tar?  Is there a preferred tool?  Or is the file 
damaged?
David Hill, Camberley Systems, Needham MA
Reply by  J.Pietschmann
Sounds like your untar utility is confused. I remember that *very*
old tars have incompatiblities with more modern tars, in particular
GNU tar, which may result in this error message. Another possiblity
is that it either missed uncompressing, or that uncompressing failed
and the error message was dropped somehow.
In either case, you can try with another toolset, or at least identify
the toolset you are using.

---original message---
Subject:  Re: Newbie question about FOP
Date: 2003-04-29 20:24:30
Pabolu, Adinarayana (MED, GEMS-IT) wrote:
I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz 
from
http://xml.apache.org/dist/fop/. It is giving error  Error reading header after
processing 0 entries.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Page Setup

2003-06-26 Thread Andreas Delmelle



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

set up a *-page-master with the appropriate width x height ??

good luck

ald
  -Original Message-
  From: amar [mailto:[EMAIL PROTECTED]
  Sent: donderdag 26 juni 2003 20:56
  To: [EMAIL PROTECTED]
  Subject: Page Setup


  Hello guys
  how do i set up the page in pdf as landscape.

  thanks

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPvtCs9Bw/OvTa+XUEQIu0wCgu6ShQsz0ewjtMp8kUKBIUDTiGzoAnA0u
ayP1qZqZJt3u116oKDaxud/z
=G9Rj
-END PGP SIGNATURE-



PGPexch.htm.asc
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Newbie tarred and feathered

2003-06-26 Thread Andreas Delmelle
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tar is actually a gzip format ( i see this has already been 
answered ... )

i would have recommended using WinRAR, which seems to 
have no probz with doubled .tar-extension.

cheerz,

ald

 -Original Message-
 From: David Hill [mailto:[EMAIL PROTECTED]
 Sent: donderdag 26 juni 2003 20:52
 To: [EMAIL PROTECTED]
 Subject: Newbie tarred and feathered
 
 
 I realize this is hardly a FOP problem, but opening the 
 gift-wrapping has this newbie
 stymied. I found the following message and reply in the archive, 
 which describes my
 problem exactly, but no particular solution is offered.  Can 
 someone enlighten me?
 
 Problem: I downloaded the latest FOP binary download 
 (fop-0.20.5rc3a-bin.tar.tar) from the
 distribution site http://xml.apache.org/fop/download.htm. I dunno 
 what a tar file is, but
 WinZip seems to think it can handle it, so I gather its a 
 compressed distribution format.
 Winzip returns the error message Error reading header after 
 processing 0 entries.  Same
 result with Winzip current 8.5 release and also their beta 9.0.
 
 So how does one untar a tar?  Is there a preferred tool?  Or is 
 the file damaged?
 
 David Hill, Camberley Systems, Needham MA
 
 
 Reply by  J.Pietschmann
  Sounds like your untar utility is confused. I remember that
  *very* old tars have incompatiblities with more modern tars, in
  particular GNU tar, which may result in this error message.
  Another possiblity is that it either missed uncompressing, or
  that uncompressing failed and the error message was dropped
  somehow.
  In either case, you can try with another toolset, or at least
  identify the toolset you are using.
 
 ---original message---
  Subject:  Re: Newbie question about FOP
  Date: 2003-04-29 20:24:30
  Pabolu, Adinarayana (MED, GEMS-IT) wrote:
 I downloaded FOP( 
 http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz from
 http://xml.apache.org/dist/fop/. It is giving error  Error 
 reading header after
 processing 0 entries.
 
 
 
 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPvtDXtBw/OvTa+XUEQIhwgCg27jxxeoTHIDt852M89IqZoNB4OsAnjzZ
H6GnGAy9KnL58xYXgLKWgimE
=qnNr
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page Setup

2003-06-26 Thread amar



thank you very much
got it working


  - Original Message - 
  From: 
  Andreas 
  Delmelle 
  To: [EMAIL PROTECTED] ; amar 
  Sent: Thursday, June 26, 2003 3:03 
  PM
  Subject: RE: Page Setup
  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

set up a *-page-master with the appropriate width x height ??

good luck

ald
  -Original Message-
  From: amar [mailto:[EMAIL PROTECTED]
  Sent: donderdag 26 juni 2003 20:56
  To: [EMAIL PROTECTED]
  Subject: Page Setup


  Hello guys
  how do i set up the page in pdf as landscape.

  thanks

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPvtCs9Bw/OvTa+XUEQIu0wCgu6ShQsz0ewjtMp8kUKBIUDTiGzoAnA0u
ayP1qZqZJt3u116oKDaxud/z
=G9Rj
-END PGP SIGNATURE-


  
  

  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For additional 
  commands, e-mail: [EMAIL PROTECTED]


Re: Font file problem

2003-06-26 Thread J.Pietschmann
Sherlane Lam wrote:
However, we have tried the suggestions stated in the
URL:
...
Therefore, we don't know why it still has the image
and font file loading problem.
In order to make it explicit: the image handling code in
0.20.4 is not thread safe. You *must* upgrade to a more
recent release if you want to use FO source with external
graphics in an MT environment, no deal otherwise.
J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie tarred and feathered

2003-06-26 Thread David Hill
Thank you all, that worked perfectly with winzip.  The download site lists the 
file as
.tar.gz, and I thought it odd that it downloaded as .tar.tar (yes, Ben, it is 
so, and you
may add .tar.tar. to your list of possibles.) Well, live and learn, I shall 
know better
next time.
Much obliged, Dave.

- Original Message - 
Jamie replies: Rename the file to *.tar.gz as opposed to *.tar.tar ...
George replies: Change your file extension from *.tar.tar to *.tar.gz ...
Ben replies: On occasion, tar files I download have an extra tar appended 
to their
extension.  I am not certain why.  Nevertheless, when this happens, you may see 
filenames
like: *.tar.gz.tar. Rename it to: *.tar.gz. Ditto for *.tgz.tar.  I've not ever 
seen
*.tar.tar; it's likely you've made a typo.  Uncompressed tar files put out for 
download
are rare.
ald replies: tar is actually a gzip format ( i see this has already been 
answered
... ) i would have recommended using WinRAR, which seems to have no probz with 
doubled
.tar-extension.

-Original Message-
 From: David Hill [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 26, 2003 2:52 PM
 To: [EMAIL PROTECTED]
 Subject: Newbie tarred and feathered
 I realize this is hardly a FOP problem, but opening the gift-wrapping has
 this newbie
 stymied. I found the following message and reply in the archive, which
 describes my
 problem exactly, but no particular solution is offered.  Can someone
 enlighten me?

 Problem: I downloaded the latest FOP binary download
 (fop-0.20.5rc3a-bin.tar.tar) from the
 distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar
 file is, but
 WinZip seems to think it can handle it, so I gather its a compressed
 distribution format.
 Winzip returns the error message Error reading header after processing 0
 entries.  Same
 result with Winzip current 8.5 release and also their beta 9.0.

 So how does one untar a tar?  Is there a preferred tool?  Or is the file
 damaged?

 David Hill, Camberley Systems, Needham MA


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]