Debian Codegraph @

texmf-dist/source/latex/pax/src/Constants.java

raw
1 /* Constants.java
2 Copyright (C) 2006-2008, 2011, 2012 Heiko Oberdiek
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 MA 02110-1301 USA
18
19 This file is part of PDFAnnotExtractor. See README.
20 */
21 package pax;
22
23 public interface Constants {
24
25 public String PAX_VERSION = "0.1l";
26
27 public String ENTRY_BEG = "\\[";
28 public String ENTRY_END = "\\\\\n";
29 public String CMD_BEG = "{";
30 public String CMD_END = "}";
31 public String ARG_BEG = "{";
32 public String ARG_END = "}";
33 public String KVS_BEG = "{";
34 public String KVS_END = "\n}";
35 public String KVS_EMPTY = "{}";
36 public String KV_BEG = "\n ";
37 public String KV_END = ",";
38 public String KEY_BEG = "";
39 public String KEY_END = "";
40 public String VALUE_BEG = "={";
41 public String VALUE_END = "}";
42 public String HEX_STR_BEG = "\\<";
43 public String HEX_STR_END = "\\>";
44
45 public String CMD_ANNOT = "annot";
46 public String CMD_BASEURL = "baseurl";
47 public String CMD_DEST = "dest";
48 public String CMD_FILE = "file";
49 public String CMD_INFO = "info";
50 public String CMD_PAGENUM = "pagenum";
51 public String CMD_PAGE = "page";
52 public String CMD_PAX = "pax";
53
54 // cmd file
55 public String KEY_SIZE = "Size";
56 public String KEY_DATE = "Date";
57
58 // cmd info
59 public String KEY_AUTHOR = "Author";
60 public String KEY_CREATOR = "Creator";
61 public String KEY_KEYWORDS = "Keywords";
62 public String KEY_PRODUCER = "Producer";
63 public String KEY_SUBJECT = "Subject";
64 public String KEY_TITLE = "Title";
65
66 // cmd page
67 public String KEY_ROTATE = "Rotate";
68 public String KEY_MEDIA_BOX = "MediaBox";
69 public String KEY_CROP_BOX = "CropBox";
70 public String KEY_BLEED_BOX = "BleedBox";
71 public String KEY_TRIM_BOX = "TrimBox";
72 public String KEY_ART_BOX = "ArtBox";
73
74 // cmd annot attributes
75 public String KEY_C = "C";
76 public String KEY_BORDER = "Border";
77 public String KEY_BS = "BS";
78 public String KEY_H = "H";
79
80 // cmd annot/link/URI
81 public String KEY_URI = "URI";
82 public String KEY_IS_MAP = "IsMap";
83
84
85 // cmd annot/link/GoToR
86 public String KEY_FILE = "File";
87 public String KEY_DEST_NAME = "DestName";
88 public String KEY_DEST_PAGE = "DestPage";
89 public String KEY_DEST_VIEW = "DestView";
90
91 // cmd annot/link/GoTo
92 public String KEY_DEST_RECT = "Rect";
93 public String KEY_DEST_X = "DestX";
94 public String KEY_DEST_Y = "DestY";
95 public String KEY_DEST_ZOOM = "DestZoom";
96 public String KEY_DEST_LABEL = "DestLabel";
97
98 // cmd annot/link/Named
99 public String KEY_NAME = "Name";
100
101 // baseurl
102 public String PDF_URI = "URI";
103 public String PDF_BASE = "Base";
104
105 // annotations
106 public String PDF_ANNOT = "Annot";
107 public String PDF_RECT = "Rect";
108 public String PDF_LINK = "Link";
109 public String PDF_A = "A";
110 public String PDF_C = "C";
111 public String PDF_BORDER = "Border";
112 public String PDF_BS = "BS";
113 public String PDF_H = "H";
114 public String PDF_GOTO = "GoTo";
115 public String PDF_DEST = "Dest";
116
117 // destination views
118 public String PDF_XYZ = "XYZ";
119 public String PDF_FIT = "Fit";
120 public String PDF_FITH = "FitH";
121 public String PDF_FITV = "FitV";
122 public String PDF_FITR = "FitR";
123 public String PDF_FITB = "FitB";
124 public String PDF_FITBH = "FitBH";
125 public String PDF_FITBV = "FitBV";
126
127 public String PDF_NULL = "null";
128
129 public String PDF_S = "S";
130 public String PDF_NAMED = "Named";
131 public String PDF_N = "N";
132 }