blob: 89a6e6429bc20006c8f1a75688a040797c091294 [file] [log] [blame]
[email protected]c48bee22011-03-29 02:36:261// 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
3// found in the LICENSE file.
4
5#ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
6#define PRINTING_PRINT_JOB_CONSTANTS_H_
7
8namespace printing {
9
[email protected]718af822011-08-12 22:11:3310extern const char kIsFirstRequest[];
[email protected]a8851352011-07-13 20:16:2511extern const char kPreviewRequestID[];
[email protected]b579afd2011-07-13 00:01:2712extern const char kSettingCloudPrintId[];
[email protected]c97e5e82011-04-05 18:50:2313extern const char kSettingCollate[];
[email protected]c48bee22011-03-29 02:36:2614extern const char kSettingColor[];
[email protected]c97e5e82011-04-05 18:50:2315extern const char kSettingCopies[];
[email protected]987e51f92011-05-04 21:10:1516extern const char kSettingDeviceName[];
[email protected]826e63a162011-04-20 18:00:4517extern const char kSettingDuplexMode[];
[email protected]55b23a02011-08-17 23:09:3618extern const char kSettingHeaderFooterEnabled[];
19extern const char kSettingHeaderFooterFontFamilyName[];
20extern const char kSettingHeaderFooterFontName[];
21extern const int kSettingHeaderFooterFontSize;
22extern const float kSettingHeaderFooterHorizontalRegions;
23extern const float kSettingHeaderFooterInterstice;
24extern const char kSettingHeaderFooterDate[];
25extern const char kSettingHeaderFooterTitle[];
26extern const char kSettingHeaderFooterURL[];
[email protected]c48bee22011-03-29 02:36:2627extern const char kSettingLandscape[];
[email protected]06cb23882011-04-23 01:58:2228extern const char kSettingPageRange[];
29extern const char kSettingPageRangeFrom[];
30extern const char kSettingPageRangeTo[];
[email protected]f803c932011-03-30 16:40:1231extern const char kSettingPrinterName[];
[email protected]b73bb80b2011-04-20 01:58:3932extern const char kSettingPrintToPDF[];
[email protected]c48bee22011-03-29 02:36:2633
[email protected]fd0b503402011-07-26 09:01:3334extern const int FIRST_PAGE_INDEX;
35extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
36extern const int INVALID_PAGE_INDEX;
37
[email protected]a44b0c142011-04-26 15:46:1038// Print job duplex mode values.
39enum DuplexMode {
40 SIMPLEX,
41 LONG_EDGE,
42 SHORT_EDGE,
43};
44
[email protected]55b23a02011-08-17 23:09:3645// Specifies the horizontal alignment of the headers and footers.
46enum HorizontalHeaderFooterPosition {
47 LEFT,
48 CENTER,
49 RIGHT
50};
51
52// Specifies the vertical alignment of the Headers and Footers.
53enum VerticalHeaderFooterPosition {
54 TOP,
55 BOTTOM
56};
57
[email protected]c48bee22011-03-29 02:36:2658} // namespace printing
59
60#endif // PRINTING_PRINT_JOB_CONSTANTS_H_