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

// (DO NOT EDIT: machine generated header) 'PJListView.pas' rev: 5.00

#ifndef PJListViewHPP
#define PJListViewHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ComCtrls.hpp>	// Pascal unit
#include <PJTextGrid.hpp>	// Pascal unit
#include <PJGrid.hpp>	// Pascal unit
#include <PSJob.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Pjlistview
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomListViewPrintJob;
class PASCALIMPLEMENTATION TCustomListViewPrintJob : public Pjtextgrid::TSpecialTextGridPrintJob 
{
	typedef Pjtextgrid::TSpecialTextGridPrintJob inherited;
	
private:
	Comctrls::TListView* FListView;
	bool FDrawIcons;
	bool FSelectedOnly;
	void __fastcall SetListView(const Comctrls::TListView* Value);
	void __fastcall SetDrawIcons(const bool Value);
	void __fastcall SetSelectedOnly(const bool Value);
	int __fastcall GetRowIndex(int ARow);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Comctrls::TListView* ListView = {read=FListView, write=SetListView};
	__property bool DrawIcons = {read=FDrawIcons, write=SetDrawIcons, nodefault};
	__property bool SelectedOnly = {read=FSelectedOnly, write=SetSelectedOnly, nodefault};
	
public:
	virtual void __fastcall Update(void);
	virtual void __fastcall DrawCell(Graphics::TCanvas* TheCanvas, const Windows::TRect &Rect, int PageIndex
		, int ACol, int ARow, Psjob::TDrawTarget Target);
	virtual int __fastcall GetColWidth(Graphics::TCanvas* TheCanvas, int ACol);
	virtual AnsiString __fastcall GetCellText(int APageIndex, int ACol, int ARow);
	virtual Classes::TAlignment __fastcall GetCellAlignment(int ACol, int ARow);
public:
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Create */ inline __fastcall virtual TCustomListViewPrintJob(Classes::TComponent* 
		AOwner) : Pjtextgrid::TSpecialTextGridPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Destroy */ inline __fastcall virtual ~TCustomListViewPrintJob(void) { }
	#pragma option pop
	
};


class DELPHICLASS TListViewPrintJob;
class PASCALIMPLEMENTATION TListViewPrintJob : public TCustomListViewPrintJob 
{
	typedef TCustomListViewPrintJob inherited;
	
__published:
	__property ListView ;
	__property DrawIcons ;
	__property SelectedOnly ;
	__property HeaderFont ;
	__property PageFont ;
	__property FooterFont ;
	__property ClipMode ;
	__property RowsPerPage ;
	__property TableBorders ;
	__property HeaderCellBorders ;
	__property PageCellBorders ;
	__property FooterCellBorders ;
	__property IndexColumn ;
	__property IndexStart ;
	__property Title ;
	__property Margins ;
	__property MarginsUnits ;
	__property Header ;
	__property HeaderUnits ;
	__property Footer ;
	__property FooterUnits ;
	__property PageMode ;
	__property PageWidth ;
	__property PageHeight ;
	__property PageUnits ;
	__property Orientation ;
	__property Options ;
	__property OnCreate ;
	__property OnDestroy ;
	__property OnPrinterSetupChange ;
	__property OnStartPrint ;
	__property OnEndPrint ;
	__property OnPrintProgress ;
	__property OnStartPrintPage ;
	__property OnEndPrintPage ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Create */ inline __fastcall virtual TListViewPrintJob(Classes::TComponent* 
		AOwner) : TCustomListViewPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Destroy */ inline __fastcall virtual ~TListViewPrintJob(void) { }
	#pragma option pop
	
};


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

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

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