home *** CD-ROM | disk | FTP | other *** search
- // PreviewPrint.odl : type library source for PreviewPrint.exe
-
- // This file will be processed by the MIDL compiler to produce the
- // type library (PreviewPrint.tlb).
-
- [ uuid(D5E5B1A7-68E7-11D2-BEF9-0080C770FCBD), version(1.0) ]
- library PreviewPrint
- {
- importlib("stdole32.tlb");
-
-
- // Primary dispatch interface for CPreviewPrintDoc
-
- [ uuid(D5E5B1A8-68E7-11D2-BEF9-0080C770FCBD) ]
- dispinterface IPreviewPrint
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CPreviewPrintDoc)
- [id(2)] short Orientation;
- [id(3)] short PageWidth;
- [id(4)] short PageHeight;
- [id(5)] long hwndOwner;
- [id(6)] short PreviewPrintState;
- [id(1)] short StartPage;
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CPreviewPrintDoc)
- [id(7)] boolean BeginDoc();
- [id(8)] boolean EndDoc();
- [id(9)] boolean GetPos(short* x, short* y);
- [id(10)] void MoveTo(short x, short y);
- [id(11)] boolean LineTo(short x, short y);
- [id(12)] boolean SetFont(BSTR lpszFaceName, short nSize, short nOptions, short nAngle);
- [id(13)] boolean TextOut(short x, short y, BSTR szText);
- [id(14)] short SetTextAlign(short nOptions);
- [id(15)] short GetTextAlign();
- [id(16)] long SetBkColor(long crColor);
- [id(17)] long GetBkColor();
- [id(18)] long SetTextColor(long crColor);
- [id(19)] long GetTextColor();
- [id(20)] boolean NewPage();
- [id(21)] void KillDoc();
- [id(22)] boolean GetTextExtent(BSTR lpszText, short* nWidth, short* nHeight);
- [id(23)] boolean SetLineStyle(short nStyle, short nWidth, long crColor);
- [id(24)] void SetTitle(BSTR lpszApp, BSTR lpszDoc);
- [id(25)] boolean ShowPreview();
- [id(26)] boolean ShowPrintSetup();
- [id(27)] boolean TextOutClip(short x, short y, BSTR szText, short nClipLeft, short nClipTop, short nClipRight, short nClipBottom);
- //}}AFX_ODL_METHOD
-
- };
-
- // Class information for CPreviewPrintDoc
-
- [ uuid(D5E5B1A6-68E7-11D2-BEF9-0080C770FCBD) ]
- coclass Document
- {
- [default] dispinterface IPreviewPrint;
- };
-
- //{{AFX_APPEND_ODL}}
- //}}AFX_APPEND_ODL}}
- };
-