summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/cmpthndlr.h
blob: 17faf30e5f3914a8fda26366aacce7c8d061b7d3 (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
/*++

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:

   cmpthndlr.h

Abstract:

   PageColorManagement PrintTicket handling definition. The
   PageColorManagement PT handler is used to extract booklet settings
   from a PrintTicket and populate the PageColorManagement data
   structure with the retrieved settings. The class also
   defines a method for setting the feature in the PrintTicket given the
   data structure.

--*/

#pragma once

#include "pthndlr.h"
#include "cmdata.h"

class CColorManagePTHandler : public CPTHandler
{
public:
    CColorManagePTHandler(
        _In_ IXMLDOMDocument2* pPrintTicket
        );

    virtual ~CColorManagePTHandler();

    HRESULT
    GetData(
        _Inout_ XDPrintSchema::PageColorManagement::ColorManagementData* pCmData
        );
};