acectrl.hpp

来自「suite component ace report」· HPP 代码 · 共 106 行

HPP
106
字号
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AceCtrl.pas' rev: 3.00

#ifndef AceCtrlHPP
#define AceCtrlHPP
#include <AceOut.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Acectrl
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAceBarCode;
class PASCALIMPLEMENTATION TAceBarCode : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	int FNarrowWidth;
	int FWideWidth;
	bool FVertical;
	int FHeight;
	int FWidth;
	bool FWidthInInches_1000;
	
public:
	__fastcall virtual TAceBarCode(void);
	__fastcall virtual ~TAceBarCode(void);
	__property int NarrowWidth = {read=FNarrowWidth, write=FNarrowWidth, nodefault};
	__property int WideWidth = {read=FWideWidth, write=FWideWidth, nodefault};
	__property bool Vertical = {read=FVertical, write=FVertical, nodefault};
	__property int Height = {read=FHeight, write=FHeight, nodefault};
	__property int Width = {read=FWidth, write=FWidth, nodefault};
	virtual int __fastcall BarCodeLength(int Handle, System::AnsiString Code) = 0;
	virtual void __fastcall Print(Aceout::TAceCanvas* AceCanvas, int x, int y, System::AnsiString Str);
		
	virtual void __fastcall PrintDC(int Handle, int BrushHandle, int x, int y, System::AnsiString Str) = 0
		;
	__property bool WidthInInches_1000 = {read=FWidthInInches_1000, write=FWidthInInches_1000, nodefault
		};
};

class DELPHICLASS TAce3of9BarCode;
class PASCALIMPLEMENTATION TAce3of9BarCode : public Acectrl::TAceBarCode 
{
	typedef Acectrl::TAceBarCode inherited;
	
private:
	System::AnsiString __fastcall CharCode(char BarChar);
	
public:
	virtual void __fastcall PrintDC(int Handle, int BrushHandle, int x, int y, System::AnsiString Str);
		
	virtual int __fastcall BarCodeLength(int Handle, System::AnsiString Code);
public:
	/* TAceBarCode.Create */ __fastcall virtual TAce3of9BarCode(void) : Acectrl::TAceBarCode() { }
	/* TAceBarCode.Destroy */ __fastcall virtual ~TAce3of9BarCode(void) { }
	
};

class DELPHICLASS TAce2of5BarCode;
class PASCALIMPLEMENTATION TAce2of5BarCode : public Acectrl::TAceBarCode 
{
	typedef Acectrl::TAceBarCode inherited;
	
private:
	int __fastcall FindCode(char Code, const char * list, const int list_Size, int Len);
	System::AnsiString __fastcall GetBarString(char First, char Second);
	
public:
	virtual void __fastcall PrintDC(int Handle, int BrushHandle, int x, int y, System::AnsiString Str);
		
	virtual int __fastcall BarCodeLength(int Handle, System::AnsiString Code);
public:
	/* TAceBarCode.Create */ __fastcall virtual TAce2of5BarCode(void) : Acectrl::TAceBarCode() { }
	/* TAceBarCode.Destroy */ __fastcall virtual ~TAce2of5BarCode(void) { }
	
};

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE char Bar3of9Char[44];
extern PACKAGE Byte Bar3of9Code[44];
extern PACKAGE char Bar2of5Char[10];
extern PACKAGE Byte Bar2of5Code[10];

}	/* namespace Acectrl */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Acectrl;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AceCtrl

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?