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
|
/*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
pgscschema.h
Abstract:
PageScaling PrintSchema definition. This defines the features, options
and enumerations that describe the PrintSchema PageScaling feature within
a XDPrintSchema::PageScaling namespace.
--*/
#pragma once
#include "schema.h"
namespace XDPrintSchema
{
//
// PageScaling elements described as Printschema keywords
//
namespace PageScaling
{
//
// The feature name
//
extern LPCWSTR SCALE_FEATURE;
//
// Option names
//
enum EScaleOption
{
Custom = 0, EScaleOptionMin = 0,
CustomSquare,
FitBleedToImageable,
FitContentToImageable,
FitMediaToImageable,
FitMediaToMedia,
None,
EScaleOptionMax
};
extern LPCWSTR SCALE_OPTIONS[EScaleOptionMax];
//
// Custom scaling properties
//
enum ECustomScaleProps
{
CstOffsetWidth = 0, ECustomScalePropsMin = 0,
CstOffsetHeight,
CstScaleWidth,
CstScaleHeight,
ECustomScalePropsMax
};
extern LPCWSTR CUST_SCALE_PROPS[ECustomScalePropsMax];
//
// Custom square scaling properties
//
enum ECustomSquareScaleProps
{
CstSqOffsetWidth = 0, ECustomSquareScalePropsMin = 0,
CstSqOffsetHeight,
CstSqScale,
ECustomSquareScalePropsMax
};
extern LPCWSTR CUST_SQR_SCALE_PROPS[ECustomSquareScalePropsMax];
namespace OffsetAlignment
{
//
// The feature name
//
extern LPCWSTR SCALE_OFFSET_FEATURE;
//
// Option names
//
enum EScaleOffsetOption
{
BottomCenter = 0, EScaleOffsetOptionMin = 0,
BottomLeft,
BottomRight,
Center,
LeftCenter,
RightCenter,
TopCenter,
TopLeft,
TopRight,
EScaleOffsetOptionMax
};
extern LPCWSTR SCALE_OFFSET_OPTIONS[EScaleOffsetOptionMax];
}
}
}
|