BSOne.SFC/EM.Lib/ImageEn_SRC/Source/Delphi10.1Berlin/ieprnform2.hpp

166 lines
6.4 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ieprnform2.pas' rev: 37.00 (Windows)
#ifndef ieprnform2HPP
#define ieprnform2HPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#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 <ieview.hpp>
#include <hyiedefs.hpp>
#include <Vcl.ComCtrls.hpp>
#include <imageenproc.hpp>
#include <ievect.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.ImgList.hpp>
#include <hyieutils.hpp>
#include <iexBitmaps.hpp>
#include <iesettings.hpp>
#include <iexLayers.hpp>
#include <iexRulers.hpp>
#include <System.Types.hpp>
#include <System.UITypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ieprnform2
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfiePrnForm2;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfiePrnForm2 : public Vcl::Forms::TForm
{
typedef Vcl::Forms::TForm inherited;
__published:
Vcl::Stdctrls::TGroupBox* GroupBox1;
Vcl::Stdctrls::TEdit* Edit1;
Vcl::Stdctrls::TLabel* Label1;
Vcl::Stdctrls::TLabel* Label2;
Vcl::Stdctrls::TEdit* Edit2;
Vcl::Stdctrls::TLabel* Label3;
Vcl::Stdctrls::TEdit* Edit3;
Vcl::Stdctrls::TLabel* Label4;
Vcl::Stdctrls::TEdit* Edit4;
Vcl::Stdctrls::TGroupBox* grpOther;
Vcl::Stdctrls::TEdit* edtGamma;
Vcl::Stdctrls::TLabel* lblGamma;
Vcl::Stdctrls::TGroupBox* grpPreview;
Imageenview::TImageEnView* ImageEnView1;
Vcl::Comctrls::TUpDown* UpDown1;
Vcl::Comctrls::TUpDown* UpDown2;
Vcl::Comctrls::TUpDown* UpDown3;
Vcl::Comctrls::TUpDown* UpDown4;
Vcl::Comctrls::TUpDown* updGamma;
Vcl::Dialogs::TPrinterSetupDialog* PrinterSetupDialog1;
Vcl::Extctrls::TImage* Image1;
Vcl::Stdctrls::TGroupBox* grpSizeLocation;
Vcl::Stdctrls::TComboBox* cmbPosition;
Vcl::Stdctrls::TComboBox* cmbPrintSize;
Vcl::Stdctrls::TLabel* lblSize;
Vcl::Stdctrls::TLabel* lblPosition;
Vcl::Stdctrls::TEdit* edtWidth;
Vcl::Comctrls::TUpDown* updWidth;
Vcl::Stdctrls::TEdit* edtHeight;
Vcl::Comctrls::TUpDown* updHeight;
Vcl::Stdctrls::TLabel* lblWidth;
Vcl::Stdctrls::TLabel* lblHeight;
Vcl::Stdctrls::TLabel* lblWidthUnit;
Vcl::Stdctrls::TLabel* lblHeightUnit;
Vcl::Stdctrls::TLabel* lblMeasurement;
Vcl::Stdctrls::TComboBox* ComboBox2;
Vcl::Extctrls::TPanel* pnlButtons;
Vcl::Buttons::TBitBtn* btnSetup;
Vcl::Buttons::TBitBtn* btnOK;
Vcl::Buttons::TBitBtn* btnCancel;
Vcl::Stdctrls::TLabel* lblPagesWide;
Vcl::Stdctrls::TEdit* edtPagesWide;
Vcl::Comctrls::TUpDown* updPagesWide;
Vcl::Stdctrls::TLabel* lblPagesHigh;
Vcl::Stdctrls::TEdit* edtPagesHigh;
Vcl::Comctrls::TUpDown* updPagesHigh;
Vcl::Controls::TImageList* imlPositions;
void __fastcall cmbPrintSizeChange(System::TObject* Sender);
void __fastcall btnOKClick(System::TObject* Sender);
void __fastcall PrintPreview(System::TObject* Sender);
void __fastcall FormActivate(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 updGammaClick(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 btnSetupClick(System::TObject* Sender);
void __fastcall cmbPositionDrawItem(Vcl::Controls::TWinControl* Control, int Index, const Winapi::Windows::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
void __fastcall ComboBox2Change(System::TObject* Sender);
void __fastcall FormClose(System::TObject* Sender, System::Uitypes::TCloseAction &Action);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall updPagesHighClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
void __fastcall updPagesWideClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
private:
bool fHaveActivated;
void __fastcall IncDecMargins(Vcl::Stdctrls::TEdit* text, Vcl::Comctrls::TUDBtnType Button);
void __fastcall IncDecValue(Vcl::Stdctrls::TEdit* text, Vcl::Comctrls::TUDBtnType Button);
void __fastcall SetLanguage_units();
double __fastcall UnitMult();
void __fastcall UpdateDialogSize();
void __fastcall UpdatePrintSizeControls();
public:
Imageenio::TImageEnIO* io;
Imageenio::TIEDialogsMeasureUnit fDialogsMeasureUnit;
System::UnicodeString fTaskName;
Imageenio::TIOPrintPreviewParams* fPrintPreviewParams;
bool PrintAnnotations;
bool activating;
void __fastcall UpdateLanguage();
void __fastcall LoadParameters();
void __fastcall SaveParameters();
public:
/* TCustomForm.Create */ inline __fastcall virtual TfiePrnForm2(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
/* TCustomForm.CreateNew */ inline __fastcall virtual TfiePrnForm2(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfiePrnForm2(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
/* TCustomForm.Destroy */ inline __fastcall virtual ~TfiePrnForm2() { }
public:
/* TWinControl.CreateParented */ inline __fastcall TfiePrnForm2(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ieprnform2 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IEPRNFORM2)
using namespace Ieprnform2;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // ieprnform2HPP