Mercurial > hg > documentViewer
annotate __init__.py @ 617:7aefbddddaf9
alpaha of hocr server support
| author | dwinter |
|---|---|
| date | Wed, 23 Jul 2014 17:36:04 +0200 |
| parents | 31f562fa7214 |
| children |
| rev | line source |
|---|---|
| 0 | 1 import documentViewer |
|
130
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
2 import MpdlXmlTextServer |
| 564 | 3 import MpiwgXmlTextServer |
| 617 | 4 import HocrTextServer |
| 0 | 5 |
| 6 def initialize(context): | |
| 7 """initialize ImageCollection""" | |
| 8 context.registerClass( | |
| 9 documentViewer.documentViewer, | |
| 10 constructors = ( | |
| 11 documentViewer.manage_AddDocumentViewerForm, | |
| 12 documentViewer.manage_AddDocumentViewer | |
| 13 ) | |
| 14 ) | |
| 21 | 15 |
| 16 context.registerClass( | |
|
130
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
17 MpdlXmlTextServer.MpdlXmlTextServer, |
|
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
18 constructors = ( |
|
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
19 MpdlXmlTextServer.manage_addMpdlXmlTextServerForm, |
|
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
20 MpdlXmlTextServer.manage_addMpdlXmlTextServer |
|
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
21 ) |
|
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
22 ) |
| 564 | 23 |
| 24 context.registerClass( | |
| 25 MpiwgXmlTextServer.MpiwgXmlTextServer, | |
| 26 constructors = ( | |
| 27 MpiwgXmlTextServer.manage_addMpiwgXmlTextServerForm, | |
| 28 MpiwgXmlTextServer.manage_addMpiwgXmlTextServer | |
| 29 ) | |
| 30 ) | |
| 617 | 31 |
| 32 | |
| 33 context.registerClass( | |
| 34 HocrTextServer.HocrTextServer, | |
| 35 constructors = ( | |
| 36 HocrTextServer.manage_addHocrTextServerForm, | |
| 37 HocrTextServer.manage_addHocrTextServer | |
| 38 ) | |
| 39 ) | |
| 40 | |
| 21 | 41 |
