diff __init__.py @ 615:d6eca930a534

hocr viewer eingebaut
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Mon, 21 Jul 2014 12:53:42 +0200
parents 31f562fa7214
children
line wrap: on
line diff
--- a/__init__.py	Mon Oct 21 10:36:54 2013 +0200
+++ b/__init__.py	Mon Jul 21 12:53:42 2014 +0200
@@ -1,6 +1,7 @@
 import documentViewer
 import MpdlXmlTextServer
 import MpiwgXmlTextServer
+import HocrTextServer
 
 def initialize(context):
     """initialize ImageCollection"""
@@ -27,4 +28,14 @@
           MpiwgXmlTextServer.manage_addMpiwgXmlTextServer
           )
         )
+    
+    
+    context.registerClass(
+        HocrTextServer.HocrTextServer,
+        constructors = (
+          HocrTextServer.manage_addHocrTextServerForm,
+          HocrTextServer.manage_addHocrTextServer
+          )
+        )
+
     
\ No newline at end of file