zhao
2021-07-07 2fdf959ac739edd6de84aa8053b8b9683dce8e8b
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/* ====================================================================
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for Additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
 
       http://www.apache.org/licenses/LICENSE-2.0
 
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
==================================================================== */
 
namespace HH.WMS.Utils.NPOI.SS.UserModel
{
    /// <summary>
    /// Used by HSSFPrintSetup.CellError property
    /// </summary>
    public enum DisplayCellErrorType : short
    {
        ErrorDisplayOnSheet = 0,
        ErrorAsBlank = 1,
        ErrorAsDashes = 2,
        ErrorAsNA = 3
    }
 
 
 
    public interface IPrintSetup
    {
 
        /**    
         * Returns the paper size.    
         * @return paper size    
         */
        short PaperSize { get; set; }
 
        /**    
         * Returns the scale.    
         * @return scale    
         */
        short Scale{ get; set; }
 
        /**    
         * Returns the page start.    
         * @return page start    
         */
        short PageStart{ get; set; }
 
        /**    
         * Returns the number of pages wide to fit sheet in.    
         * @return number of pages wide to fit sheet in    
         */
        short FitWidth{ get; set; }
 
        /**    
         * Returns the number of pages high to fit the sheet in.    
         * @return number of pages high to fit the sheet in    
         */
        short FitHeight{ get; set; }
 
        /**    
         * Returns the left to right print order.    
         * @return left to right print order    
         */
        bool LeftToRight{ get; set; }
 
        /**    
         * Returns the landscape mode.    
         * @return landscape mode    
         */
        bool Landscape{ get; set; }
 
        /**    
         * Returns the valid Settings.    
         * @return valid Settings    
         */
        bool ValidSettings{ get; set; }
 
        /**    
         * Returns the black and white Setting.    
         * @return black and white Setting    
         */
        bool NoColor{ get; set; }
 
        /**    
         * Returns the draft mode.    
         * @return draft mode    
         */
        bool Draft{ get; set; }
 
        /**    
         * Returns the print notes.    
         * @return print notes    
         */
        bool Notes{ get; set; }
 
        /**    
         * Returns the no orientation.    
         * @return no orientation    
         */
        bool NoOrientation{ get; set; }
 
        /**    
         * Returns the use page numbers.    
         * @return use page numbers    
         */
        bool UsePage{ get; set; }
 
        /**    
         * Returns the horizontal resolution.    
         * @return horizontal resolution    
         */
        short HResolution{ get; set; }
 
        /**    
         * Returns the vertical resolution.    
         * @return vertical resolution    
         */
        short VResolution{ get; set; }
 
        /**    
         * Returns the header margin.    
         * @return header margin    
         */
        double HeaderMargin{ get; set; }
 
        /**    
         * Returns the footer margin.    
         * @return footer margin    
         */
        double FooterMargin{ get; set; }
 
        /**    
         * Returns the number of copies.    
         * @return number of copies    
         */
        short Copies{ get; set; }
 
        bool EndNote { get; set; }
 
        DisplayCellErrorType CellError { get; set; }
    }
}