summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/bkschema.h
blob: bcf68df2768afa0a671e60facfbaf359f7432431 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*++

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:

   bkschema.h

Abstract:

   Binding (booklet) PrintSchema definition. This defines the features,
   options and enumerations that describe the PrintSchema JobBindAllDocuments and
   DocumentBinding features within a XDPrintSchema::Binding namespace.

--*/

#pragma once

#include "schema.h"

namespace XDPrintSchema
{
    //
    // Binding elements described as Printschema keywords
    //
    namespace Binding
    {
        //
        // Job and Document share identical options so we define two
        // features within the Binding namespace.
        //
        enum EBinding
        {
            JobBindAllDocuments = 0, EBindingMin = 0,
            DocumentBinding,
            EBindingMax
        };

        extern LPCWSTR BIND_FEATURES[EBindingMax];

        //
        // Option names
        //
        enum EBindingOption
        {
            Bale = 0, EBindingOptionMin = 0,
            BindBottom,
            BindLeft,
            BindRight,
            BindTop,
            Booklet,
            EdgeStitchBottom,
            EdgeStitchLeft,
            EdgeStitchRight,
            EdgeStitchTop,
            Fold,
            JogOffset,
            Trim,
            None,
            EBindingOptionMax
        };

        extern LPCWSTR BIND_OPTIONS[EBindingOptionMax];

        extern LPCWSTR BIND_PROP;

        extern LPCWSTR BIND_PROP_REF_SUFFIX;
    }
}