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

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

#ifndef Ieprnform3HPP
#define Ieprnform3HPP

#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 <hyiedefs.hpp>
#include <hyieutils.hpp>
#include <iemio.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <imageenview.hpp>
#include <ieview.hpp>
#include <iemview.hpp>
#include <imageenio.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Buttons.hpp>
#include <imageenproc.hpp>
#include <Vcl.Menus.hpp>
#include <ievect.hpp>
#include <Vcl.ImgList.hpp>
#include <System.UITypes.hpp>
#include <System.Types.hpp>

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

namespace Ieprnform3
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfiePrnForm3;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfiePrnForm3 : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Extctrls::TSplitter* Splitter1;
	Vcl::Extctrls::TPanel* Panel2;
	Vcl::Dialogs::TPrinterSetupDialog* PrinterSetupDialog1;
	Imageenview::TImageEnView* ImageEnView1;
	Vcl::Extctrls::TPanel* pnlLeft;
	Iemview::TImageEnMView* ImageEnMView1;
	Vcl::Menus::TPopupMenu* PopupMenu1;
	Vcl::Menus::TMenuItem* Add1;
	Vcl::Menus::TMenuItem* Delete1;
	Vcl::Controls::TImageList* imlPositions;
	Vcl::Extctrls::TPanel* pnlPrintSelector;
	Vcl::Stdctrls::TComboBox* cmbPrintSelector;
	Vcl::Buttons::TBitBtn* btnPrint;
	Vcl::Buttons::TBitBtn* btnCancel;
	Vcl::Buttons::TBitBtn* btnSetup;
	Vcl::Stdctrls::TGroupBox* grpSize;
	Vcl::Stdctrls::TLabel* lblSize;
	Vcl::Stdctrls::TLabel* lblByX;
	Vcl::Stdctrls::TComboBox* cmbPrintSize;
	Vcl::Stdctrls::TEdit* edtWidth;
	Vcl::Comctrls::TUpDown* updWidth;
	Vcl::Stdctrls::TEdit* edtHeight;
	Vcl::Comctrls::TUpDown* updHeight;
	Vcl::Stdctrls::TGroupBox* grpMargins;
	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::TGroupBox* grpOther;
	Vcl::Stdctrls::TLabel* lblPosition;
	Vcl::Stdctrls::TLabel* lblGamma;
	Vcl::Stdctrls::TComboBox* cmbPosition;
	Vcl::Stdctrls::TEdit* Edit7;
	Vcl::Comctrls::TUpDown* UpDown7;
	Vcl::Stdctrls::TEdit* edtThumbnailColumns;
	Vcl::Comctrls::TUpDown* updThumbnailColumns;
	Vcl::Stdctrls::TLabel* lblThumbnailsByX;
	Vcl::Stdctrls::TEdit* edtThumbnailRows;
	Vcl::Comctrls::TUpDown* updThumbnailRows;
	Vcl::Stdctrls::TGroupBox* grpThumbnailsOther;
	Vcl::Stdctrls::TLabel* lblThumbnailStyle;
	Vcl::Stdctrls::TLabel* lblThumbnailSpacing;
	Vcl::Stdctrls::TComboBox* cmbThumbnailStyle;
	Vcl::Stdctrls::TEdit* edtThumbnailSpacing;
	Vcl::Comctrls::TUpDown* updThumbnailSpacing;
	Vcl::Extctrls::TTimer* tmrUpdatePreview;
	Vcl::Stdctrls::TButton* btnPrevious;
	Vcl::Stdctrls::TButton* btnNext;
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall cmbPrintSizeChange(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 FormResize(System::TObject* Sender);
	void __fastcall DelayedPrintPreview(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall ImageEnMView1MouseUp(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	void __fastcall Delete1Click(System::TObject* Sender);
	void __fastcall Add1Click(System::TObject* Sender);
	void __fastcall btnCancelClick(System::TObject* Sender);
	void __fastcall btnNextClick(System::TObject* Sender);
	void __fastcall btnPreviousClick(System::TObject* Sender);
	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 FormClose(System::TObject* Sender, System::Uitypes::TCloseAction &Action);
	void __fastcall updHeightClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updThumbnailColumnsClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updThumbnailRowsClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updThumbnailSpacingClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall updWidthClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
	
private:
	Iemview::TImageEnMView* srcview;
	Ievect::TImageEnVect* ie;
	bool fActivating;
	System::UnicodeString fDialogCaption;
	int fThumbnailPageIndex;
	int fOriginalDlgWidth;
	int fOriginalDlgHeight;
	void __fastcall incdecmargins(Vcl::Stdctrls::TEdit* text, Vcl::Comctrls::TUDBtnType Button);
	void __fastcall ImageSelect(void);
	bool __fastcall GetImage(int idx);
	void __fastcall UpdatePrintSizeControls(void);
	void __fastcall SetDialogCaption(System::UnicodeString value);
	void __fastcall SetLanguage_units(void);
	
public:
	Iemio::TImageEnMIO* mio;
	System::UnicodeString fTaskName;
	Imageenio::TIEDialogsMeasureUnit fDialogsMeasureUnit;
	bool PrintAnnotations;
	Imageenio::TIOPrintPreviewParams* fPrintPreviewParams;
	void __fastcall UpdateLanguage(void);
	void __fastcall LoadParameters(void);
	void __fastcall SaveParameters(void);
	__property System::UnicodeString DialogCaption = {read=fDialogCaption, write=SetDialogCaption};
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfiePrnForm3(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfiePrnForm3(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfiePrnForm3(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfiePrnForm3(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


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

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