// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ieprnform1.pas' rev: 30.00 (Windows)

#ifndef Ieprnform1HPP
#define Ieprnform1HPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Buttons.hpp>
#include <imageenview.hpp>
#include <imageenio.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Menus.hpp>
#include <ieview.hpp>
#include <hyiedefs.hpp>
#include <hyieutils.hpp>
#include <imageenproc.hpp>
#include <ievect.hpp>
#include <Vcl.ImgList.hpp>
#include <System.Types.hpp>
#include <System.UITypes.hpp>

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

namespace Ieprnform1
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfiePrnForm1;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfiePrnForm1 : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Dialogs::TPrinterSetupDialog* PrinterSetupDialog1;
	Imageenview::TImageEnView* ImageEnView1;
	Vcl::Extctrls::TPanel* Panel1;
	Vcl::Controls::TImageList* imlPositions;
	Vcl::Stdctrls::TGroupBox* grpSize;
	Vcl::Stdctrls::TGroupBox* grpMargins;
	Vcl::Stdctrls::TGroupBox* grpOther;
	Vcl::Stdctrls::TLabel* Label1;
	Vcl::Stdctrls::TLabel* Label2;
	Vcl::Stdctrls::TLabel* Label3;
	Vcl::Stdctrls::TLabel* Label4;
	Vcl::Stdctrls::TEdit* Edit1;
	Vcl::Stdctrls::TEdit* Edit2;
	Vcl::Stdctrls::TEdit* Edit3;
	Vcl::Stdctrls::TEdit* Edit4;
	Vcl::Comctrls::TUpDown* UpDown1;
	Vcl::Comctrls::TUpDown* UpDown2;
	Vcl::Comctrls::TUpDown* UpDown3;
	Vcl::Comctrls::TUpDown* UpDown4;
	Vcl::Stdctrls::TLabel* lblPosition;
	Vcl::Stdctrls::TComboBox* cmbPosition;
	Vcl::Stdctrls::TEdit* Edit7;
	Vcl::Comctrls::TUpDown* UpDown7;
	Vcl::Stdctrls::TLabel* lblGamma;
	Vcl::Stdctrls::TLabel* lblSize;
	Vcl::Stdctrls::TComboBox* ComboBox1;
	Vcl::Stdctrls::TEdit* edtWidth;
	Vcl::Comctrls::TUpDown* updWidth;
	Vcl::Stdctrls::TEdit* edtHeight;
	Vcl::Comctrls::TUpDown* updHeight;
	Vcl::Stdctrls::TLabel* lblByX;
	Vcl::Buttons::TBitBtn* btnPrint;
	Vcl::Buttons::TBitBtn* btnSetup;
	Vcl::Buttons::TBitBtn* btnCancel;
	void __fastcall btnSetupClick(System::TObject* Sender);
	void __fastcall cmbPositionDrawItem(Vcl::Controls::TWinControl* Control, int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
	void __fastcall PrintPreview(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall ComboBox1Change(System::TObject* Sender);
	void __fastcall FormClose(System::TObject* Sender, System::Uitypes::TCloseAction &Action);
	void __fastcall SpeedButton12Click(System::TObject* Sender);
	void __fastcall UpDown1Click(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall UpDown2Click(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall UpDown3Click(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall UpDown4Click(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall UpDown7Click(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updWidthClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updHeightClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall FormResize(System::TObject* Sender);
	
private:
	void __fastcall incdecmargins(Vcl::Stdctrls::TEdit* text, Vcl::Comctrls::TUDBtnType Button);
	double __fastcall XMult(void);
	
public:
	Imageenio::TIEDialogsMeasureUnit fDialogsMeasureUnit;
	Imageenio::TImageEnIO* io;
	System::UnicodeString fTaskName;
	Imageenio::TIOPrintPreviewParams* fPrintPreviewParams;
	bool PrintAnnotations;
	bool activating;
	void __fastcall UpdateLanguage(void);
	void __fastcall LoadParameters(void);
	void __fastcall SaveParameters(void);
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfiePrnForm1(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfiePrnForm1(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfiePrnForm1(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfiePrnForm1(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Ieprnform1 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IEPRNFORM1)
using namespace Ieprnform1;
#endif
#pragma pack(pop)
#pragma option pop

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