PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Google App Engine
   PostPosted: 15 Feb 2011, 23:02 
I wanted to try an application using pd4ml on Google App Engine. Apparently pd4ml uses at least one class that is retricted: java.awt.Dimension

It is not listed here: http://code.google.com/appengine/docs/j ... elist.html

- Is compatibility with GAE on the road map for p4ml?
- What other classes will be a problem with GAE?

Any tips on how to proceed?


Greetz Erik


  Subject: Re: Google App Engine
   PostPosted: 15 Feb 2011, 23:06 
The error I receive:

Quote:
java.awt.Dimension is a restricted class. Please see the Google App Engine developer's guide for more details.


The code used to generate the error:

Code:
PD4ML pd4ml = new PD4ML();


  Subject: Re: Google App Engine
   PostPosted: 15 Feb 2011, 23:36 
It would be nice if a list of dependent classes not on the GAE whitelist would be posted to http://code.google.com/p/googleappengin ... il?id=1313 or http://code.google.com/p/googleappengin ... il?id=1423


  Subject: Re: Google App Engine
   PostPosted: 16 Feb 2011, 19:08 
PD4ML utilizes many AWT classes, so there is no easy way to implement GAE compatibility.

PD4ML architecture consists of two layers: HTML renderer and PDF output pseudo-device. The "pseudo-device" implements java.awt.Graphics which makes possible to "print" rendered document layout to a buffered image, for example. Or to capture any graphics output and to generate a PDF from it. A compatibility with GAE would require to sacrifice a lot of useful functions. Also I expect some troubles with TTF fonts.



[Reply]     [ 4 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share