Problem with fop

2003-02-21 Thread Isabel Fuentes




Dear sir/madam of xml.apache.org,

I'm writing to you in order to know if you could help me 
with the following problem:

I'm working with fop-0,20.1 version to create a pdf 
document using xml and xslt, but when I install the application into a computer 
with Windows XP, the following message error appears:

"Error creating process, Denied access."

With Windows NT or Windows 2000, the operation runs without any 
problem and the pdf document is created successfully.

I'd really appreciate any help.

Yours faithfully,

Isabel


Re: Problem with fop

2003-02-21 Thread Jochen . Maes

hi Isabelle,


I'm not from Apache but i work on XP with FOP.
Are you running Xp Home or XP Pro
Are you running the process as a normal user, or as a superuser (i think
the XP word is computer administrator)?

i had the problem when i used the application as a normal user, but as
computer administor i can work with FOP without any troubles...

If you're a normal user you might wan't to check if you can use the JVM

i hope this gives you more options and helps you out.

Don't hesitate to  ask more questions...


greetings

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

Isabel

Fuentes To: [EMAIL PROTECTED]

imfuentes@nocc:   

vasoft.es   Subject: Problem with fop 

   

21/02/2003 

09:43  

Please 

respond to 

fop-dev

   

   





Dear sir/madam of xml.apache.org,

 I'm writing to you in order to know if you could help me with the
following problem:

 I'm working with fop-0,20.1 version to create a pdf document using xml and
xslt, but when I install the application into a computer with Windows XP,
the following message error appears:


  Error creating process, Denied access.


 With Windows NT or Windows 2000, the operation runs without any problem
and the pdf document is created successfully.

 I'd really appreciate any help.

 Yours faithfully,

Isabel




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




Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
I'm working with FOP on Windows XP and have absolutely no problems. I
suggest you contact your Domain administrator to sort out security
restrictions on your machine. This problem, anyway, has nothing to do
with FOP directly.

By the way, you should consider upgrading your FOP version. (not that
this would solve your immediate problem)

On 21.02.2003 09:43:47 Isabel Fuentes wrote:
  I'm writing to you in order to know if you could help me with the following problem:
 
  I'm working with fop-0,20.1 version to create a pdf document using xml and xslt, 
but when I install the application into a computer with Windows XP, the following 
message error appears:
 
 
   Error creating process, Denied access.
 
 
  With Windows NT or Windows 2000, the operation runs without any problem and the pdf 
document is created successfully.


Jeremias Maerki


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




Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
Hi,

I'm running the process as administrator, the XP Pro.

What version FOP are you running? I`ve upgrading the FOP version to
fop-20.3, the following message error appears:
[ERROR]  'master-reference' for 'fo:page-sequence' matches no
'simple-page-master' or 'page-sequence-master' .
I've changed 'masters-name' by 'masters-reference'.

Thanks


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 9:45 AM
Subject: Re: Problem with fop



 hi Isabelle,


 I'm not from Apache but i work on XP with FOP.
 Are you running Xp Home or XP Pro
 Are you running the process as a normal user, or as a superuser (i think
 the XP word is computer administrator)?

 i had the problem when i used the application as a normal user, but as
 computer administor i can work with FOP without any troubles...

 If you're a normal user you might wan't to check if you can use the JVM

 i hope this gives you more options and helps you out.

 Don't hesitate to  ask more questions...


 greetings

 Jochen Maes
 ICT Development


 KBC Securities (kbcsecurities.com)
 Havenlaan 12 Avenue du Port SIF 8683
 B-1080 Brussels
 Belgium

  Tel:  +32 2 429 96 81

  GSM:  +32 496 57 90 99

  E-mail :  [EMAIL PROTECTED]





 This message and any attachments hereto are for the named person's use
 only. It may contain confidential, proprietary or legally privileged
 information. You may not, directly or indirectly, use, disclose,
 distribute, print, or copy any part of this message if you are not the
 intended recipient. If you have received this e-mail message without being
 the intended recipient, please notify KBC Securities promptly and delete
 this e-mail. Any views expressed in this message are those of the
 individual sender, except where the message states otherwise and the
sender
 is authorised to state them to be the views of KBC Securities. KBC
 Securities reserves the right to monitor all e-mail communications through
 its networks and any messages addressed to, received or sent by KBC
 Securities or its employees are deemed to be professional in nature. The
 sender or recipient of any messages to or of KBC Securities agrees that
 those may be read by other employees of KBC Securities than the stated
 recipient or sender in order to ensure the continuity of work-related
 activities and allow supervision thereof. KBC Securities does not accept
 liability for the correct and complete transmission of the information,
nor
 for any delay or interruption of the transmission, nor for damages arising
 from the use of, or reliance on, the information.



 Isabel
 Fuentes To: [EMAIL PROTECTED]
 imfuentes@nocc:
 vasoft.es   Subject: Problem with fop

 21/02/2003
 09:43
 Please

 respond to
 fop-dev






 Dear sir/madam of xml.apache.org,

  I'm writing to you in order to know if you could help me with the
 following problem:

  I'm working with fop-0,20.1 version to create a pdf document using xml
and
 xslt, but when I install the application into a computer with Windows XP,
 the following message error appears:


   Error creating process, Denied access.


  With Windows NT or Windows 2000, the operation runs without any problem
 and the pdf document is created successfully.

  I'd really appreciate any help.

  Yours faithfully,

 Isabel




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



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




Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
please read the release notes under http://xml.apache.org/fop/relnotes.html.

On 21.02.2003 11:52:17 Isabel Fuentes wrote:
 Hi,
 
 I'm running the process as administrator, the XP Pro.
 
 What version FOP are you running? I`ve upgrading the FOP version to
 fop-20.3, the following message error appears:
 [ERROR]  'master-reference' for 'fo:page-sequence' matches no
 'simple-page-master' or 'page-sequence-master' .
 I've changed 'masters-name' by 'masters-reference'.


Jeremias Maerki


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




Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
Hi,

I've download fop-0.20.5rc2. and I've read the release notes but I've a
problem again.
If I execute fop.bat from command line it works fine, however if I do it
from Internet Explorer 6 SP 1 I get the following error message: Error
creating process Denied Access

- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 12:11 PM
Subject: Re: Problem with fop


 0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
 please read the release notes under
http://xml.apache.org/fop/relnotes.html.

 On 21.02.2003 11:52:17 Isabel Fuentes wrote:
  Hi,
 
  I'm running the process as administrator, the XP Pro.
 
  What version FOP are you running? I`ve upgrading the FOP version to
  fop-20.3, the following message error appears:
  [ERROR]  'master-reference' for 'fo:page-sequence' matches no
  'simple-page-master' or 'page-sequence-master' .
  I've changed 'masters-name' by 'masters-reference'.


 Jeremias Maerki


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



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




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

what do you mean with doing it from the internet explorer?

You mean from a servlet? or after browsing your local drives in internet
explorer?


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

Isabel

Fuentes To: [EMAIL PROTECTED]

imfuentes@nocc:   

vasoft.es   Subject: Re: Problem with fop 

   

21/02/2003 

14:16  

Please 

respond to 

fop-dev

   

   





Hi,

I've download fop-0.20.5rc2. and I've read the release notes but I've a
problem again.
If I execute fop.bat from command line it works fine, however if I do it
from Internet Explorer 6 SP 1 I get the following error message: Error
creating process Denied Access

- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 12:11 PM
Subject: Re: Problem with fop


 0.20.3 is still a pretty old version. Download 0.20.4 or 0.20.5rc2. And
 please read the release notes under
http://xml.apache.org/fop/relnotes.html.

 On 21.02.2003 11:52:17 Isabel Fuentes wrote:
  Hi,
 
  I'm running the process as administrator, the XP Pro.
 
  What version FOP are you running? I`ve upgrading the FOP version to
  fop-20.3, the following message error appears:
  [ERROR]  'master-reference' for 'fo:page-sequence' matches no
  'simple-page-master' or 'page-sequence-master' .
  I've changed 'masters-name' by 'masters-reference'.


 Jeremias Maerki


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



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






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




Re: Problem with fop

2003-02-21 Thread Jeremias Maerki
Oh, there's some interesting bit of information: How exactly do you call
fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
are you trying to accomplish? Or are you using a servlet and Acrobat
Reader has a problem starting up inside Internet Explorer?


On 21.02.2003 14:16:11 Isabel Fuentes wrote:
 I've download fop-0.20.5rc2. and I've read the release notes but I've a
 problem again.
 If I execute fop.bat from command line it works fine, however if I do it
 from Internet Explorer 6 SP 1 I get the following error message: Error
 creating process Denied Access


Jeremias Maerki


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




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

sorry didn't see this one before..

I run fop-20.3 without any problem...

greetings...



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

Isabel

Fuentes To: [EMAIL PROTECTED]

imfuentes@nocc:   

vasoft.es   Subject: Re: Problem with fop 

   

21/02/2003 

11:52  

Please 

respond to 

fop-dev

   

   





Hi,

I'm running the process as administrator, the XP Pro.

What version FOP are you running? I`ve upgrading the FOP version to
fop-20.3, the following message error appears:
[ERROR]  'master-reference' for 'fo:page-sequence' matches no
'simple-page-master' or 'page-sequence-master' .
I've changed 'masters-name' by 'masters-reference'.

Thanks


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 9:45 AM
Subject: Re: Problem with fop



 hi Isabelle,


 I'm not from Apache but i work on XP with FOP.
 Are you running Xp Home or XP Pro
 Are you running the process as a normal user, or as a superuser (i think
 the XP word is computer administrator)?

 i had the problem when i used the application as a normal user, but as
 computer administor i can work with FOP without any troubles...

 If you're a normal user you might wan't to check if you can use the JVM

 i hope this gives you more options and helps you out.

 Don't hesitate to  ask more questions...


 greetings

 Jochen Maes
 ICT Development


 KBC Securities (kbcsecurities.com)
 Havenlaan 12 Avenue du Port SIF 8683
 B-1080 Brussels
 Belgium

  Tel:  +32 2 429 96 81

  GSM:  +32 496 57 90 99

  E-mail :  [EMAIL PROTECTED]





 This message and any attachments hereto are for the named person's use
 only. It may contain confidential, proprietary or legally privileged
 information. You may not, directly or indirectly, use, disclose,
 distribute, print, or copy any part of this message if you are not the
 intended recipient. If you have received this e-mail message

Re: Problem with fop

2003-02-21 Thread Isabel Fuentes
I've a web application developed in ASP, XML and XSL thecnology and I
execute fop.bat from ASP file.



- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 2:21 PM
Subject: Re: Problem with fop


 Oh, there's some interesting bit of information: How exactly do you call
 fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
 are you trying to accomplish? Or are you using a servlet and Acrobat
 Reader has a problem starting up inside Internet Explorer?


 On 21.02.2003 14:16:11 Isabel Fuentes wrote:
  I've download fop-0.20.5rc2. and I've read the release notes but I've a
  problem again.
  If I execute fop.bat from command line it works fine, however if I do it
  from Internet Explorer 6 SP 1 I get the following error message: Error
  creating process Denied Access


 Jeremias Maerki


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



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




Re: Problem with fop

2003-02-21 Thread Jochen . Maes

Ok

Isabelle, There is a property in the IIS5.0 manager that lets you geve
access to certain actions (run scripts execute all etc).
Make sure this is set to run all...

Furthermore, i would strongly recommend using a servlet. It isn't difficult
to set up (nice examples) and it will make your life lots easier...

I know sometimes it is simply not possible but if it is, go for that.

I'm most willing to help in case you need java support

greetings

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


   

Isabel

Fuentes To: [EMAIL PROTECTED]

imfuentes@nocc:   

vasoft.es   Subject: Re: Problem with fop 

   

21/02/2003 

14:33  

Please 

respond to 

fop-dev

   

   





I've a web application developed in ASP, XML and XSL thecnology and I
execute fop.bat from ASP file.



- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 2:21 PM
Subject: Re: Problem with fop


 Oh, there's some interesting bit of information: How exactly do you call
 fop.bat from Internet Explorer? Strikes me as an odd thing to do? What
 are you trying to accomplish? Or are you using a servlet and Acrobat
 Reader has a problem starting up inside Internet Explorer?


 On 21.02.2003 14:16:11 Isabel Fuentes wrote:
  I've download fop-0.20.5rc2. and I've read the release notes but I've a
  problem again.
  If I execute fop.bat from command line it works fine, however if I do
it
  from Internet Explorer 6 SP 1 I get the following error message: Error
  creating process Denied Access


 Jeremias Maerki


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



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

font problem in fop generated pcl file

2003-02-17 Thread Darryl Nortje
Hi guys. I have an interesting problem that I hope you can help with. 

I am trying to get the font Garamond printed on my pcl output. When I use
pdf as the output the font is on the pdf document. But when I use -pcl as
the output, there is no Garamond font there. The following are excerps from
the userconfig file, the command line argument I use to generate the pcl,
and output printlines from fop.

!-- userconfig -- 
fonts 
font metrics-file=file://c:/java/investec/conf/gara.xml kerning=yes
embed-file=file:///c:/windows/fonts/GARA.TTF

font-triplet name=Garamond style=normal weight=normal/ 
 /font 
 font metrics-file=file://c:/java/investec/conf/garab.xml kerning=yes
embed-file=file:///c:/windows/fonts/GARABD.TTF

font-triplet name=Garamond style=normal weight=bold/ 
 /font 
/fonts 

!-- command line arguments -- 
fop -c c:\java\investec\conf\userconfig.xml -xml c:\1.xml -xsl c:\1.xsl -pcl
c:\1.pcl 

!-- fop output -- 
C:\fop\fop-0.20.4java -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib
\xml-apis.jar;lib

\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop -c c:\java\investec\conf\

userconfig.xml -xml c:\1.xml -xsl c:\1.xsl -pcl c:\1.pcl 
[INFO] FOP @version@ 
[INFO] building formatting object tree 
[INFO] rendering areas to PCL 
[INFO] [1] 
[INFO] [2] 
[INFO] [3] 
[INFO] [4] 
[INFO] Parsing of document complete, stopping renderer 
[INFO] writing out PCL 

When I output to -pdf, The fop printlines are exactly the same. The only
difference is that the garamond font is on the pdf.

Please help. 

Thanks 
Darryl

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




Re: font problem in fop generated pcl file

2003-02-17 Thread Arnd Beißner
Darryl Nortje wrote:
 I am trying to get the font Garamond printed on my pcl output. When I 
use
 pdf as the output the font is on the pdf document. But when I use -pcl 
as
 the output, there is no Garamond font there. The following are excerps 
from
 the userconfig file, the command line argument I use to generate the 
pcl,
 and output printlines from fop.

This is a question for fop-user, but: you embed a TrueType font into
you PDF file. The PCL (and PostScript as well) output of FOP do not
implement font embedding, TrueType format or not.

So, for this to work, you'd have to download the Garamond font to your
PCL printer prior to printing the PCL file produced by FOP. How you do
this and in which format (I don't really know PCL 6, but in old PCL, you
cannot use TrueType fonts) is up to you (and your actual printer),
unfortunately.

You don't get a different log output, because FOP cannot look into your
printer and therefore cannot see whether the Garamond font is there. So
it assumes everything is ok and doesn't log an error.

Hope this helps,

Arnd
--
Cappelino Informationstechnologie GmbH
Arnd Beißner

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




I have problem with FOP - running

2002-02-26 Thread Carlos Daniel Schafer

Hello

I take that libraries and put into c:\java\lib, I working witch NT 2000.
Please, I have problems with FOP when running and recieved this message 

Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main

I don't now this message, please help me.

Sorry, my English is very bad.


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




Re: I have problem with FOP - running

2002-02-26 Thread fred redf

ant.jar is missing in your classpath.
Fred.

--- Carlos Daniel Schafer
[EMAIL PROTECTED] a écrit : 
Hello
 
 I take that libraries and put into c:\java\lib, I
 working witch NT 2000.
 Please, I have problems with FOP when running and
 recieved this message 
 
 Exception in thread main
 java.lang.NoClassDefFoundError:
 org/apache/tools/ant/Main
 
 I don't now this message, please help me.
 
 Sorry, my English is very bad.
 
 

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

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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




problem with fop 20.3

2002-02-20 Thread Nick Winger

hi !

i'm using fop 20.3.

i get an error message, saying:
'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or
'page-sequence-master'
( with fop 20.1 and exactly the same file, i have no error messages )

here's the code:

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=simple
page-height=29cm
page-width=21cm
margin-top=1cm
margin-bottom=1cm
margin-left=1.5cm
margin-right=1.5cm
fo:region-body display-align=center margin-top=1cm
margin-bottom=128mm/
fo:region-before display-align=center 
extent=12cm/
fo:region-after extent=128mm/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-name=simple

lots of stuff here

/fo:page-sequence
/fo:root


anybody know what i have to change to get it running with version 20.3 ?


greetings

Nick Winger


(Software-Developer)
==
VANGUARD Software GmbH
Julius Tandler Platz 8
1090 Vienna, AUSTRIA

Phone: +43-1-3195263-20
Fax:   +43-1-3195263-90
http://www.vanguard.at
==



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




Re: problem with fop 20.3

2002-02-20 Thread Jeremias Maerki

Nick

I think it's time you change to the fop-user mailing list for these kind
of questions. And as a reminder there are wonderful mailing list
archives around to get your answers. See:
http://xml.apache.org/fop/resources.html

Anyway, you need to change master-name to master-reference. This has
changed in the XSL:FO Recommendation.

 anybody know what i have to change to get it running with version 20.3 ?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch


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




RE: problem with fop 20.3

2002-02-20 Thread Sami, Abdul (Netprosys)

Change the attribute name of master-name to master-reference
Old:fo:simple-page-master master-name=simple
New:fo:simple-page-master master-reference=simple

For detail read FOP DTD PDF that comes with 20.3

Sami

-Original Message-
From: Nick Winger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 5:08 AM
To: Apache Mailinglist (E-Mail)
Subject: problem with fop 20.3


hi !

i'm using fop 20.3.

i get an error message, saying:
'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or
'page-sequence-master'
( with fop 20.1 and exactly the same file, i have no error messages )

here's the code:

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=simple
page-height=29cm
page-width=21cm
margin-top=1cm
margin-bottom=1cm
margin-left=1.5cm
margin-right=1.5cm
fo:region-body display-align=center
margin-top=1cm
margin-bottom=128mm/
fo:region-before display-align=center
extent=12cm/
fo:region-after extent=128mm/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-name=simple

lots of stuff here

/fo:page-sequence
/fo:root


anybody know what i have to change to get it running with version 20.3 ?


greetings

Nick Winger


(Software-Developer)
==
VANGUARD Software GmbH
Julius Tandler Platz 8
1090 Vienna, AUSTRIA

Phone: +43-1-3195263-20
Fax:   +43-1-3195263-90
http://www.vanguard.at
==



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

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




SVG Problem with FOP

2002-01-24 Thread Scott Moore



I'm trying to embed 
the following SVG into my XSL-FOand run it thru FOP. Although the 
SVG looks fine using Adobe's SVG viewer, I get an error (below) from FOP. 
Apparently, it doesn't like the url() reference to the 
radialGradient. How can I get this to work?

Thanks for any 
help,
Scott


svg width="3.5in" height="1in" viewBox="0 0 680 
200" xmlns="http://www.w3.org/2000/svg" 
preserveAspectRatio="none"gdefsradialGradient 
id="PurpleToWhite" gradientUnits="objectBoundingBox" cx=".5" cy=".5" 
r=".5"stop offset="5%" 
stop-color="white"/stop offset="100%" 
stop-color="rgb(100,0,100)"//radialGradient/defsrect 
fill="black" stroke="black" x="0" y="0" width="680" 
height="200"/circle r="80" cx="270" cy="100" 
fill="url(#PurpleToWhite)"/text font-family="Times" 
font-size="135pt" x="213" y="160" 
fill="white"D/text/g/svg

An I/O error occured while processing the URI 
'file:D:/Projects/Dev/#PurpleToWhite' 
specified on the element 
circleorg.apache.batik.bridge.BridgeException: 
file:D:/Projects/Dev/:-1An I/O error occured while processing the URI 
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element 
circle at 
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown 
Source) at 
org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unknown 
Source) at 
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.build(Unknown 
Source) at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:413) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:382) 
at 
org.apache.fop.svg.SVGArea.render(SVGArea.java:58) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:366) 
at 
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:50) 
at 
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:223) 
at 
org.apache.fop.layout.LineArea.render(LineArea.java:163) 
at 
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer.java:192) 
at 
org.apache.fop.layout.BlockArea.render(BlockArea.java:82) 
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:158) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:735) 
at 
org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:700) 
at 
org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217)

 at 
org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81) 
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:307) 
at 
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200) 
at 
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182) 
at 
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:463) 
at 
org.apache.fop.apps.Driver.render(Driver.java:481) 
at 
org.apache.fop.apps.Driver.render(Driver.java:501) 
at org.apache.fop.apps.Driver.run(Driver.java:552)





Scott Moore
Senior Developer
netDecide - http://www.netdecide.com/
7600 Leesburg Pike, West Building - Suite 
100
Falls Church, Virginia 22043
(571) 633-6134 (Work)
(571) 633-6003 (Fax)



RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Michel Lehon

Hi,

I noticed that I did not update some of the comments in the Javadoc
to reflect the changes I made...
If those changes are accepted, I'll be glad to update the Comments
and take a look at some of the docs about embedding.

Michel.

 -Original Message-
 From: Michel Lehon [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 13 August, 2001 15:24
 To: [EMAIL PROTECTED]
 Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
 SAX events...


 Hi,

 I just upgraded our program to use FOP 0.20.0
 We embedded FOP and used the old official method to call it.

 I mean using somthing like this :
 Driver driver = new Driver();
 driver.setRenderer(Driver.RENDER_PDF);
 ByteArrayOutputStream out = new ByteArrayOutputStream();
 driver.setOutputStream(out);

 ContentHandler cnth = driver.getContentHandler();
 sendSAXEvents(cnth);

 driver.format();
 driver.render();

 byte[] content = out.toByteArray();

 However this not longer works with 0.20.0
 for a few reasons:
 1°) there is no driver.format() method.
 2°) there is no driver.render() method (there are two version with
 parameters).

 Still removing those two method calls still does not work as
 using the ContentHandler returned by driver.getContentHandler
 generates a NullPointException because the
 _treeBuilder.setStreamRenderer(streamRenderer)
 is not called (and the FOTreeBuilder needs it).

 so I changed a few lines in Driver.java to fix this...
 I added a method driver.prepareRender() that setups the _treeBuilder
 I changed both render method to use the new prepareRender
 so my program now looks like this (and works).

 Driver driver= new Driver();
 driver.setRenderer(Driver.RENDER_PDF);
 ByteArrayOutputStream out = new ByteArrayOutputStream();
 driver.setOutputStream(out);
 driver.prepareRender();

 ContentHandler cnth = driver.getContentHandler();
 sendSAXEvents(cnth);

 byte[] content = out.toByteArray();

 What do you think ? Was it a good idea ? anyother idea on how to acheive
 this ?

 I though about putting back the render() method (without
 parameters), but I
 tough it was
 weird as it would need to be called before the SAX events are generated.

 Michel Lehon
 [EMAIL PROTECTED]
 SAS Data Warehousing and Web Enablement.



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




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Peter Jacobs

Hi,

as far as I understand, there has been a change in the public API because of
Mark's patch, so the old method doesn't work anymore.

You can see the new code in examples/embedding. It works fine for me.
or more info:
http://xml.apache.org/fop/embedding.html


BTW: the html-docs included in the FOP_0_20 distribution are for FOP 0.18
???

Peter

Peter Jacobs
Freelance multimedia programmeur
De Budetstraat 8
B-3201 Aarschot
[EMAIL PROTECTED]
016/573257


 -Original Message-
 From: Michel Lehon [mailto:[EMAIL PROTECTED]]
 Sent: maandag 13 augustus 2001 15:24
 To: [EMAIL PROTECTED]
 Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
 SAX events...


 Hi,

 I just upgraded our program to use FOP 0.20.0
 We embedded FOP and used the old official method to call it.

 I mean using somthing like this :
 Driver driver = new Driver();
 driver.setRenderer(Driver.RENDER_PDF);
 ByteArrayOutputStream out = new ByteArrayOutputStream();
 driver.setOutputStream(out);

 ContentHandler cnth = driver.getContentHandler();
 sendSAXEvents(cnth);

 driver.format();
 driver.render();

 byte[] content = out.toByteArray();

 However this not longer works with 0.20.0
 for a few reasons:
 1°) there is no driver.format() method.
 2°) there is no driver.render() method (there are two version with
 parameters).




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




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Michel Lehon

Peter,

It works fine if you use one of the render methods...
which I can't since I'm firing SAX events myself.
sadly using the ContentHandler returned by
driver.getContentHandler() throws a NullPointerException
(as I explained in my previous mails).

The Docs you a refering to (and the ones in 0.20.0, I did not check 0.20.1
yet)
are outdated (i.e. they still talk about the driver.format() method).

Michel.

PS: Nice to see other belgians out here :).


 -Original Message-
 From: Peter Jacobs [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 14 August, 2001 11:25
 To: [EMAIL PROTECTED]
 Subject: RE: Problem with FOP 0.20.0 when using the ContentHandler to
 feed SAX events...


 Hi,

 as far as I understand, there has been a change in the public API
 because of
 Mark's patch, so the old method doesn't work anymore.

 You can see the new code in examples/embedding. It works fine for me.
 or more info:
 http://xml.apache.org/fop/embedding.html


 BTW: the html-docs included in the FOP_0_20 distribution are for FOP 0.18
 ???

 Peter
 
 Peter Jacobs
 Freelance multimedia programmeur
 De Budetstraat 8
 B-3201 Aarschot
 [EMAIL PROTECTED]
 016/573257


  -Original Message-
  From: Michel Lehon [mailto:[EMAIL PROTECTED]]
  Sent: maandag 13 augustus 2001 15:24
  To: [EMAIL PROTECTED]
  Subject: Problem with FOP 0.20.0 when using the ContentHandler to feed
  SAX events...
 
 
  Hi,
 
  I just upgraded our program to use FOP 0.20.0
  We embedded FOP and used the old official method to call it.
 
  I mean using somthing like this :
  Driver driver = new Driver();
  driver.setRenderer(Driver.RENDER_PDF);
  ByteArrayOutputStream out = new ByteArrayOutputStream();
  driver.setOutputStream(out);
 
  ContentHandler cnth = driver.getContentHandler();
  sendSAXEvents(cnth);
 
  driver.format();
  driver.render();
 
  byte[] content = out.toByteArray();
 
  However this not longer works with 0.20.0
  for a few reasons:
  1°) there is no driver.format() method.
  2°) there is no driver.render() method (there are two version with
  parameters).
 
 


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





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




RE: Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-14 Thread Peter Jacobs


 Peter,

 It works fine if you use one of the render methods...
 which I can't since I'm firing SAX events myself.
 sadly using the ContentHandler returned by
 driver.getContentHandler() throws a NullPointerException
 (as I explained in my previous mails).

sorry, should read more carefully before posting.
I am only using FOP on a basic level...

 PS: Nice to see other belgians out here :).

There seem to be quite a few belgians on this list. Maybe we could set up a
local FOP evangelization group :-)


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




Problem with FOP 0.20.0 when using the ContentHandler to feed SAX events...

2001-08-13 Thread Michel Lehon

Hi,

I just upgraded our program to use FOP 0.20.0
We embedded FOP and used the old official method to call it.

I mean using somthing like this :
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
ByteArrayOutputStream out = new ByteArrayOutputStream();
driver.setOutputStream(out);

ContentHandler cnth = driver.getContentHandler();
sendSAXEvents(cnth);

driver.format();
driver.render();

byte[] content = out.toByteArray();

However this not longer works with 0.20.0
for a few reasons:
1°) there is no driver.format() method.
2°) there is no driver.render() method (there are two version with
parameters).

Still removing those two method calls still does not work as
using the ContentHandler returned by driver.getContentHandler
generates a NullPointException because the
_treeBuilder.setStreamRenderer(streamRenderer)
is not called (and the FOTreeBuilder needs it).

so I changed a few lines in Driver.java to fix this...
I added a method driver.prepareRender() that setups the _treeBuilder
I changed both render method to use the new prepareRender
so my program now looks like this (and works).

Driver driver= new Driver();
driver.setRenderer(Driver.RENDER_PDF);
ByteArrayOutputStream out = new ByteArrayOutputStream();
driver.setOutputStream(out);
driver.prepareRender();

ContentHandler cnth = driver.getContentHandler();
sendSAXEvents(cnth);

byte[] content = out.toByteArray();

What do you think ? Was it a good idea ? anyother idea on how to acheive
this ?

I though about putting back the render() method (without parameters), but I
tough it was
weird as it would need to be called before the SAX events are generated.

Michel Lehon
[EMAIL PROTECTED]
SAS Data Warehousing and Web Enablement.

 Driver.java

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


Re: Problem in Fop-test

2001-07-03 Thread Cho

Copy jars listed below to c:\JavaSoft\jre\1.3.1\lib\ext directory

wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\fop.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\ant.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\w3c.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalan-1.2.2.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalan-2.0.0.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalanj1compat.jar;
wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xerces.jar;


good luck



Ingo Bruell wrote:

 Hi wei,

 wf I work for the German Telecom.
 wf I am interesting in the Fop Product. I downloaded
 wf FOP018_1dev_src and then set the Classpath:
 wf c:\JavaSoft\Jre\1.3.1\lib\rt.jar;
 wf c:\JavaSoft\Jre\1.3.1\lib\i18n.jar;
 wf c:\JavaSoft\Jre\1.3.1\lib\jaws.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\fop.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\ant.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\w3c.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalan-1.2.2.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalan-2.0.0.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xalanj1compat.jar;
 wf D:\Apache_FOP\FOP018_1dev_src\Fop-0.18.1-DEV\lib\xerces.jar;

 You don't have to set the jars from the jre in the classpath. Have you
 added  the Fop Directory where the fop.bat file lies to the Systempath
 ?

 so long

 Ingo Bruell

 ---
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 ICQ# 40377720
 OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
 Germany  PGP-Public-Key available at pgpkeys.mit.edu

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


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




Page break problem in FOP 0.19.0

2001-06-22 Thread Qi Chen
Title: Page break problem in FOP 0.19.0






I have nested tables in my FO files and used to have premature page breaks with FOP 0.18.1. After downloading the source code through CVS and building fop.jar, the pages are properly generated. I downloaded the source through CVS on 6/5/2001.

But after downloading the FOP 0.19.0, the page doesn't break at all and it goes all the way to the foot notes, throwing away the left-over. Could anyone help me, please? thanks

-Qi





Re: Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-20 Thread Raju Dave

Hi Kumar,

Try enclosed fo file..

Problem was with nesting in tables and please specify table-column as these are 
presently required by FOP.

Raju

- Original Message --
f0 fo [EMAIL PROTECTED] wrote:
To:[EMAIL PROTECTED]
From:f0 fo [EMAIL PROTECTED]
Date:Tue, 19 Jun 2001 09:00:28 -0700 (PDT)
Subject:Re: problem running FOP with servlet - (code gets executed multiple 
times)urgent

hi Raju!!
  Thanks for u'r reply
I'm trying to create the fo file at run time using an
xml  xsl file. The template of the fo file generated
attached to this file,

thanks,
Kumar



--- Raju Dave [EMAIL PROTECTED] wrote:
 
 Can u sent ur code file,
 
 With servlets fop works fine.. maybe problem with
 specifing page sequence?
 
 Raju 
 
 - Original Message --
 f0 fo [EMAIL PROTECTED] wrote:
 To:[EMAIL PROTECTED]
 From:f0 fo [EMAIL PROTECTED]
 Date:Tue, 19 Jun 2001 07:00:23 -0700 (PDT)
 Subject:problem running FOP with servlet - (code
 gets executed multiple times)urgent
 
 hi all!!
   I'm trying to create a PDF using FOP.jar 0.17
 (version), The code works great as a application,
 but
 when  I tried running it as servlet the code tries
 to
 execute multiple times..but I'm able to get the pdf
 but the code gets executed multiple time.The output
 in
 the console is
 ***
 Tue Jun 19 08:56:24 CDT 2001:I
 ServletContext-General PDFGenerator: init
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 *
 I tried with FopServlet with fop0.18.jar also the
 same
 thing happens. I would appreciate any suggestions on
 this.
 
 Thanks,
 Kumar
 
 
 
 __
 Do You Yahoo!?
 Spot the hottest trends in music, movies, and more.
 http://buzz.yahoo.com/
 

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

_
 Buy Lagaan  Yaadein music for 30% less.
 Avail this special offer at

http://shopping.rediff.com/shopping/music/offerrediffmailer.htm
 
 
 
 
 

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


__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

_
Buy Lagaan  Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 



?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-right=.5cm 
		margin-left=.5cm margin-bottom=1cm margin-top=0.5cm 
		master-name=first
	fo:region-before extent=3.5cm margin-top=0.8cm/
	fo:region-body margin-bottom=2cm margin-top=3.8cm/
	fo:region-after extent=1cm margin-top=0.5cm/
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-name=first
fo:static-content flow-name=xsl-region-after
	fo:block text-align=end

problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

hi all!!
  I'm trying to create a PDF using FOP.jar 0.17
(version), The code works great as a application, but
when  I tried running it as servlet the code tries to
execute multiple times..but I'm able to get the pdf
but the code gets executed multiple time.The output in
the console is
***
Tue Jun 19 08:56:24 CDT 2001:I
ServletContext-General PDFGenerator: init
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping
org.apache.fop.fo.StandardElementMapping
using element mapping
org.apache.fop.svg.SVGElementMapping
using element mapping
org.apache.fop.extensions.ExtensionElementMapping
using property list mapping
org.apache.fop.fo.StandardPropertyListMapping
using property list mapping
org.apache.fop.svg.SVGPropertyListMapping
using property list mapping
org.apache.fop.extensions.ExtensionPropertyListMapping
building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping
org.apache.fop.fo.StandardElementMapping
using element mapping
org.apache.fop.svg.SVGElementMapping
using element mapping
org.apache.fop.extensions.ExtensionElementMapping
using property list mapping
org.apache.fop.fo.StandardPropertyListMapping
using property list mapping
org.apache.fop.svg.SVGPropertyListMapping
using property list mapping
org.apache.fop.extensions.ExtensionPropertyListMapping
building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping
org.apache.fop.fo.StandardElementMapping
using element mapping
org.apache.fop.svg.SVGElementMapping
using element mapping
org.apache.fop.extensions.ExtensionElementMapping
using property list mapping
org.apache.fop.fo.StandardPropertyListMapping
using property list mapping
org.apache.fop.svg.SVGPropertyListMapping
using property list mapping
org.apache.fop.extensions.ExtensionPropertyListMapping
building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF
*
I tried with FopServlet with fop0.18.jar also the same
thing happens. I would appreciate any suggestions on
this.

Thanks,
Kumar



__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

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




Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

servlet code
*
..
..

Driver driver = new Driver();
driver.setBaseDir(sFoFileName);

driver.setRenderer(org.apache.fop.render.pdf.PDFRenderer,
   
 Version.getVersion());
driver.addElementMapping

(org.apache.fop.fo.StandardElementMapping);
driver.addElementMapping

(org.apache.fop.svg.SVGElementMapping);
driver.addElementMapping

(org.apache.fop.extensions.ExtensionElementMapping);
driver.addPropertyList

(org.apache.fop.fo.StandardPropertyListMapping);
driver.addPropertyList

(org.apache.fop.svg.SVGPropertyListMapping);
driver.addPropertyList

(org.apache.fop.extensions.ExtensionPropertyListMapping);
driver.buildFOTree
(new 
org.apache.xerces.parsers.SAXParser(),
   
  new InputSource(sFileSystem
   
 +/+ sFoFileName));
driver.format();
driver.setOutputStream(response.getOutputStream());
driver.render();
..
...

Thanks,
Kumar



--- Raju Dave [EMAIL PROTECTED] wrote:
 
 Can u sent ur code file,
 
 With servlets fop works fine.. maybe problem with
 specifing page sequence?
 
 Raju 
 
 - Original Message --
 f0 fo [EMAIL PROTECTED] wrote:
 To:[EMAIL PROTECTED]
 From:f0 fo [EMAIL PROTECTED]
 Date:Tue, 19 Jun 2001 07:00:23 -0700 (PDT)
 Subject:problem running FOP with servlet - (code
 gets executed multiple times)urgent
 
 hi all!!
   I'm trying to create a PDF using FOP.jar 0.17
 (version), The code works great as a application,
 but
 when  I tried running it as servlet the code tries
 to
 execute multiple times..but I'm able to get the pdf
 but the code gets executed multiple time.The output
 in
 the console is
 ***
 Tue Jun 19 08:56:24 CDT 2001:I
 ServletContext-General PDFGenerator: init
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 *
 I tried with FopServlet with fop0.18.jar also the
 same
 thing happens. I would appreciate any suggestions on
 this.
 
 Thanks,
 Kumar
 
 
 
 __
 Do You Yahoo!?
 Spot the hottest trends in music, movies, and more.
 http://buzz.yahoo.com/
 

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

Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

hi Raju!!
  Thanks for u'r reply
I'm trying to create the fo file at run time using an
xml  xsl file. The template of the fo file generated
attached to this file,

thanks,
Kumar



--- Raju Dave [EMAIL PROTECTED] wrote:
 
 Can u sent ur code file,
 
 With servlets fop works fine.. maybe problem with
 specifing page sequence?
 
 Raju 
 
 - Original Message --
 f0 fo [EMAIL PROTECTED] wrote:
 To:[EMAIL PROTECTED]
 From:f0 fo [EMAIL PROTECTED]
 Date:Tue, 19 Jun 2001 07:00:23 -0700 (PDT)
 Subject:problem running FOP with servlet - (code
 gets executed multiple times)urgent
 
 hi all!!
   I'm trying to create a PDF using FOP.jar 0.17
 (version), The code works great as a application,
 but
 when  I tried running it as servlet the code tries
 to
 execute multiple times..but I'm able to get the pdf
 but the code gets executed multiple time.The output
 in
 the console is
 ***
 Tue Jun 19 08:56:24 CDT 2001:I
 ServletContext-General PDFGenerator: init
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 *
 I tried with FopServlet with fop0.18.jar also the
 same
 thing happens. I would appreciate any suggestions on
 this.
 
 Thanks,
 Kumar
 
 
 
 __
 Do You Yahoo!?
 Spot the hottest trends in music, movies, and more.
 http://buzz.yahoo.com/
 

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

_
 Buy Lagaan  Yaadein music for 30% less.
 Avail this special offer at

http://shopping.rediff.com/shopping/music/offerrediffmailer.htm
 
 
 
 
 

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


__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-right=.5cm 
		margin-left=.5cm margin-bottom=1cm margin-top=0.5cm 
		master-name=first
	fo:region-before extent=3.5cm margin-top=0.8cm/
	fo:region-body margin-bottom=2cm margin-top=3.8cm/
	fo:region-after extent=1cm margin-top=0.5cm/
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-name=first
fo:static-content flow-name=xsl-region-after
	fo:block text-align=end font-family=sans-serif font-size=6pt
			AFE Report   Pagefo:page-number/
	/fo:block
/fo:static-content
fo:static-content flow-name=xsl-region-before
	fo:table
	fo:table-column column-width=98mm/
	fo:table-column column-width=78mm/
	fo:table-body
	fo:table-row
	fo:table-cell
	fo:block text-align=start/
	/fo:table-cell
	fo:table-cell
	fo:block padding-top=3pt text-align=left space-after.optimum=15pt 
			line-height=10pt font-family=sans-serif font-size=8pt
		fo:table
			fo:table-column column-width=78mm/
			fo:table-body
			***
			/fo:table-body
		/fo:table
		fo:table