#include "camtypes.h"#include "princomp.h"#include "colourix.h"#include "cxftags.h"#include "printctl.h"#include "saveeps.h"Go to the source code of this file.
Defines | |
| #define | new CAM_DEBUG_NEW |
| #define | PC_SECTION_VERSION 1 |
| #define | OutputEnum2(FuncName, A, B) |
| #define | OutputEnum3(FuncName, A, B, C) |
| #define | OutputEnum4(FuncName, A, B, C, D) |
| #define | OutputValueU(FuncName) if (ok) ok = Rec.WriteUINT32((UINT32)pPrCtrl->Get##FuncName()); |
| #define | OutputValueS(FuncName) if (ok) ok = Rec.WriteINT32((INT32)pPrCtrl->Get##FuncName()); |
| #define | OutputValue16(FuncName) if (ok) ok = Rec.WriteUINT16((UINT16)pPrCtrl->Get##FuncName()); |
| #define | InputEnum2(FuncName, A, B) |
| #define | InputEnum3(FuncName, A, B, C) |
| #define | InputEnum4(FuncName, A, B, C, D) |
| #define | InputValueU(FuncName) |
| #define | InputValueS(FuncName) |
| #define | InputValue16(FuncName) |
Functions | |
| DECLARE_SOURCE ("$Revision: 1328 $") | |
Variables | |
| static TCHAR * | PCTokenStr [] |
|
|
Value: if (ok) \ { \ BYTE Value; \ ok = Rec->ReadBYTE(&Value); \ if (ok) \ { \ switch(Value) \ { \ case 1: pPrCtrl->Set##FuncName(A); break; \ case 2: pPrCtrl->Set##FuncName(B); break; \ default: ERROR3("Bad enum"); break; \ } \ } \ } |
|
|
Value: if (ok) \ { \ BYTE Value; \ ok = Rec->ReadBYTE(&Value); \ if (ok) \ { \ switch(Value) \ { \ case 1: pPrCtrl->Set##FuncName(A); break; \ case 2: pPrCtrl->Set##FuncName(B); break; \ case 3: pPrCtrl->Set##FuncName(C); break; \ default: ERROR3("Bad enum"); break; \ } \ } \ } |
|
|
Value: if (ok) \ { \ BYTE Value; \ ok = Rec->ReadBYTE(&Value); \ if (ok) \ { \ switch(Value) \ { \ case 1: pPrCtrl->Set##FuncName(A); break; \ case 2: pPrCtrl->Set##FuncName(B); break; \ case 3: pPrCtrl->Set##FuncName(C); break; \ case 4: pPrCtrl->Set##FuncName(D); break; \ default: ERROR3("Bad enum"); break; \ } \ } \ } |
|
|
Value: |
|
|
Value: if (ok) \ { \ INT32 Value; \ ok = Rec->ReadINT32(&Value); \ if (ok) pPrCtrl->Set##FuncName(Value); \ } \ |
|
|
Value: if (ok) \ { \ UINT32 Value; \ ok = Rec->ReadUINT32(&Value); \ if (ok) pPrCtrl->Set##FuncName(Value); \ } \ |
|
|
Definition at line 125 of file princomp.cpp. |
|
|
Value: if (ok) \ { \ switch(pPrCtrl->Get##FuncName()) \ { \ case A: Value=1; break; \ case B: Value=2; break; \ default: Value=1; ERROR3("Bad enum"); break; \ } \ ok = Rec.WriteBYTE((BYTE)Value); \ } |
|
|
Value: if (ok) \ { \ switch(pPrCtrl->Get##FuncName()) \ { \ case A: Value=1; break; \ case B: Value=2; break; \ case C: Value=3; break; \ default: Value=1; ERROR3("Bad enum"); break; \ } \ ok = Rec.WriteBYTE((BYTE)Value); \ } |
|
|
Value: if (ok) \ { \ switch(pPrCtrl->Get##FuncName()) \ { \ case A: Value=1; break; \ case B: Value=2; break; \ case C: Value=3; break; \ case D: Value=4; break; \ default: Value=1; ERROR3("Bad enum"); break; \ } \ ok = Rec.WriteBYTE((BYTE)Value); \ } |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 282 of file princomp.cpp. |
|
|
|
|
|
Initial value:
{
_T("%%PrintControl"),
_T("%%+WholeSpread"),
_T("%%+Scale"),
_T("%%+Orientation"),
_T("%%+FitType"),
_T("%%+TopMargin"),
_T("%%+LeftMargin"),
_T("%%+Width"),
_T("%%+Height"),
_T("%%+Rows"),
_T("%%+Columns"),
_T("%%+Gutter"),
_T("%%+Layers"),
_T("%%+PSLevel"),
_T("%%+PrintMethod"),
_T("%%+BitmapResMethod"),
_T("%%+DotsPerInch"),
_T("%%+Collated"),
_T("%%+NumCopies"),
_T("%%+PrintToFile"),
_T("%%+ObjPrintRange"),
_T("%%+DPSPrintRange"),
}
Definition at line 284 of file princomp.cpp. |
1.4.4