Re: FOP 1.0 in the maven repository [was: Re: The Apache Software Foundation Announces Apache FOP Version 1.0]

2010-08-17 Thread user7474


Ognjen Blagojevic-5 wrote:
 
 On 23.7.2010 12:19, Simon Pepping wrote:
 We could install 1.0 manually to local repo, but it would be much easier 
 to have it in Maven Central.
 

I have added fop 1.0 to our local maven repository.
Because of the fact that there is no pom.xml I have written one,
is the following correct, especially the dependencies?

project
  modelVersion4.0.0/modelVersion
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdfop/artifactId
  version1.0/version
  urlhttp://xmlgraphics.apache.org/fop//url
  description

   Apache FOP (Formatting Objects Processor) is the world's first print
formatter driven by XSL formatting objects (XSL-FO)
   and the world's first output independent formatter.

   It is a Java application that reads a formatting object (FO) tree and
renders the resulting pages to a specified output.
   Output formats currently supported include PDF, PCL, PS, AFP, TIFF, PNG,
SVG, XML (area tree representation), Print, AWT and TXT.
   The primary output target is PDF.
  /description
  inceptionYear2010/inceptionYear
  mailingLists
mailingList
  nameFOP Users List/name
  subscribefop-users-subscr...@xmlgraphics.apache.org/subscribe
  
unsubscribefop-users-unsubscr...@xmlgraphics.apache.org/unsubscribe

 
archivehttp://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users//archive
/mailingList
mailingList
  nameFOP Developer List/name
  subscribefop-dev-subscr...@xmlgraphics.apache.org/subscribe
  unsubscribefop-dev-unsubscr...@xmlgraphics.apache.org/unsubscribe
 
archivehttp://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev//archive

 /mailingList
mailingList
  nameFOP Commit List/name
  subscribefop-commits-subscr...@xmlgraphics.apache.org/subscribe
  
unsubscribefop-commits-unsubscr...@xmlgraphics.apache.org/unsubscribe
 
archivehttp://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits//archive
/mailingList

/mailingLists
licenses
license
nameThe Apache Software License, Version 2.0/name
urlhttp://www.apache.org/licenses/LICENSE-2.0.txt/url
distributionrepo/distribution
/license

/licenses
  scm
  
connectionscm:svn:http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/connection
  
developerConnectionscm:svn:https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/developerConnection
  
urlhttp://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/?root=Apache-SVN/url
  /scm
  organization

   nameApache Software Foundation/name
   urlhttp://www.apache.org//url
  /organization

  dependencies
!-- XML Graphics --
dependency
  groupIdorg.apache.xmlgraphics/groupId

  artifactIdxmlgraphics-commons/artifactId
  version1.4/version
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-svg-dom/artifactId

  version1.7/version
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-bridge/artifactId
  version1.7/version

/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-awt-util/artifactId
  version1.7/version
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-gvt/artifactId
  version1.7/version
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId

  artifactIdbatik-transcoder/artifactId
  version1.7/version
  exclusions
exclusion
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdfop/artifactId
/exclusion

  /exclusions
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-extension/artifactId
  version1.7/version
/dependency

dependency
  groupIdorg.apache.xmlgraphics/groupId
  artifactIdbatik-ext/artifactId
  version1.7/version
/dependency

!-- other dependencies --

dependency
  groupIdcommons-logging/groupId
  artifactIdcommons-logging/artifactId
  version1.0.4/version
/dependency

dependency
  groupIdcommons-io/groupId

  artifactIdcommons-io/artifactId
  version1.3.1/version
/dependency

dependency
  groupIdorg.apache.avalon.framework/groupId
  artifactIdavalon-framework-api/artifactId

  version4.3.1/version
/dependency

dependency
  groupIdjavax.servlet/groupId
  artifactIdservlet-api/artifactId
  version2.2/version

  scopeprovided/scope
/dependency

dependency
  

Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Julien Aymé
Hi,

Could you provide the full stack trace, so that we can investigate the code?

Thanks,

Julien

2010/8/17 Mrutyunjay Sahasrabudhe mruts...@techmahindra.com:
 Hi,

 I am using FOP 1.0 version.

 I am trying to use the afp:resource-level=external for fo:external-graphic
 but getting an exception as below:

 java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to
 org.apache.fop.afp.modca.StreamedResourceGroup

 I did check replies on a similar query posted earlier and ensured that the
 user running FOP does have write persmissions to the file/directory where the
 external resource file is expected to be created.

 It would be really great if you could help here.

 Thanks  regards,
 Mrutyunjay


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Peter Hancock
Hi,
There is a bug in src/java/org/apache/fop/afp/AFPStreamer.java around line 160:
  Iterator it = pathResourceGroupMap.entrySet().iterator();
should be
  Iterator it = pathResourceGroupMap.values().iterator();

I think I fixed this is a patch I submitted recently.  Let me check..

Pete

On Tue, Aug 17, 2010 at 11:24 AM, Julien Aymé julien.a...@gmail.com wrote:
 Hi,

 Could you provide the full stack trace, so that we can investigate the code?

 Thanks,

 Julien

 2010/8/17 Mrutyunjay Sahasrabudhe mruts...@techmahindra.com:
 Hi,

 I am using FOP 1.0 version.

 I am trying to use the afp:resource-level=external for 
 fo:external-graphic
 but getting an exception as below:

 java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to
 org.apache.fop.afp.modca.StreamedResourceGroup

 I did check replies on a similar query posted earlier and ensured that the
 user running FOP does have write persmissions to the file/directory where the
 external resource file is expected to be created.

 It would be really great if you could help here.

 Thanks  regards,
 Mrutyunjay


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Julien Aymé
Hi Pete,

you're right, there is a bug there (line 161 on trunk), but it is not
fixed yet (on trunk, rev 986204).

Regards,
Julien

2010/8/17 Peter Hancock peter.hanc...@gmail.com:
 Hi,
 There is a bug in src/java/org/apache/fop/afp/AFPStreamer.java around line 
 160:
  Iterator it = pathResourceGroupMap.entrySet().iterator();
 should be
  Iterator it = pathResourceGroupMap.values().iterator();

 I think I fixed this is a patch I submitted recently.  Let me check..

 Pete

 On Tue, Aug 17, 2010 at 11:24 AM, Julien Aymé julien.a...@gmail.com wrote:
 Hi,

 Could you provide the full stack trace, so that we can investigate the code?

 Thanks,

 Julien

 2010/8/17 Mrutyunjay Sahasrabudhe mruts...@techmahindra.com:
 Hi,

 I am using FOP 1.0 version.

 I am trying to use the afp:resource-level=external for 
 fo:external-graphic
 but getting an exception as below:

 java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to
 org.apache.fop.afp.modca.StreamedResourceGroup

 I did check replies on a similar query posted earlier and ensured that the
 user running FOP does have write persmissions to the file/directory where 
 the
 external resource file is expected to be created.

 It would be really great if you could help here.

 Thanks  regards,
 Mrutyunjay


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Peter Hancock
Hi,

Yep my patch for feature
(https://issues.apache.org/bugzilla/show_bug.cgi?id=49379) included a
fix.  It would be great if a commiter could review that patch and
commit the fix with the feature.

Pete

On Tue, Aug 17, 2010 at 11:52 AM, Peter Hancock peter.hanc...@gmail.com wrote:
 Hi,
 There is a bug in src/java/org/apache/fop/afp/AFPStreamer.java around line 
 160:
  Iterator it = pathResourceGroupMap.entrySet().iterator();
 should be
  Iterator it = pathResourceGroupMap.values().iterator();

 I think I fixed this is a patch I submitted recently.  Let me check..

 Pete

 On Tue, Aug 17, 2010 at 11:24 AM, Julien Aymé julien.a...@gmail.com wrote:
 Hi,

 Could you provide the full stack trace, so that we can investigate the code?

 Thanks,

 Julien

 2010/8/17 Mrutyunjay Sahasrabudhe mruts...@techmahindra.com:
 Hi,

 I am using FOP 1.0 version.

 I am trying to use the afp:resource-level=external for 
 fo:external-graphic
 but getting an exception as below:

 java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to
 org.apache.fop.afp.modca.StreamedResourceGroup

 I did check replies on a similar query posted earlier and ensured that the
 user running FOP does have write persmissions to the file/directory where 
 the
 external resource file is expected to be created.

 It would be really great if you could help here.

 Thanks  regards,
 Mrutyunjay


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Needs for GSS Tools to support Win7 and/or 64-bit?

2010-08-17 Thread Andrejus Chaliapinas
Ron,

Please let me for if in near future - like 6-12 months from now GSS Tools
will need to support Win7 and 64-bit environment.

My standard test environment so far was only 32-bit based with Windows XP
32-bit or Windows Enterprise Server 2003 32-bit.

After we'll finalize financial part of TAMK project - it's possible that
I'll upgrade INFOSANA's available computers park to include 1 more with
Win7/64-bit into it. Of course, there is also need to have new MS C/C++
64-bit compiler purchased for INFOSANA then to be able to prepare 64-bit
executables.

If GSS will ever plan to cover partly that Win7/64-bit such support addition
into tools suites - I may decide in that direction even sooner.

Andrejus

---

INFOSANA - Information Systems Analysis and Adaptation.
IBM Advanced Business Partner
Ozo 15-25, LT-05126 Vilnius, Lithuania
Phone/fax: +370 5 2417995 Mobile: +370 686 09095 WWW:
http://www.infosana.com

The only place where your dream becomes impossible is in your own
thinking. --Robert H. Schuller




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



[no subject]

2010-08-17 Thread Andrejus Chaliapinas
help



RE:

2010-08-17 Thread Eric Douglas
Please be more specific.



From: Andrejus Chaliapinas [mailto:a.chaliapi...@infosana.com] 
Sent: Tuesday, August 17, 2010 8:06 AM
To: fop-users@xmlgraphics.apache.org
Subject: 



help



Please delete my messages of today on mailing list

2010-08-17 Thread Andrejus Chaliapinas
Hi,

 

Sorry, I've posted today message to incorrect place - please delete it on
your server ASAP.

 

Thank you,

Andrejus



Re: Please delete my messages of today on mailing list

2010-08-17 Thread Julien Aymé
Hello Andrejus,

Unfortunately, I don't think this is possible (this mailing list
redirects all its mail to each user who subscribed it).
You can just apologize to the mailing list and tell people to ignore the noise.


Regards,
Julien

2010/8/17 Andrejus Chaliapinas a.chaliapi...@infosana.com:
 Hi,



 Sorry, I’ve posted today message to incorrect place – please delete it on
 your server ASAP.



 Thank you,

 Andrejus

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re:

2010-08-17 Thread Julien Aymé
Andrejus sent two mails to the wrong address (fop-users mailing list),
so please just ignore them.

Regards,
Julien

2010/8/17 Eric Douglas edoug...@blockhouse.com:
 Please be more specific.
 
 From: Andrejus Chaliapinas [mailto:a.chaliapi...@infosana.com]
 Sent: Tuesday, August 17, 2010 8:06 AM
 To: fop-users@xmlgraphics.apache.org
 Subject:

 help

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Please delete my messages of today on mailing list

2010-08-17 Thread Eric Douglas
But does it save all mail sent to the list in an archive? 

-Original Message-
From: Julien Aymé [mailto:julien.a...@gmail.com] 
Sent: Tuesday, August 17, 2010 8:14 AM
To: fop-users@xmlgraphics.apache.org; a.chaliapi...@infosana.com
Subject: Re: Please delete my messages of today on mailing list

Hello Andrejus,

Unfortunately, I don't think this is possible (this mailing list redirects all 
its mail to each user who subscribed it).
You can just apologize to the mailing list and tell people to ignore the noise.


Regards,
Julien

2010/8/17 Andrejus Chaliapinas a.chaliapi...@infosana.com:
 Hi,



 Sorry, I've posted today message to incorrect place - please delete it 
 on your server ASAP.



 Thank you,

 Andrejus

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Please ignore/delete my today's messages on this mailing list - they were not posted correctly

2010-08-17 Thread Andrejus Chaliapinas
Hi,

I was incorrect while sending 2 messages today to this mailing list.

Please ignore/delete them.

Sorry for that totally unrelated to FOP noise from my side.

Andrejus

---

INFOSANA - Information Systems Analysis and Adaptation.
IBM Advanced Business Partner
Ozo 15-25, LT-05126 Vilnius, Lithuania
Phone/fax: +370 5 2417995 Mobile: +370 686 09095 WWW:
http://www.infosana.com

The only place where your dream becomes impossible is in your own
thinking. --Robert H. Schuller



 -Original Message-
 From: Julien Aymé [mailto:julien.a...@gmail.com]
 Sent: Tuesday, August 17, 2010 3:14 PM
 To: fop-users@xmlgraphics.apache.org; a.chaliapi...@infosana.com
 Subject: Re: Please delete my messages of today on mailing list
 
 Hello Andrejus,
 
 Unfortunately, I don't think this is possible (this mailing list
 redirects all its mail to each user who subscribed it).
 You can just apologize to the mailing list and tell people to ignore the
 noise.
 
 
 Regards,
 Julien
 
 2010/8/17 Andrejus Chaliapinas a.chaliapi...@infosana.com:
  Hi,
 
 
 
  Sorry, I’ve posted today message to incorrect place – please delete it
 on
  your server ASAP.
 
 
 
  Thank you,
 
  Andrejus
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Please delete my messages of today on mailing list

2010-08-17 Thread Julien Aymé
I think that the archives uses the same mechanism (they subscribed to
this list).
I found these:
http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/
http://old.nabble.com/FOP---Users-f353.html

I don't know how to remove messages from these archives.


2010/8/17 Eric Douglas edoug...@blockhouse.com:
 But does it save all mail sent to the list in an archive?

 -Original Message-
 From: Julien Aymé [mailto:julien.a...@gmail.com]
 Sent: Tuesday, August 17, 2010 8:14 AM
 To: fop-users@xmlgraphics.apache.org; a.chaliapi...@infosana.com
 Subject: Re: Please delete my messages of today on mailing list

 Hello Andrejus,

 Unfortunately, I don't think this is possible (this mailing list redirects 
 all its mail to each user who subscribed it).
 You can just apologize to the mailing list and tell people to ignore the 
 noise.


 Regards,
 Julien

 2010/8/17 Andrejus Chaliapinas a.chaliapi...@infosana.com:
 Hi,



 Sorry, I've posted today message to incorrect place - please delete it
 on your server ASAP.



 Thank you,

 Andrejus

 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



font variance across platforms?

2010-08-17 Thread Trevor Nicholls
Hi

I am using fop 0.95. In a couple of locations my current document uses this:

   fo:character character=#x260E; font-family=ZapfDingbats /

to insert a special character in the text. When I view the PDF in Adobe
Reader on Windows I see the expected glyph (a telephone symbol), but I have
been alerted to the fact that some users displaying this document under
X-Windows on Linux are not seeing the correct symbol. How do I tell fop to
embed the font (or at least the particular characters used in the document)
so that the generated PDF is truly platform independent?

Cheers
Trevor



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Printing images

2010-08-17 Thread Eric Douglas
What's the best way to print an image into the PDF using FOP?

I have it working using fo:instream-foreign-object in my XSL to send a
hard coded svg graphic.  This method works no matter what output I
select (PDF, printer, preview).
I tested one using the SVG which created a 54KB PDF, which among other
things included the image twice.
I ran that same exact test, replacing the fo:instream-foreign-object SVG
image with fo:external-graphic JPG and it created a 73KB PDF.
I thought the JPG was supposed to produce smaller output files than the
SVG.  Am I missing something?
Ideally I would like to package the JPG into a JAR to print from so I
don't have to worry about a physical file location.
I thought putting an image in a JAR which is in my classpath would also
avoid having different references for client and server calls (running
embedded code).
I put the images into a folder within the jar if that matters.  I can't
get it to automatically find the images.
I tried hard coding the src reference to the jar
('jar:file:/C:/Jarpath/Myjar.jar!/Images/Myimage.jpg').  That worked on
the create PDF which is running with server objects.  That's where I got
the 73KB PDF.  Using client objects to get the preview it said it
couldn't find the file on that path.  The path should be the same since
in this test case the client and server are the same machine (using
local webstart).



Re: Please delete my messages of today on mailing list

2010-08-17 Thread Christian Geisert

Andrejus Chaliapinas schrieb:

Hi,

Sorry, I’ve posted today message to incorrect place – please delete it 
on your server ASAP.


http://www.apache.org/foundation/public-archives.html

Christian

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org