157 lines
6.1 KiB
C++
157 lines
6.1 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'ieprnform1.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef ieprnform1HPP
|
|
#define ieprnform1HPP
|
|
|
|
#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 <Vcl.ComCtrls.hpp>
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
#include <Vcl.Menus.hpp>
|
|
#include <ieview.hpp>
|
|
#include <hyiedefs.hpp>
|
|
#include <imageenproc.hpp>
|
|
#include <ievect.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 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* edtGamma;
|
|
Vcl::Comctrls::TUpDown* updGamma;
|
|
Vcl::Stdctrls::TLabel* lblGamma;
|
|
Vcl::Stdctrls::TLabel* lblSize;
|
|
Vcl::Stdctrls::TComboBox* cmbPrintSize;
|
|
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;
|
|
Vcl::Stdctrls::TLabel* lblPagesByX;
|
|
Vcl::Stdctrls::TEdit* edtPagesWide;
|
|
Vcl::Comctrls::TUpDown* updPagesWide;
|
|
Vcl::Stdctrls::TEdit* edtPagesHigh;
|
|
Vcl::Comctrls::TUpDown* updPagesHigh;
|
|
void __fastcall FormCreate(System::TObject* Sender);
|
|
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 PrintPreview(System::TObject* Sender);
|
|
void __fastcall FormActivate(System::TObject* Sender);
|
|
void __fastcall cmbPrintSizeChange(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 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 FormResize(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);
|
|
double __fastcall UnitMult();
|
|
void __fastcall UpdatePrintSizeControls();
|
|
|
|
public:
|
|
Imageenio::TIEDialogsMeasureUnit fDialogsMeasureUnit;
|
|
Imageenio::TImageEnIO* io;
|
|
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 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.CreateScaledNew */ inline __fastcall virtual TfiePrnForm1(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
|
|
/* TCustomForm.Destroy */ inline __fastcall virtual ~TfiePrnForm1() { }
|
|
|
|
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
|