Mercurial > hg > documentViewer
diff __init__.py @ 617:7aefbddddaf9
alpaha of hocr server support
author | dwinter |
---|---|
date | Wed, 23 Jul 2014 17:36:04 +0200 |
parents | 31f562fa7214 |
children |
line wrap: on
line diff
--- a/__init__.py Wed Jul 23 17:20:34 2014 +0200 +++ b/__init__.py Wed Jul 23 17:36:04 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