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 kSettingHeaderFooterEnabled[]; |
| 18 extern const char kSettingHeaderFooterFontName[]; |
| 19 extern const int kSettingHeaderFooterFontSize; |
| 20 extern const float kSettingHeaderFooterHorizontalRegions; |
| 21 extern const float kSettingHeaderFooterInterstice; |
| 22 extern const char kSettingHeaderFooterDate[]; |
| 23 extern const char kSettingHeaderFooterTitle[]; |
| 24 extern const char kSettingHeaderFooterURL[]; |
17 extern const char kSettingLandscape[]; | 25 extern const char kSettingLandscape[]; |
18 extern const char kSettingPageRange[]; | 26 extern const char kSettingPageRange[]; |
19 extern const char kSettingPageRangeFrom[]; | 27 extern const char kSettingPageRangeFrom[]; |
20 extern const char kSettingPageRangeTo[]; | 28 extern const char kSettingPageRangeTo[]; |
21 extern const char kSettingPrinterName[]; | 29 extern const char kSettingPrinterName[]; |
22 extern const char kSettingPrintToPDF[]; | 30 extern const char kSettingPrintToPDF[]; |
23 | 31 |
24 extern const int FIRST_PAGE_INDEX; | 32 extern const int FIRST_PAGE_INDEX; |
25 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 33 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
26 extern const int INVALID_PAGE_INDEX; | 34 extern const int INVALID_PAGE_INDEX; |
27 | 35 |
28 // Print job duplex mode values. | 36 // Print job duplex mode values. |
29 enum DuplexMode { | 37 enum DuplexMode { |
30 SIMPLEX, | 38 SIMPLEX, |
31 LONG_EDGE, | 39 LONG_EDGE, |
32 SHORT_EDGE, | 40 SHORT_EDGE, |
33 }; | 41 }; |
34 | 42 |
| 43 // Specifies the horizontal alignment of the headers and footers. |
| 44 enum HorizontalHeaderFooterPosition { |
| 45 LEFT, |
| 46 CENTER, |
| 47 RIGHT |
| 48 }; |
| 49 |
| 50 // Specifies the vertical alignment of the Headers and Footers. |
| 51 enum VerticalHeaderFooterPosition { |
| 52 TOP, |
| 53 BOTTOM |
| 54 }; |
| 55 |
35 } // namespace printing | 56 } // namespace printing |
36 | 57 |
37 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 58 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |