summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/pimagepthndlr.h
blob: 99d5025ede5b11f359468daf5b8da5b62f640a6f (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
/*++

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:

   pimagepthndlr.h

Abstract:

   This class is responsible for retrieving the PageImageableSize properties from a
   PrintCapabilities document.

--*/

#pragma once

#include "pchndlr.h"
#include "pimagedata.h"

class CPageImageablePCHandler : public CPCHandler
{
public:
    CPageImageablePCHandler(
        _In_ IXMLDOMDocument2* pPrintCapabilities
        );

    virtual ~CPageImageablePCHandler();

    HRESULT
    GetData(
        _Inout_ XDPrintSchema::PageImageableSize::PageImageableData* pPageImageableData
        );
};