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
|
/*++
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.cpp
Abstract:
PageScaling PrintSchema implementation. This implements the features,
options and enumerations that describe the PrintSchema PageScaling feature.
--*/
#include "precomp.h"
#include "pgscschema.h"
LPCWSTR XDPrintSchema::PageScaling::SCALE_FEATURE = L"PageScaling";
LPCWSTR XDPrintSchema::PageScaling::SCALE_OPTIONS[EScaleOptionMax] = {
L"Custom",
L"CustomSquare",
L"FitApplicationBleedSizeToPageImageableSize",
L"FitApplicationContentSizeToPageImageableSize",
L"FitApplicationMediaSizeToPageImageableSize",
L"FitApplicationMediaSizeToPageMediaSize",
L"None"
};
LPCWSTR XDPrintSchema::PageScaling::CUST_SCALE_PROPS[] = {
L"OffsetWidth",
L"OffsetHeight",
L"ScaleWidth",
L"ScaleHeight"
};
LPCWSTR XDPrintSchema::PageScaling::CUST_SQR_SCALE_PROPS[] = {
L"OffsetWidth",
L"OffsetHeight",
L"Scale"
};
LPCWSTR XDPrintSchema::PageScaling::OffsetAlignment::SCALE_OFFSET_FEATURE = L"ScaleOffsetAlignment";
LPCWSTR XDPrintSchema::PageScaling::OffsetAlignment::SCALE_OFFSET_OPTIONS[] = {
L"BottomCenter",
L"BottomLeft",
L"BottomRight",
L"Center",
L"LeftCenter",
L"RightCenter",
L"TopCenter",
L"TopLeft",
L"TopRight"
};
|