forked from nuveo/nuance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuance.hpp
56 lines (43 loc) · 1.38 KB
/
nuance.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef __NUANCE_HPP__
#define __NUANCE_HPP__
#include <cstdio>
#include <cstring>
#include <KernelApi.h>
#include <recpdf.h>
#include <RecApiPlus.h>
class nuance {
private:
HFORMTEMPLATEPAGE *hFormTemplateArray;
HFORMTEMPLATECOLLECTION hFormTmplCollection;
HPAGE hPage;
int hFormTemplateArrayLen;
int ZoneCount;
public:
nuance(void);
~nuance();
void errMsg(RECERR rc, char* errBuff, int errBuffSize);
void errStrMsg(const char* msg, char* errBuff, int errBuffSize);
int Init(const char *company,
const char *product,
char *errBuff,
const int errSize);
int SetLicense(const char *licenceFile,
const char *oemCode,
char *errBuff,
const int errSize);
int LoadFormTemplateLibrary(const char *templateFile,
char *errBuff,
const int errSize);
int PreprocessImgWithTemplate(const char *imgFile,
char *errBuff,
const int errSize);
int getZoneCount(void);
int getZoneData(const int zoneID,
char *zoneName,
const int zoneNameSize,
char *zoneText,
const int zoneTextSize);
int FreeImgWithTemplate(void);
void Quit(void);
};
#endif