summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/porientschema.h
blob: 2fdca11c51e184853725b6af59a0e4df347e687e (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
50
51
52
53
54
55
/*++

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:

   porientschema.h

Abstract:

   PageOrientation PrintSchema definition. This defines the features, options
   and enumerations that describe the PrintSchema PageOrientation feature within
   a XDPrintSchema::PageOrientation namespace.

--*/

#pragma once

#include "schema.h"

namespace XDPrintSchema
{
    //
    // PageOrientation elements described as Printschema keywords
    //
    namespace PageOrientation
    {
        //
        // The feature name
        //
        extern LPCWSTR ORIENTATION_FEATURE;

        //
        // Paper orientation options
        //
        enum EOrientationOption
        {
            Landscape = 0, EOrientationOptionMin = 0,
            Portrait,
            ReverseLandscape,
            ReversePortrait,
            EOrientationOptionMax
        };

        extern LPCWSTR ORIENTATION_OPTIONS[EOrientationOptionMax];
    }
}