// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'EnTrsOcr.pas' rev: 4.00

#ifndef EnTrsOcrHPP
#define EnTrsOcrHPP

#pragma delphiheader begin
#pragma option push -w-
#include <EnOcrEng.hpp>	// Pascal unit
#include <EnDiGrph.hpp>	// Pascal unit
#include <EnMisc.hpp>	// Pascal unit
#include <TransOcr.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Entrsocr
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TTransymOcrOptions { tooDeskew, tooNoiseRemove, tooLineRemove, tooDeshade, tooInvert, tooSectioning, 
	tooMergeBreak, tooLineReject, tooCharacterReject, tooUseDictionary };
#pragma option pop

typedef Set<TTransymOcrOptions, tooDeskew, tooUseDictionary>  TTransymOcrOptionsSet;

class DELPHICLASS TTransymOcrDriver;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TTransymOcrDriver : public Enocreng::TOcrDriver 
{
	typedef Enocreng::TOcrDriver inherited;
	
protected:
	int FJobNo;
	TTransymOcrOptionsSet FOptions;
	
public:
	__fastcall virtual TTransymOcrDriver(void);
	__fastcall virtual ~TTransymOcrDriver(void);
	virtual void __fastcall Recognize(const Endigrph::TDibGraphic* Graphic, const Classes::TStrings* Output
		, const Enmisc::TEnvisionProgressEvent ProgressEvent);
	__property TTransymOcrOptionsSet Options = {read=FOptions, write=FOptions, nodefault};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Entrsocr */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Entrsocr;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// EnTrsOcr
