Defines - Defines - AnyDoc - OCR for AnyDoc - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/System-Customization-with-VfyCust.DLL/Defines - Foundation 23.1 - Foundation 23.1

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:lastPublication
2026-10-21T08:07:08.864000
ft:locale
en-US

All of the following defines are provided in the supplied header file VFYCUST.H.

The following environment specific definitions should be used to help define the custom DLL exported functions:

#ifndef EXPORT

#define EXPORT ___export

#endif

#define CUSTOMDLL_API FAR PASCAL EXPORT

Use the following OCR for AnyDoc definitions to encourage a coding style that is easy to read and maintain.

Navigation Operations

Custom DLL Navigation Operations

 

#define CDLL_GOTO_NEXT_LINE

0

#define CDLL_GOTO_PREV_LINE

1

#define CDLL_GOTO_NEXT_ZONE

2

#define CDLL_GOTO_PREV_ZONE

3

#define CDLL_STAY_AT_LINE

4

#define CDLL_GOTO_TOP

5

#define CDLL_GOTO_BOTTOM

6

#define CDLL_GOTO_LINE_NUMBER

7

#define CDLL_GOTO_ZONE_NUMBER

8

#define CDLL_GOTO_ZONE_NAME

9

#define CDLL_FINISHED

10

#define CDLL_DELETE_IMAGE

11

#define CDLL_CANCEL_VERIFICATION

12

Error Codes

Custom DLL Error Codes

 

#define CDLL_OPERATION_SUCCESSFUL

0

#define CDLL_UNKNOWN_COMMAND

1

#define CDLL_INVALID_LINE_NUMBER

2

#define CDLL_INVALID_ZONE_NUMBER

3

#define CDLL_INVALID_ZONE_NAME

4

#define CDLL_NO_PREVIOUS_LINES

5

#define CDLL_NO_MORE_LINES

6

#define CDLL_NO_PREVIOUS_ZONES

7

#define CDLL_NO_MORE_ZONES

8

#define CDLL_UNKNOWN_STATUS

9

Edit Phase Flags

Custom DLL Edit Phase Flags

 

#define CDLL_PRE_VERIFIER

1

#define CDLL_POST_VERIFIER

2

#define CDLL_NO_VERIFICATION

3

#define CDLL_POST_EXTRACTION

4

Line Status Flags

/* ---Custom DLL LIne Status Flag -------*/

#define CDLL_UNCHANGED

0x0001

#define CDLL_FLAGGED

0x0002

#define CDLL_MODIFIED

0x0004

#define CDLL_MODIFIED_DISABLE

0x0008

#define CDLL_MODIFIED_HIDE

0x0010

#define CDLL_FLAGGED_UNCHANGED

0x0020

#define CDLL_INSERT_BEFORE

0x0040

#define CDLL_INSERT_AFTER

0x0080

#define CDLL_RECHECK_RULE

0x0100

Batch Action Flags

/* -------Custom DLL Batch Action Flags -------*/

#define CDLL_BATCH_CREATED

1

#define CDLL_BATCH_DELETED

2

#define CDLL_BATCH_COMMITTED

3

#define CDLL_BATCH_RESUBMITTED

4

#define CDLL_BATCH_RESTARTED

5

#define CDLL_BATCH_RECOMMITTED

6

#define CDLL_NEW_IMAGE_VERIFY_STARTED

7

#define CDLL_BATCH_VERIFY_TOP_PAGE_BY_USER

10

#define CDLL_BATCH_VERIFY_BOTTOM_PAGE_BY_USER

11

#define CDLL_BATCH_VERIFY_SAVE_PAGE_BY_USER

12

#define CDLL_BATCH_VERIFY_REDO_PAGE_BY_USER

13

#define CDLL_BATCH_VERIFY_DEL_PAGE_BY_USER

14

#define CDLL_BATCH_VERIFY_CLEAR_LINE_BY_USER

15

#define CDLL_BATCH_VERIFY_INSERT_LINE_BY_USER

16

#define CDLL_BATCH_VERIFY_ERASE_LINE_BY_USER

17

#define CDLL_BATCH_VERIFY_DEBUG_PAGE_BY_USER

18

#define CDLL_BATCH_VERIFY_CLEAR_DATA_BY_USER

19

#define CDLL_BATCH_VERIFY_CANCELLED_BY_USER

20

Rule Line Status Flags

/* ---Custom DLL Rule Line Status Flags ---*/

#define CDLL_NO_RULE_BROKEN

0x0001

#define CDLL_LOOSE_RULE_BROKEN

0x0002

#define CDLL_SEVERE_RULE_BROKEN

0x0003