On Mon, 9 Mar 2009, Christian Heimes wrote:

   public native void pythonDecRef();

   public native void processTextPosition( TextPosition text );
   public native void startDocument(PDDocument pdf);
   public native void startPage(PDPage page);
}


pdfbox.initVM(classpath=pdfbox.CLASSPATH)

class Stripper(pdfbox.PyPDFTextStripper):
   """
   """
   def processTextPosition(self, text):
       print text

   def startDocument(self, doc):
       print doc

   def startArticle(self, isltr):
       print isltr


At first quick glance, you declare a native startPage method but your python class is not implementing it. On the other hand, it has a startArticle method.

Andi..

Reply via email to