aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/PrintFrm.h
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitdaa67ff1f728c07f2a116ee9a9f4505479ca6808 (patch)
treec224a537d30480002ae0560cc9104b543b4d1b5e /apps/windoze/CBuilder5/BibleCS/PrintFrm.h
parent6d6973e035aac5ec1676efccd5b8ada70c40b639 (diff)
downloadsword-sf-cvs-import-1.1.1.tar.gz
Initial import from crosswire CVS for syncingimport-1.1.1
Diffstat (limited to 'apps/windoze/CBuilder5/BibleCS/PrintFrm.h')
-rw-r--r--apps/windoze/CBuilder5/BibleCS/PrintFrm.h117
1 files changed, 117 insertions, 0 deletions
diff --git a/apps/windoze/CBuilder5/BibleCS/PrintFrm.h b/apps/windoze/CBuilder5/BibleCS/PrintFrm.h
new file mode 100644
index 0000000..d358e9b
--- /dev/null
+++ b/apps/windoze/CBuilder5/BibleCS/PrintFrm.h
@@ -0,0 +1,117 @@
+//---------------------------------------------------------------------------
+
+#ifndef PrintFrmH
+#define PrintFrmH
+//---------------------------------------------------------------------------
+#include <Classes.hpp>
+#include <Controls.hpp>
+#include <StdCtrls.hpp>
+#include <Forms.hpp>
+#include <Buttons.hpp>
+#include <ComCtrls.hpp>
+#include <ExtCtrls.hpp>
+#include <Menus.hpp>
+#include "RxRichEditX.h"
+#include <Dialogs.hpp>
+#include "RxCombos.hpp"
+#include <swmodule.h>
+
+typedef struct tagTPageOffset {
+ long int Start;
+ long int End;
+ RECT rendRect;
+} TPageOffsets;
+
+//---------------------------------------------------------------------------
+class TPrintForm : public TForm
+{
+__published: // IDE-managed Components
+ TPanel *Panel1;
+ TPageControl *PageControl1;
+ TTabSheet *shtSelection;
+ TTabSheet *shtSetup;
+ TBitBtn *btnPrint;
+ TBitBtn *btnSetup;
+ TBitBtn *btnPreview;
+ TBitBtn *btnClose;
+ TGroupBox *GroupBox1;
+ TRadioButton *radText;
+ TRadioButton *radComm;
+ TRadioButton *radLD;
+ TGroupBox *GroupBox2;
+ TEdit *editStart;
+ TLabel *staticRange;
+ TComboBox *cmbModule;
+ TLabel *lblModName;
+ TGroupBox *GroupBox3;
+ TGroupBox *GroupBox4;
+ TGroupBox *GroupBox5;
+ TLabel *labelLeft;
+ TLabel *labelBot;
+ TLabel *labelRight;
+ TLabel *labelTop;
+ TEdit *editLeft;
+ TUpDown *spinLeft;
+ TEdit *editBottom;
+ TUpDown *spinBottom;
+ TEdit *editTop;
+ TUpDown *spinTop;
+ TEdit *editRight;
+ TUpDown *spinRight;
+ TLabel *labelHeader;
+ TLabel *labelFooter;
+ TEdit *editHeader;
+ TEdit *editFooter;
+ TLabel *Label10;
+ TLabel *Label11;
+ TLabel *Label12;
+ TUpDown *UpDown5;
+ TEdit *editHeading;
+ TUpDown *UpDown6;
+ TEdit *editBody;
+ TUpDown *UpDown7;
+ TEdit *editNumbers;
+ TPrinterSetupDialog *PrinterSetupDialog;
+ TLabel *labelFont;
+ TPanel *pnlFontComboBox;
+ TCheckBox *ckChHead;
+ TCheckBox *ckPrefix;
+ TCheckBox *ckParagraph;
+ TCheckBox *ckPostfix;
+ TCheckBox *ckVSNum;
+ TCheckBox *ckSuperVS;
+ TTabSheet *shtFormat;
+ TCheckBox *ckBookHead;
+ TCheckBox *ckHeader;
+ TCheckBox *ckFooter;
+ void __fastcall FormShow(TObject *Sender);
+ void __fastcall btnCloseClick(TObject *Sender);
+ void __fastcall radTextClick(TObject *Sender);
+ void __fastcall radCommClick(TObject *Sender);
+ void __fastcall radLDClick(TObject *Sender);
+ void __fastcall spinLeftClick(TObject *Sender, TUDBtnType Button);
+ void __fastcall spinRightClick(TObject *Sender, TUDBtnType Button);
+ void __fastcall spinBottomClick(TObject *Sender, TUDBtnType Button);
+ void __fastcall spinTopClick(TObject *Sender, TUDBtnType Button);
+ void __fastcall btnPrintClick(TObject *Sender);
+ void __fastcall OnPrint(TRxRichEdit* rtfPrint);
+ void __fastcall btnSetupClick(TObject *Sender);
+ void __fastcall BitBtn5Click(TObject *Sender);
+ void __fastcall btnPreviewClick(TObject *Sender);
+ void __fastcall ckHeaderClick(TObject *Sender);
+ void __fastcall ckFooterClick(TObject *Sender);
+ void __fastcall ckVSNumClick(TObject *Sender);
+private: // User declarations
+public: // User declarations
+ TFontComboBox *cmbFont;
+ TRxRichEditX* rtfPrint;
+ __fastcall TPrintForm(TComponent* Owner);
+ void FillModuleCombo();
+ void SetHint();
+ void PrepareRTF();
+ void SetDefaultOps();
+};
+//---------------------------------------------------------------------------
+extern PACKAGE TPrintForm *PrintForm;
+//---------------------------------------------------------------------------
+#endif