Building FOP

2004-09-22 Thread Ganesh Babu Nallamothu, Integra-India
Dear all,

I am new to java and ant building. I am explaining the way I tried to build
the FOP.

1. OS -- Win 2000
2. java version -- 1.4.2_05
3. fop  version -- CVS snapshot xml-fop_20040921223357.tar.gz
4. ant version -- 1.6.1

5. extracted the ant zip file into  D:\apache-ant-1.6.1
6. extracted the fop zip file into D:\xml-fop

7. Added D:\apache-ant-1.6.1\bin and C:\j2sdk1.4.2_05\bin to system path

8. Added D:\apache-ant-1.6.1 and C:\j2sdk1.4.2_05 to ant_home and java_home
respectively in build.bat file

Now I have executed the build.bat the result is The system can not find the
path specified.

Can you all let me know where I went wrong.

Regards,
Ganesh


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



Re: SPAM-LOW: Building FOP

2004-09-22 Thread john farrow
Try editing the FOP build.bat file, remove the @echo off from the first 
line.

Rerun the build.bat and you will see which command fails - this should tell 
you what the problem is.

John Farrow
Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New 
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand 
phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com
- Original Message - 
From: Ganesh Babu Nallamothu, Integra-India 
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 5:59 AM
Subject: SPAM-LOW: Building FOP


Dear all,
I am new to java and ant building. I am explaining the way I tried to 
build
the FOP.

1. OS -- Win 2000
2. java version -- 1.4.2_05
3. fop  version -- CVS snapshot xml-fop_20040921223357.tar.gz
4. ant version -- 1.6.1
5. extracted the ant zip file into  D:\apache-ant-1.6.1
6. extracted the fop zip file into D:\xml-fop
7. Added D:\apache-ant-1.6.1\bin and C:\j2sdk1.4.2_05\bin to system path
8. Added D:\apache-ant-1.6.1 and C:\j2sdk1.4.2_05 to ant_home and 
java_home
respectively in build.bat file

Now I have executed the build.bat the result is The system can not find 
the
path specified.

Can you all let me know where I went wrong.
Regards,
Ganesh
-
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]


Error while trying to open PDF(created using FOP) in Adobe Illustrator

2004-09-22 Thread Saptarshi Sen
Hi,
We tried to generate a pdf (an image) with embedded fonts and are
facing a problem. The process that we are following is outlined below.

Process
1.  We first generate a SVG image of the Chart using Corda PopChart
version 5.1.
- The reason for choosing SVG as an intermediate image format is that
it supports embedding of fonts (which reduces the file size). If we try to
generate a PDF directly using PopChart, the fonts are not embedded and the
image file turns out to be pretty bulky.
2.  Data from the generated SVG is extracted and fed to the Apache FOP
(Formatting Objects Processor).
3.  The FOP generates the PDF version of the SVG image.

Problem
The PDF generated does not open in Adobe Illustrator. In Illustrator version
9, it says that Missing Double-byte fonts have been substituted with the
default font. In version 11 CS, it says that Acrobat PDF File Format is
having difficulties. Could not create internal representation of XMP
metadata.

However, these images open up fine in Adobe Acrobat, Acrobat Reader as well
as Adobe PhotoShop. Also, if we open the image in Adobe Acrobat and save it
again, subsequently it opens up fine in Illustrator.

It is important that we be able to edit it using Illustrator as that is what
the users of the system will be using. We are looking for reasons as to why
it's not working; are we missing out any detail?

Attached alongwith are the following files:
1.  109...svg - This is the SVG image generated by PopChart. Opens up
fine in IE.
2.  109...fo - Intermediate file produced by FOP.
3.  109...pdf - Final PDF generated by FOP.


Thanks and Regards,
Saptarshi.



  1094899742704.fo  1094899742704.pdf  1094899742704.svg 



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Private Limited (MindTree) will not be responsible 
for any viruses or defects or any forwarded attachments emanating either from 
within MindTree or outside. If you have received this message by mistake please 
notify the sender by return  e-mail and delete this message from your system. 
Any unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


1094899742704.fo
Description: 1094899742704.fo


1094899742704.pdf
Description: 1094899742704.pdf


1094899742704.svg
Description: 1094899742704.svg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Error while trying to open PDF(created using FOP) in Adobe Illustrator

2004-09-22 Thread Dennis Myrén
This has always been a problem for me.
The only way as far as I know, is to first create a surface
and then place the PDF object using File-Place.


Regards,
Dennis JD Myrén
Developer
Oslo Kodebureau
Tel:  (+47) 98 00 11 92
Mail:   [EMAIL PROTECTED]
Web:   www.oslokb.no
-Original Message-
From: Saptarshi Sen [mailto:[EMAIL PROTECTED] 
Sent: 22. september 2004 10:55
To: [EMAIL PROTECTED]
Subject: Error while trying to open PDF(created using FOP) in Adobe Illustrator

Hi,
We tried to generate a pdf (an image) with embedded fonts and are
facing a problem. The process that we are following is outlined below.

Process
1.  We first generate a SVG image of the Chart using Corda PopChart
version 5.1.
- The reason for choosing SVG as an intermediate image format is that
it supports embedding of fonts (which reduces the file size). If we try to
generate a PDF directly using PopChart, the fonts are not embedded and the
image file turns out to be pretty bulky.
2.  Data from the generated SVG is extracted and fed to the Apache FOP
(Formatting Objects Processor).
3.  The FOP generates the PDF version of the SVG image.

Problem
The PDF generated does not open in Adobe Illustrator. In Illustrator version
9, it says that Missing Double-byte fonts have been substituted with the
default font. In version 11 CS, it says that Acrobat PDF File Format is
having difficulties. Could not create internal representation of XMP
metadata.

However, these images open up fine in Adobe Acrobat, Acrobat Reader as well
as Adobe PhotoShop. Also, if we open the image in Adobe Acrobat and save it
again, subsequently it opens up fine in Illustrator.

It is important that we be able to edit it using Illustrator as that is what
the users of the system will be using. We are looking for reasons as to why
it's not working; are we missing out any detail?

Attached alongwith are the following files:
1.  109...svg - This is the SVG image generated by PopChart. Opens up
fine in IE.
2.  109...fo - Intermediate file produced by FOP.
3.  109...pdf - Final PDF generated by FOP.


Thanks and Regards,
Saptarshi.



  1094899742704.fo  1094899742704.pdf  1094899742704.svg 



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Private Limited (MindTree) will not be responsible 
for any viruses or defects or any forwarded attachments emanating either from 
within MindTree or outside. If you have received this message by mistake please 
notify the sender by return  e-mail and delete this message from your system. 
Any unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.

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



sticking words

2004-09-22 Thread Michal Postupalski
I've tried to change 'zoom' value in AcrobatReader but it didn't help me.
I found that the problem exists only when I've got a lot of fo:block
tags.
When I tried to simulate this situation on one paged document and I
couldn't. It's often happend on the second page of the document.
Any ideas ?

plastic

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



RE: Newbie: Fopservlet problem

2004-09-22 Thread Erik Trip
 Hello,
Did some further investigation, looks like it is an oracle problem.
See part of the error:
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestD
ispatcher.java:765)
Logged the problem at oracle support and the say I have to ovreride the
default XML parser with other parser in OC4J.
Does anybody know how I should do this
Regrads Erik


-Oorspronkelijk bericht-
Van: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 20 september 2004 17:15
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Newbie: Fopservlet problem

Glen Mazza wrote:

 It may be Xalan-related, because the first URL below (which works) 
 does not use Xalan while the others do.  Perhaps use newer versions of

 the XML jars?

Yes, I also think this is Xalan related. An old version of xalan is
often included with early versions of JDK 1.4.0, but also possibly with
Oracle Application Server.

Rather than simply searching the local disk for files named xalan*.*,
look carefully at the class path in your servlet to see where the xalan
classes are coming from. To output the classpath from a java program to
std out do:

System.out.println(System.getProperty(java.class.path));

Chris

snip/


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



NullPointerException at.org.apache.transformer.TransformerImpl.run

2004-09-22 Thread Johannes Wolfgang Woger



Hi,
I use a Struts Action doing what the 
FopPrintServlet (from examples) does.
When I put projectteam.xml and projectteam2fo.xsl 
(from examples too) into the querystring
as suggested, everything works fine.

But when I try to provide the projectteam.xml via a 
JSP file that includes the content of projectteam.xml
I get a NullPointerException:

java.lang.RuntimeException: 
java.lang.NullPointerExceptionat 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)at 
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)at 
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown 
Source)at org.apache.xerces.impl.XMLEntityScanner.load(Unknown 
Source)at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown 
Source)at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown 
Source)at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)at org.apache.xerces.parsers.XMLParser.parse(Unknown 
Source)at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)at 
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)at 
org.apache.fop.apps.Driver.render(Driver.java:498)at 
at.syslog.spm.action.Print_Action.renderXML(Unknown Source)
and more

Let me say that the jsp file is perfect xml 
markup:

?xml version="1.0" 
encoding="UTF-8"?jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" 
xmlns:c="http://java.sun.com/jstl/core" 
version="2.0"jsp:directive.page 
contentType="text/html"/c:set var="locationTable" 
jsp:include page="/Include_Servlet" 
flush="true"//c:setc:out 
value="${locationTable}"//jsp:root

the console says:
[INFO] Using org.apache.xerces.parsers.SAXParser as 
SAX2 Parser[INFO] building formatting object tree[INFO] setting up 
fonts[INFO] Parsing of document complete, stopping renderer
What went wrong?

Wolfgang


How to make XSL-FO repeatable for many XML docs having same format?

2004-09-22 Thread Manoj_Nair
Right now I have a working application where I create XML file and then
pass it through XSLT /FOP parser to create a PDF out of it. So everytime
the user clicks a button he gets a PDF.

What  I want now is to combine multiple XML files into one XML file and
then run this big XML file through the FOP parser to create one big PDF.
This PDF would have pages equivalent for each individual PDF. Note that all
the individual XMLs are validated by the same XSD..

Sorry if I have not made myself clear...I can explain in more detail if
reqd...

Thanks
Manoj




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



Faxing

2004-09-22 Thread Neil Guinto
I wan't to get some ideas from this list how you handle faxing of PDF 
documents?

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


Re: Faxing

2004-09-22 Thread Manoj_Nair

www.efax.com




  
  Neil Guinto   
  
  [EMAIL PROTECTED]To:   [EMAIL PROTECTED] 
 
  com cc:  
  
   Subject:  Faxing 
  
  09/22/2004 11:06  
  
  AM
  
  Please respond to 
  
  fop-user  
  

  

  




I wan't to get some ideas from this list how you handle faxing of PDF
documents?


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