summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/cmprofileschema.cpp
blob: 5f74fa512ded1797d66273d0a8dd98be5d6d26a3 (plain)
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
/*++

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:

   cmprofileschema.cpp

Abstract:

   PageSourceColorProfile PrintSchema implementation. This implements the
   features, options and enumerations that describe the PrintSchema
   PageSourceColorProfile feature.

--*/

#include "precomp.h"
#include "globals.h"
#include "privatedefs.h"
#include "cmprofileschema.h"

LPCWSTR XDPrintSchema::PageSourceColorProfile::PROFILE_FEATURE = L"PageSourceColorProfile";

LPCWSTR XDPrintSchema::PageSourceColorProfile::PROFILE_OPTIONS[] = {
    L"RGB",
    L"CMYK"
};

LPCWSTR XDPrintSchema::PageSourceColorProfile::PROFILE_URI_PROP = L"SourceColorProfileURI";
LPCWSTR XDPrintSchema::PageSourceColorProfile::PROFILE_URI_REF = L"PageSourceColorProfileURI";

PRIVATE_DEF_STRINGS XDPrintSchema::PageSourceColorProfile::PROFILE_PARAM_DEF =  {
    "PageSourceColorProfileURI",
    NULL,
    "xdCMYKPrinter.icc",
    0,
    65536,
    "characters"
};