Altium C++ SDK 3.0
Loading...
Searching...
No Matches
EDP.RecordWrappers.h
Go to the documentation of this file.
1#pragma once
2
3#ifndef EDP_RECORDWRAPPERS_H_INCLUDED
4#define EDP_RECORDWRAPPERS_H_INCLUDED
5
6#include <comdef.h>
7#include <string>
8#include "DXP.DispatchImpl.h"
9#include "EDP.Types.h"
10
11#pragma pack(push, 8)
12
13namespace EDP
14{
15
16/*..............................................................................*/
17struct __declspec(uuid("{6CBA0798-0228-4851-AC0E-95F5D2C581A5}"))
18IDocumentOutputValues : IDispatch
19{
22 double GetPrintScale();
23 int GetTileX();
24 int GetTileY();
25 int GetMinX();
26 int GetMinY();
27 int GetMaxX();
28 int GetMaxY();
29};
31/*..............................................................................*/
32
33/*..............................................................................*/
58_COM_SMARTPTR_TYPEDEF(IInputValues, __uuidof(IInputValues)); // IInputValuesPtr
59/*..............................................................................*/
60
61/*..............................................................................*/
87_COM_SMARTPTR_TYPEDEF(IPageOptionsRecord, __uuidof(IPageOptionsRecord)); // IPageOptionsRecordPtr
88/*..............................................................................*/
89
90/*..............................................................................*/
91struct __declspec(uuid("{728E2E78-819E-49D4-8870-98A9A7100BF5}"))
92IPrinterOptionsRecord : IDispatch
93{
94 int GetCopies();
95 int GetDuplex();
106};
108/*..............................................................................*/
109
110/*..............................................................................*/
134_COM_SMARTPTR_TYPEDEF(IPrintParams, __uuidof(IPrintParams)); // IPrintParamsPtr
135/*..............................................................................*/
136
137
138/*..............................................................................*/
151/*..............................................................................*/
152
153/*..............................................................................*/
155{
156public:
157 virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
158
167};
168/*..............................................................................*/
169
170/*..............................................................................*/
194/*..............................................................................*/
195
196/*..............................................................................*/
198{
199public:
200 virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
201
203 {
204 }
206 {
207 *(T_InputValues *)this = data;
208 }
210};
211/*..............................................................................*/
212
213/*..............................................................................*/
238/*..............................................................................*/
239
240/*..............................................................................*/
242{
243public:
244 virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
245
247 {
248 }
250 {
251 *(T_PageOptionsRecord *)this = data;
252 }
254};
255/*..............................................................................*/
256
257/*..............................................................................*/
273/*..............................................................................*/
274
275/*..............................................................................*/
277{
278public:
279 virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
280
289};
290/*..............................................................................*/
291
292/*..............................................................................*/
315/*..............................................................................*/
316
317/*..............................................................................*/
319{
320public:
321 virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
322
324 {
325 }
327 {
328 *(T_PrintParams *)this = data;
329 }
331};
332/*..............................................................................*/
333
334} // namespace EDP
335
336#pragma pack(pop)
337
338#endif // EDP_RECORDWRAPPERS_H_INCLUDED
CDispatchRecord()
Definition DXP.DispatchImpl.h:32
C_DocumentOutputValues(T_DocumentOutputValues data)
Definition EDP.RecordWrappers.h:162
virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
C_DocumentOutputValues()
Definition EDP.RecordWrappers.h:159
C_DocumentOutputValues(IDocumentOutputValues *pVal)
C_InputValues()
Definition EDP.RecordWrappers.h:202
C_InputValues(IInputValues *pVal)
C_InputValues(T_InputValues data)
Definition EDP.RecordWrappers.h:205
virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
C_PageOptionsRecord()
Definition EDP.RecordWrappers.h:246
virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
C_PageOptionsRecord(IPageOptionsRecord *pVal)
C_PageOptionsRecord(T_PageOptionsRecord data)
Definition EDP.RecordWrappers.h:249
C_PrintParams(T_PrintParams data)
Definition EDP.RecordWrappers.h:326
virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
C_PrintParams(IPrintParams *pVal)
C_PrintParams()
Definition EDP.RecordWrappers.h:323
virtual HRESULT __stdcall Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
C_PrinterOptionsRecord(IPrinterOptionsRecord *pVal)
C_PrinterOptionsRecord(T_PrinterOptionsRecord data)
Definition EDP.RecordWrappers.h:284
C_PrinterOptionsRecord()
Definition EDP.RecordWrappers.h:281
Definition EDP.AbstractClasses.h:20
TPrintRange
Definition EDP.Types.h:880
TPrintScaleMode
Definition EDP.Types.h:863
TSignalRange
Definition EDP.Types.h:907
TPrintKind
Definition EDP.Types.h:871
TPrintJobKind
Definition EDP.Types.h:889
_COM_SMARTPTR_TYPEDEF(IProject, __uuidof(IProject))
TTimeRange
Definition EDP.Types.h:915
TPrintWhat
Definition EDP.Types.h:897
TTimeScale
Definition EDP.Types.h:924
Definition EDP.RecordWrappers.h:19
Definition EDP.RecordWrappers.h:36
int GetMils_PrintingHeight()
int GetPixel_PrintingHeight()
bool GetFitPrintSizeToDoc()
int GetPixel_MarginBottom()
int GetMils_PrintingWidth()
double GetFramesPerSecond()
int GetOverlapHorizontal()
int GetPixel_PrintingWidth()
int GetMils_MarginBottom()
Definition EDP.RecordWrappers.h:64
TPrintScaleMode GetPrintScaleMode()
TPrintKind GetPrintKind()
Definition EDP.RecordWrappers.h:113
TSignalRange GetSignalRange()
bool GetCenterHorizontal()
double GetPrintRatioY()
bool GetCenterVertical()
double GetTimeRangeEnd()
TTimeRange GetTimeRange()
TTimeScale GetTimeScale()
double GetPrintRatioX()
double GetTimeRangeStart()
Definition EDP.RecordWrappers.h:93
TPrintJobKind GetPrintJobKind()
Definition EDP.RecordWrappers.h:140
double PrintScale
Definition EDP.RecordWrappers.h:143
double OverallScaleX
Definition EDP.RecordWrappers.h:141
int MinY
Definition EDP.RecordWrappers.h:147
double OverallScaleY
Definition EDP.RecordWrappers.h:142
int MinX
Definition EDP.RecordWrappers.h:146
int TileY
Definition EDP.RecordWrappers.h:145
int MaxY
Definition EDP.RecordWrappers.h:149
int MaxX
Definition EDP.RecordWrappers.h:148
int TileX
Definition EDP.RecordWrappers.h:144
Definition EDP.RecordWrappers.h:172
int PixelsPerInchY
Definition EDP.RecordWrappers.h:191
bool VectorDevice
Definition EDP.RecordWrappers.h:179
int Mils_MarginLeft
Definition EDP.RecordWrappers.h:180
int Pixel_PageWidth
Definition EDP.RecordWrappers.h:183
int Mils_PrintingHeight
Definition EDP.RecordWrappers.h:174
int Mils_PageWidth
Definition EDP.RecordWrappers.h:188
int Pixel_PrintingHeight
Definition EDP.RecordWrappers.h:176
int OverlapHorizontal
Definition EDP.RecordWrappers.h:177
int Pixel_MarginLeft
Definition EDP.RecordWrappers.h:185
double FramesPerSecond
Definition EDP.RecordWrappers.h:192
int Pixel_MarginBottom
Definition EDP.RecordWrappers.h:186
int Mils_PageHeight
Definition EDP.RecordWrappers.h:189
bool FitPrintSizeToDoc
Definition EDP.RecordWrappers.h:187
int Pixel_PageHeight
Definition EDP.RecordWrappers.h:184
int PixelsPerInchX
Definition EDP.RecordWrappers.h:190
int Mils_MarginBottom
Definition EDP.RecordWrappers.h:181
int OverlapVertical
Definition EDP.RecordWrappers.h:178
long ReferenceDC
Definition EDP.RecordWrappers.h:182
int Mils_PrintingWidth
Definition EDP.RecordWrappers.h:173
int Pixel_PrintingWidth
Definition EDP.RecordWrappers.h:175
Definition EDP.RecordWrappers.h:215
bool SkipColorCheck
Definition EDP.RecordWrappers.h:234
bool CenterVertical
Definition EDP.RecordWrappers.h:217
int BottomOffset
Definition EDP.RecordWrappers.h:224
int PaperWidth
Definition EDP.RecordWrappers.h:228
TPrintScaleMode PrintScaleMode
Definition EDP.RecordWrappers.h:221
double PrintScale
Definition EDP.RecordWrappers.h:218
int LeftOffset
Definition EDP.RecordWrappers.h:223
int MediaType
Definition EDP.RecordWrappers.h:232
int PaperLength
Definition EDP.RecordWrappers.h:227
int Scale
Definition EDP.RecordWrappers.h:230
TPrintKind PrintKind
Definition EDP.RecordWrappers.h:222
int PaperIndex
Definition EDP.RecordWrappers.h:235
bool CenterHorizontal
Definition EDP.RecordWrappers.h:216
int PaperSource
Definition EDP.RecordWrappers.h:229
int DitherType
Definition EDP.RecordWrappers.h:233
int Orientation
Definition EDP.RecordWrappers.h:226
double XCorrection
Definition EDP.RecordWrappers.h:219
double YCorrection
Definition EDP.RecordWrappers.h:220
bool PaperIndexUnknown
Definition EDP.RecordWrappers.h:236
int PrintQuality
Definition EDP.RecordWrappers.h:231
int BorderSize
Definition EDP.RecordWrappers.h:225
Definition EDP.RecordWrappers.h:294
bool CenterVertical
Definition EDP.RecordWrappers.h:307
int PagesWide
Definition EDP.RecordWrappers.h:313
double PrintRatioX
Definition EDP.RecordWrappers.h:299
double TimeRangeEnd
Definition EDP.RecordWrappers.h:312
bool FitToPage
Definition EDP.RecordWrappers.h:305
bool CenterHorizontal
Definition EDP.RecordWrappers.h:306
long PrinterDC
Definition EDP.RecordWrappers.h:303
TTimeScale TimeScale
Definition EDP.RecordWrappers.h:310
double PrintRatioY
Definition EDP.RecordWrappers.h:300
int PrintPageY
Definition EDP.RecordWrappers.h:302
int HorizontalMargin
Definition EDP.RecordWrappers.h:297
TSignalRange SignalRange
Definition EDP.RecordWrappers.h:308
TTimeRange TimeRange
Definition EDP.RecordWrappers.h:309
bool UseColor
Definition EDP.RecordWrappers.h:304
double TimeRangeStart
Definition EDP.RecordWrappers.h:311
int PrintPageX
Definition EDP.RecordWrappers.h:301
int PageHeight
Definition EDP.RecordWrappers.h:296
int VerticalMargin
Definition EDP.RecordWrappers.h:298
int PageWidth
Definition EDP.RecordWrappers.h:295
Definition EDP.RecordWrappers.h:259
bool AllowPrintCurrent
Definition EDP.RecordWrappers.h:271
int Collate
Definition EDP.RecordWrappers.h:263
int Copies
Definition EDP.RecordWrappers.h:260
int MaxPage
Definition EDP.RecordWrappers.h:269
int TrueTypeOptions
Definition EDP.RecordWrappers.h:262
int PrintRangeLast
Definition EDP.RecordWrappers.h:266
bool AllowPrintRange
Definition EDP.RecordWrappers.h:270
TPrintJobKind PrintJobKind
Definition EDP.RecordWrappers.h:267
int PrintRangeFirst
Definition EDP.RecordWrappers.h:265
TPrintRange PrintRange
Definition EDP.RecordWrappers.h:264
TPrintWhat PrintWhat
Definition EDP.RecordWrappers.h:268
int Duplex
Definition EDP.RecordWrappers.h:261