OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ | 5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ |
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ | 6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ |
7 | 7 |
8 namespace printing { | 8 namespace printing { |
9 | 9 |
10 extern const char kPreviewRequestID[]; | 10 extern const char kPreviewRequestID[]; |
11 extern const char kSettingCloudPrintId[]; | 11 extern const char kSettingCloudPrintId[]; |
12 extern const char kSettingCollate[]; | 12 extern const char kSettingCollate[]; |
13 extern const char kSettingColor[]; | 13 extern const char kSettingColor[]; |
14 extern const char kSettingCopies[]; | 14 extern const char kSettingCopies[]; |
15 extern const char kSettingDeviceName[]; | 15 extern const char kSettingDeviceName[]; |
16 extern const char kSettingDuplexMode[]; | 16 extern const char kSettingDuplexMode[]; |
| 17 extern const char kSettingHeaderFooter[]; |
| 18 extern const char kSettingHeaderFooterFontName[]; |
| 19 extern const int kSettingHeaderFooterFontSize; |
| 20 extern const float kSettingHeaderFooterHorizontalRegions; |
| 21 extern const float kSettingHeaderFooterInterstice; |
| 22 extern const char kSettingHeaderFooterTitle[]; |
| 23 extern const char kSettingHeaderFooterURL[]; |
17 extern const char kSettingLandscape[]; | 24 extern const char kSettingLandscape[]; |
18 extern const char kSettingPageRange[]; | 25 extern const char kSettingPageRange[]; |
19 extern const char kSettingPageRangeFrom[]; | 26 extern const char kSettingPageRangeFrom[]; |
20 extern const char kSettingPageRangeTo[]; | 27 extern const char kSettingPageRangeTo[]; |
21 extern const char kSettingPrinterName[]; | 28 extern const char kSettingPrinterName[]; |
22 extern const char kSettingPrintToPDF[]; | 29 extern const char kSettingPrintToPDF[]; |
23 | 30 |
24 // Print job duplex mode values. | 31 // Print job duplex mode values. |
25 enum DuplexMode { | 32 enum DuplexMode { |
26 SIMPLEX, | 33 SIMPLEX, |
27 LONG_EDGE, | 34 LONG_EDGE, |
28 SHORT_EDGE, | 35 SHORT_EDGE, |
29 }; | 36 }; |
30 | 37 |
| 38 // Specifies the horizontal alignment of the headers and footers. |
| 39 enum HorizontalHeaderFooterPosition { |
| 40 LEFT, |
| 41 CENTER, |
| 42 RIGHT |
| 43 }; |
| 44 |
| 45 // Specifies the vertical alignment of the Headers and Footers. |
| 46 enum VerticalHeaderFooterPosition { |
| 47 TOP, |
| 48 BOTTOM |
| 49 }; |
| 50 |
31 } // namespace printing | 51 } // namespace printing |
32 | 52 |
33 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 53 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |