Re: Backgound image and TOC alignment

2001-09-25 Thread MEMMADI Said

Text-align work. You must use text-align=end and not right.


 Messages d´origine 
De: Anders W. Tell [EMAIL PROTECTED]
Date: mardi 25 septembre  2001 14:29
Objet: Backgound image and TOC alignment

 Hi,
 
 Could anyone help me with these two problems ?
 
 
 Im developing a forms application using PDF, for ebXML
  target=lhttp://www.openebxml.org/projects/ptools/txslt/bpws_en.pdf
 
 
 However I have two problems:
 
 * How do I get a JPG appear as a backgound of the text on initial page ?
  Does FOP support this ?
 
 
 * In the TOC I want to align section header text to the left and the 
 page number to the right,
 but text-align doest seem to work, anyone with any ideas ?
 
 
 /Cheers/Anders
 
 -- 
 /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 /Anders W. Tell   ,   Financial Toolsmiths AB / 
 / email: [EMAIL PROTECTED]   target=lhttp://www.toolsmiths.se  /
 / Open ebXML: http://www.openebxml.org/
 /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
 
 
 -
 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: RE: Generating PDF on Fly

2001-09-24 Thread MEMMADI Said

Hi,
What are changes in FOP API 0.20.1 exactly  ?

Thanks in adavance ?

 Messages d´origine 
De: Shkuro, Yuri [EMAIL PROTECTED]
Date: vendredi 21 septembre  2001 16:57
Objet: RE: Generating PDF on Fly

 Yes.  See attached JSP.  Without a parameter it reads
 static XML file and displays it in HTML format, with
 'fo' parameter it reads the .fo file and displays PDF,
 and also has a link to display static XML as PDF.  It's
 easy to modify this to read external XML file and output
 PDF.  It used to work with FOP 0.19 - you may need to tweak
 it a little for FOP 0.20 due to API changes (namely, comment
 out driver.render() and driver.format()).
 
 YS
 
 -Original Message-
 From: Semprini Davide [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 21, 2001 10:34 AM
 To: fop-dev
 Subject: Generating PDF on Fly
 
 
 Hi,
 
 I have a question:
 
 Is possible to generate and VISUALIZE
 with a common Browser with Acrobat Reader plug-in
 a PDF using a JSP that take in input a Dynamic XML?
 
 Tanks!
 
 D.Semprini
 
 
 
 
 -
 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]


Fop2PDFServlet using FOP 0.20.1

2001-09-24 Thread MEMMADI Said

Fop2PDFServlet using FOP 0.20.1 
 
 


Hi all,
I need example of servlet using FOP 0.20.1 and wich generate PDF file
from xsl file and xmlString.

I've old code wich don't work now with this last version.

What is the best way xmlString or creating DOM object if I've not xml
file.


Thanks in advance.



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




Re: 0.16.0 to 0.20.1

2001-09-18 Thread MEMMADI Said

I've tested with fop 0.20.1 it and it seem work fine :


using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]
 [2]
 [3]
 [4]
 [5]
 [6]
Parsing of document complete, stopping renderer
Initial heap size: 953Kb
Current heap size: 1373Kb
Total memory used: 419Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 1843ms
Pages rendererd: 6
Avg render time: 307ms/page


 Messages d´origine 
De: Hugues REROLLE [EMAIL PROTECTED]
Date: lundi 17 septembre  2001 15:53
Objet: 0.16.0 to 0.20.1

 Hellp,
 
 I'm used to use the 0.16.0 version of FOP.
 And when I want to try the last version of FOP (0.20.1) and when I compiled
 my files (.XSL and .XML) which are working under 0.16 don't working under
 0.20.
 
 The message is :
 
 FOP 0.20.1
 ERROR: null
 
 Could you help me ???
 
 



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


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


FOP without XML-File in file system

2001-09-18 Thread MEMMADI Said

Hi all,

What is the best way to use FOP without XML-File when my data source is database ?
Must I create a DOM Object  ? Must I use DTD coresponding to my Proposal Object ?


Thanks in adavance.



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




Fop 0.20.1

2001-09-04 Thread MEMMADI Said

Hi all
 May be have the good methods in the new version 0.20.1 or some servlet code exemple 
wich 
 do the same conversion from xsl,xml to Pdf ?

 My code is runnig ok with the fop.jar (28/11/2000) but not with 13/08/2001.

 Thanks in advance.



 Found 6 semantic errors compiling /Xml2PdfWithFop.java:

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

 -
 *** Error: No method named addPropertyList was found in type 
 org/apache/fop/apps/Driver.


 108. driver.addPropertyList(org.apache.fop.svg.SVGPropertyListMapping);
 -
 *** Error: No method named addPropertyList was found in type 
 org/apache/fop/apps/Driver.


 111. driver.setOutputStream(new PrintWriter(new FileWriter(pdfName)));
 --
 *** Error: No match was found for method setOutputStream(java.io.PrintWriter).


 112. driver.buildFOTree(parser, new InputSource(new StringReader(fo)));
 ---
 *** Error: No method named buildFOTree was found in type 
org/apache/fop/apps/Driver.


 113. driver.format();
 -
 *** Error: No method named format was found in type org/apache/fop/apps/Driver.


 114. driver.render();
 -
 *** Error: No match was found for method render().


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