// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rvcsbars.pas' rev: 10.00

#ifndef RvcsbarsHPP
#define RvcsbarsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Rpdefine.hpp>	// Pascal unit
#include <Rpbase.hpp>	// Pascal unit
#include <Rvclass.hpp>	// Pascal unit
#include <Rpbars.hpp>	// Pascal unit
#include <Rvdefine.hpp>	// Pascal unit
#include <Rvutil.hpp>	// Pascal unit
#include <Rvdata.hpp>	// Pascal unit

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

namespace Rvcsbars
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRaveBaseBarCode;
class PASCALIMPLEMENTATION TRaveBaseBarCode : public Rvclass::TRaveControl 
{
	typedef Rvclass::TRaveControl inherited;
	
protected:
	AnsiString FOldText;
	Rpbars::TRPBarsBase* FBarCode;
	Rvclass::TRaveFont* FFont;
	Graphics::TCanvas* FCanvas;
	bool FAutoSize;
	AnsiString FDataField;
	Rvdata::TRaveBaseDataView* FDataView;
	void __fastcall SetAutoSize(bool Value);
	virtual Rvdefine::TRaveUnits __fastcall GetLeft(void);
	virtual void __fastcall SetLeft(Rvdefine::TRaveUnits Value);
	HIDESBASE Rvdefine::TRaveUnits __fastcall GetRight(void);
	HIDESBASE void __fastcall SetRight(Rvdefine::TRaveUnits Value);
	virtual Rvdefine::TRaveUnits __fastcall GetTop(void);
	virtual void __fastcall SetTop(Rvdefine::TRaveUnits Value);
	virtual void __fastcall SetHeight(Rvdefine::TRaveUnits Value);
	virtual void __fastcall SetWidth(Rvdefine::TRaveUnits Value);
	void __fastcall SetFont(Rvclass::TRaveFont* Value);
	void __fastcall SetBarCodeJustify(Rpdefine::TPrintJustify Value);
	Rpdefine::TPrintJustify __fastcall GetBarCodeJustify(void);
	void __fastcall SetTextJustify(Rpdefine::TPrintJustify Value);
	Rpdefine::TPrintJustify __fastcall GetTextJustify(void);
	void __fastcall SetBarWidth(Rvdefine::TRaveUnits Value);
	Rvdefine::TRaveUnits __fastcall GetBarWidth(void);
	void __fastcall SetBarHeight(Rvdefine::TRaveUnits Value);
	Rvdefine::TRaveUnits __fastcall GetBarHeight(void);
	Rvdefine::TRaveUnits __fastcall GetBarTop(void);
	void __fastcall SetBarTop(Rvdefine::TRaveUnits Value);
	Rvdefine::TRaveUnits __fastcall GetCenter(void);
	void __fastcall SetCenter(Rvdefine::TRaveUnits Value);
	virtual void __fastcall SetText(AnsiString Value);
	virtual AnsiString __fastcall GetText();
	void __fastcall SetUseChecksum(bool Value);
	bool __fastcall GetUseChecksum(void);
	void __fastcall SetWideFactor(double Value);
	double __fastcall GetWideFactor(void);
	void __fastcall SetPrintReadable(bool Value);
	bool __fastcall GetPrintReadable(void);
	void __fastcall SetPrintChecksum(bool Value);
	bool __fastcall GetPrintChecksum(void);
	void __fastcall SetPrintTop(bool Value);
	bool __fastcall GetPrintTop(void);
	void __fastcall SetBarCodeRotation(Rpbars::TBarCodeRotation Value);
	Rpbars::TBarCodeRotation __fastcall GetBarCodeRotation(void);
	void __fastcall PrintBar(double X1, double Y1, double X2, double Y2);
	void __fastcall SetDataField(AnsiString Value);
	virtual void __fastcall BeforeReport(void);
	virtual void __fastcall AfterReport(void);
	virtual void __fastcall Changing(Rvclass::TRaveComponent* OldItem, Rvclass::TRaveComponent* NewItem);
	bool __fastcall IsLeftStored(void);
	bool __fastcall IsCenterStored(void);
	bool __fastcall IsRightStored(void);
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void) = 0 ;
	virtual void __fastcall Print(Rpbase::TBaseReport* Report);
	virtual void __fastcall Paint(Graphics::TCanvas* Canvas);
	
public:
	__fastcall virtual TRaveBaseBarCode(Classes::TComponent* AOwner);
	__fastcall virtual ~TRaveBaseBarCode(void);
	virtual void __fastcall Resize(void);
	__property AnsiString Text = {read=GetText, write=SetText};
	
__published:
	__property AnsiString DataField = {read=FDataField, write=SetDataField};
	__property Rvdata::TRaveBaseDataView* DataView = {read=FDataView, write=FDataView, default=0};
	__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};
	__property Rpdefine::TPrintJustify BarCodeJustify = {read=GetBarCodeJustify, write=SetBarCodeJustify, stored=false, nodefault};
	__property Rvdefine::TRaveUnits Top = {read=GetTop, write=SetTop};
	__property Rvdefine::TRaveUnits Bottom = {read=GetBottom, write=SetBottom};
	__property Height ;
	__property Width ;
	__property Rvclass::TRaveFont* Font = {read=FFont, write=SetFont};
	__property Rvdefine::TRaveUnits BarWidth = {read=GetBarWidth, write=SetBarWidth};
	__property Rvdefine::TRaveUnits BarHeight = {read=GetBarHeight, write=SetBarHeight};
	__property Rvdefine::TRaveUnits BarTop = {read=GetBarTop, write=SetBarTop};
	__property Left  = {stored=IsLeftStored};
	__property Rvdefine::TRaveUnits Right = {read=GetRight, write=SetRight, stored=IsRightStored};
	__property Rvdefine::TRaveUnits Center = {read=GetCenter, write=SetCenter, stored=IsCenterStored};
	__property Rpdefine::TPrintJustify TextJustify = {read=GetTextJustify, write=SetTextJustify, default=1};
	__property bool UseChecksum = {read=GetUseChecksum, write=SetUseChecksum, default=0};
	__property double WideFactor = {read=GetWideFactor, write=SetWideFactor};
	__property bool PrintReadable = {read=GetPrintReadable, write=SetPrintReadable, default=1};
	__property bool PrintChecksum = {read=GetPrintChecksum, write=SetPrintChecksum, default=0};
	__property bool PrintTop = {read=GetPrintTop, write=SetPrintTop, default=0};
	__property Rpbars::TBarCodeRotation BarCodeRotation = {read=GetBarCodeRotation, write=SetBarCodeRotation, default=0};
};


class DELPHICLASS TRavePostNetBarCode;
class PASCALIMPLEMENTATION TRavePostNetBarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	virtual void __fastcall SetHeight(Rvdefine::TRaveUnits Value);
	
public:
	__fastcall virtual TRavePostNetBarCode(Classes::TComponent* AOwner);
	
__published:
	__property PrintReadable  = {default=0};
	__property Height  = {write=SetHeight};
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRavePostNetBarCode(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRaveI2of5BarCode;
class PASCALIMPLEMENTATION TRaveI2of5BarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	
public:
	__fastcall virtual TRaveI2of5BarCode(Classes::TComponent* AOwner);
	
__published:
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRaveI2of5BarCode(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRaveCode39BarCode;
class PASCALIMPLEMENTATION TRaveCode39BarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	void __fastcall SetExtended(bool Value);
	bool __fastcall GetExtended(void);
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	
public:
	__fastcall virtual TRaveCode39BarCode(Classes::TComponent* AOwner);
	
__published:
	__property bool Extended = {read=GetExtended, write=SetExtended, nodefault};
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRaveCode39BarCode(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRaveCode128BarCode;
class PASCALIMPLEMENTATION TRaveCode128BarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	void __fastcall SetCodePage(Rpbars::TCodePage128 Value);
	Rpbars::TCodePage128 __fastcall GetCodePage(void);
	void __fastcall SetOptimize(bool Value);
	bool __fastcall GetOptimize(void);
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	
public:
	__fastcall virtual TRaveCode128BarCode(Classes::TComponent* AOwner);
	
__published:
	__property Rpbars::TCodePage128 CodePage = {read=GetCodePage, write=SetCodePage, nodefault};
	__property bool Optimize = {read=GetOptimize, write=SetOptimize, nodefault};
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRaveCode128BarCode(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRaveUPCBarCode;
class PASCALIMPLEMENTATION TRaveUPCBarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	
public:
	__fastcall virtual TRaveUPCBarCode(Classes::TComponent* AOwner);
	
__published:
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRaveUPCBarCode(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRaveEANBarCode;
class PASCALIMPLEMENTATION TRaveEANBarCode : public TRaveBaseBarCode 
{
	typedef TRaveBaseBarCode inherited;
	
protected:
	virtual Rpbars::TRPBarsBase* __fastcall CreateBarCodeClass(void);
	
public:
	__fastcall virtual TRaveEANBarCode(Classes::TComponent* AOwner);
	
__published:
	__property Text ;
public:
	#pragma option push -w-inl
	/* TRaveBaseBarCode.Destroy */ inline __fastcall virtual ~TRaveEANBarCode(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall RaveRegister(void);

}	/* namespace Rvcsbars */
using namespace Rvcsbars;
#pragma pack(pop)
#pragma option pop

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