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

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

#ifndef SrvpagesetupfrmHPP
#define SrvpagesetupfrmHPP

#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 <Windows.hpp>	// Pascal unit
#include <Winspool.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Typinfo.hpp>	// Pascal unit
#include <Printers.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Rvstyle.hpp>	// Pascal unit
#include <Rvofficeradiobtn.hpp>	// Pascal unit
#include <Rvspinedit.hpp>	// Pascal unit
#include <Rvalocalize.hpp>	// Pascal unit
#include <Srvalocalize.hpp>	// Pascal unit
#include <Baservfrm.hpp>	// Pascal unit
#include <Sclrview.hpp>	// Pascal unit
#include <Srvactions.hpp>	// Pascal unit
#include <Imglist.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Rvfuncs.hpp>	// Pascal unit
#include <Richviewactions.hpp>	// Pascal unit

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

namespace Srvpagesetupfrm
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmSRVPageSetup;
class PASCALIMPLEMENTATION TfrmSRVPageSetup : public Baservfrm::TfrmRVBase 
{
	typedef Baservfrm::TfrmRVBase inherited;
	
__published:
	Stdctrls::TGroupBox* gbMargins;
	Stdctrls::TLabel* lblTop;
	Stdctrls::TLabel* lblBottom;
	Stdctrls::TLabel* lblLeft;
	Stdctrls::TLabel* lblRight;
	Rvspinedit::TRVSpinEdit* seTop;
	Rvspinedit::TRVSpinEdit* seBottom;
	Rvspinedit::TRVSpinEdit* seLeft;
	Rvspinedit::TRVSpinEdit* seRight;
	Rvofficeradiobtn::TRVOfficeRadioGroup* rgOrientation;
	Stdctrls::TGroupBox* gbPaper;
	Stdctrls::TLabel* lblSize;
	Stdctrls::TLabel* lblSource;
	Stdctrls::TComboBox* cmbSize;
	Stdctrls::TComboBox* cmbSource;
	Stdctrls::TButton* btnOk;
	Stdctrls::TButton* btnCancel;
	Controls::TImageList* il;
	Buttons::TBitBtn* BitBtn1;
	Menus::TPopupMenu* PopupMenu1;
	Stdctrls::TGroupBox* gbHeaderFooter;
	Stdctrls::TLabel* lblHeader;
	Stdctrls::TLabel* lblFooter;
	Rvspinedit::TRVSpinEdit* seHeaderY;
	Rvspinedit::TRVSpinEdit* seFooterY;
	Stdctrls::TLabel* lblFromEdge;
	HIDESBASE void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall PopupMenu1Popup(System::TObject* Sender);
	void __fastcall BitBtn1Click(System::TObject* Sender);
	
private:
	Srvactions::TSRVPageFormats FPageFormats;
	Controls::TControl* _cmbSize;
	Controls::TControl* _cmbSource;
	Controls::TControl* _btn;
	void __fastcall AddFormat(System::TObject* Sender);
	
public:
	DYNAMIC void __fastcall Localize(void);
	void __fastcall Init(Sclrview::TSRichViewEdit* Edit, const Srvactions::TSRVPageFormats &PageFormats);
	void __fastcall Apply(Sclrview::TSRichViewEdit* Edit);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSRVPageSetup(Classes::TComponent* AOwner) : Baservfrm::TfrmRVBase(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSRVPageSetup(Classes::TComponent* AOwner, int Dummy) : Baservfrm::TfrmRVBase(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSRVPageSetup(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TfrmSRVPageSetup(HWND ParentWindow) : Baservfrm::TfrmRVBase(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE AnsiString __fastcall GetPageFormatName(Sclrview::TSRVPageFormat PageFormat);

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

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