1 |
// ***** BEGIN LICENSE BLOCK *****
|
2 |
// * Version: MPL 1.1
|
3 |
// *
|
4 |
// * The contents of this file are subject to the Mozilla Public License Version
|
5 |
// * 1.1 (the "License"); you may not use this file except in compliance with
|
6 |
// * the License. You may obtain a copy of the License at
|
7 |
// * http://www.mozilla.org/MPL/
|
8 |
// *
|
9 |
// * Software distributed under the License is distributed on an "AS IS" basis,
|
10 |
// * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11 |
// * for the specific language governing rights and limitations under the
|
12 |
// * License.
|
13 |
// *
|
14 |
// * The Original Code is TurboPower SysTools
|
15 |
// *
|
16 |
// * The Initial Developer of the Original Code is
|
17 |
// * TurboPower Software
|
18 |
// *
|
19 |
// * Portions created by the Initial Developer are Copyright (C) 1996-2002
|
20 |
// * the Initial Developer. All Rights Reserved.
|
21 |
// *
|
22 |
// * Contributor(s):
|
23 |
// *
|
24 |
// * ***** END LICENSE BLOCK *****
|
25 |
//---------------------------------------------------------------------------
|
26 |
#ifndef datamrg0H
|
27 |
#define datamrg0H
|
28 |
//---------------------------------------------------------------------------
|
29 |
#include <Classes.hpp>
|
30 |
#include <Controls.hpp>
|
31 |
#include <StdCtrls.hpp>
|
32 |
#include <Forms.hpp>
|
33 |
#include <Buttons.hpp>
|
34 |
#include <Dialogs.hpp>
|
35 |
#include <ExtCtrls.hpp>
|
36 |
|
37 |
#include "StTxtDat.hpp"
|
38 |
#include "StMerge.hpp"
|
39 |
//---------------------------------------------------------------------------
|
40 |
class TForm1 : public TForm
|
41 |
{
|
42 |
__published: // IDE-managed Components
|
43 |
TSplitter *Splitter1;
|
44 |
TSplitter *Splitter2;
|
45 |
TPanel *Panel1;
|
46 |
TButton *Button1;
|
47 |
TButton *Button2;
|
48 |
TButton *Button3;
|
49 |
TPanel *Panel5;
|
50 |
TSpeedButton *SpeedButton1;
|
51 |
TSpeedButton *SpeedButton2;
|
52 |
TSpeedButton *SpeedButton3;
|
53 |
TSpeedButton *SpeedButton4;
|
54 |
TButton *Button4;
|
55 |
TButton *Button5;
|
56 |
TButton *Button6;
|
57 |
TPanel *Panel2;
|
58 |
TMemo *Memo1;
|
59 |
TPanel *Panel3;
|
60 |
TMemo *Memo2;
|
61 |
TPanel *Panel4;
|
62 |
TMemo *Memo3;
|
63 |
TOpenDialog *OpenDialog1;
|
64 |
TOpenDialog *OpenDialog2;
|
65 |
TOpenDialog *OpenDialog3;
|
66 |
TSaveDialog *SaveDialog1;
|
67 |
TSaveDialog *SaveDialog2;
|
68 |
void __fastcall FormCreate(TObject *Sender);
|
69 |
void __fastcall FormDestroy(TObject *Sender);
|
70 |
void __fastcall ClearMemo(TObject *Sender);
|
71 |
void __fastcall NavClick(TObject *Sender);
|
72 |
void __fastcall Button1Click(TObject *Sender);
|
73 |
void __fastcall Button2Click(TObject *Sender);
|
74 |
void __fastcall Button3Click(TObject *Sender);
|
75 |
void __fastcall Button4Click(TObject *Sender);
|
76 |
void __fastcall Button5Click(TObject *Sender);
|
77 |
void __fastcall Button6Click(TObject *Sender);
|
78 |
private: // User declarations
|
79 |
public: // User declarations
|
80 |
__fastcall TForm1(TComponent* Owner);
|
81 |
void __fastcall DoUnknownTag(TObject *Sender, AnsiString Tag, AnsiString &Value, bool &Discard);
|
82 |
void __fastcall DisableButtons(void);
|
83 |
void __fastcall UpdateButtons(void);
|
84 |
void __fastcall UpdateTagDisplay(void);
|
85 |
String __fastcall NextFile(void);
|
86 |
|
87 |
String TemplateName;
|
88 |
int MergeNo;
|
89 |
TStTextDataSchema* Schema;
|
90 |
TStTextDataRecordSet* DataSet;
|
91 |
TStTextMerge* Merger;
|
92 |
};
|
93 |
//---------------------------------------------------------------------------
|
94 |
extern PACKAGE TForm1 *Form1;
|
95 |
//---------------------------------------------------------------------------
|
96 |
#endif
|