-
Notifications
You must be signed in to change notification settings - Fork 1
/
dokumentctrl.h
209 lines (194 loc) · 4.66 KB
/
dokumentctrl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
#pragma once
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CDokumentctrl wrapper class
class CDokumentctrl : public CWnd
{
protected:
DECLARE_DYNCREATE(CDokumentctrl)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xED09076F, 0xB744, 0x47A1, { 0x8D, 0x60, 0xF9, 0xEF, 0x9, 0x3F, 0x19, 0xF0 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID);
}
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd,
UINT nID, CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey);
}
// Attributes
public:
// Operations
public:
// _DDokument
// Functions
//
long FindeErsteEinnahmenBuchung()
{
long result;
InvokeHelper(0x9, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
long FindeErsteAusgabenBuchung()
{
long result;
InvokeHelper(0xa, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
long FindeNaechsteBuchung(long BuchungID)
{
long result;
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0xb, DISPATCH_METHOD, VT_I4, (void*)&result, parms, BuchungID);
return result;
}
long NeueEinnahmenbuchungEinfuegen()
{
long result;
InvokeHelper(0xc, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
long NeueAusgabenbuchungEinfuegen()
{
long result;
InvokeHelper(0xd, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
void Sortieren()
{
InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void LoescheBuchung(long BuchungID)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms, BuchungID);
}
CY HoleEinnahmenSumme()
{
CY result;
InvokeHelper(0x10, DISPATCH_METHOD, VT_CY, (void*)&result, NULL);
return result;
}
CY HoleAusgabenSumme()
{
CY result;
InvokeHelper(0x11, DISPATCH_METHOD, VT_CY, (void*)&result, NULL);
return result;
}
long HoleDokumentVersion()
{
long result;
InvokeHelper(0x12, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
CString HoleBenutzerdefWert(LPCTSTR PluginName, LPCTSTR SchluesselName)
{
CString result;
static BYTE parms[] = VTS_BSTR VTS_BSTR ;
InvokeHelper(0x13, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, PluginName, SchluesselName);
return result;
}
void SpeichereBenutzerdefWert(LPCTSTR PluginName, LPCTSTR SchluesselName, LPCTSTR Wert)
{
static BYTE parms[] = VTS_BSTR VTS_BSTR VTS_BSTR ;
InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms, PluginName, SchluesselName, Wert);
}
void AboutBox()
{
InvokeHelper(DISPID_ABOUTBOX, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
// Properties
//
long GetID()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void SetID(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
short GetJahr()
{
short result;
GetProperty(0x2, VT_I2, (void*)&result);
return result;
}
void SetJahr(short propVal)
{
SetProperty(0x2, VT_I2, propVal);
}
long GetLaufendeBuchungsnummerEinnahmen()
{
long result;
GetProperty(0x3, VT_I4, (void*)&result);
return result;
}
void SetLaufendeBuchungsnummerEinnahmen(long propVal)
{
SetProperty(0x3, VT_I4, propVal);
}
long GetLaufendeBuchungsnummerAusgaben()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}
void SetLaufendeBuchungsnummerAusgaben(long propVal)
{
SetProperty(0x4, VT_I4, propVal);
}
CString GetWaehrung()
{
CString result;
GetProperty(0x5, VT_BSTR, (void*)&result);
return result;
}
void SetWaehrung(CString propVal)
{
SetProperty(0x5, VT_BSTR, propVal);
}
long GetAbschreibungGenauigkeit()
{
long result;
GetProperty(0x6, VT_I4, (void*)&result);
return result;
}
void SetAbschreibungGenauigkeit(long propVal)
{
SetProperty(0x6, VT_I4, propVal);
}
long GetLaufendeBuchungsnummerBank()
{
long result;
GetProperty(0x7, VT_I4, (void*)&result);
return result;
}
void SetLaufendeBuchungsnummerBank(long propVal)
{
SetProperty(0x7, VT_I4, propVal);
}
long GetLaufendeBuchungsnummerKasse()
{
long result;
GetProperty(0x8, VT_I4, (void*)&result);
return result;
}
void SetLaufendeBuchungsnummerKasse(long propVal)
{
SetProperty(0x8, VT_I4, propVal);
}
};