1:
37:
38: package ;
39:
40: import ;
41:
42:
56: public class MediaSizeName extends Media
57: {
58: private static final long serialVersionUID = 2778798329756942747L;
59:
60:
63: public static final MediaSizeName ISO_A0 = new MediaSizeName(0);
64:
65:
68: public static final MediaSizeName ISO_A1 = new MediaSizeName(1);
69:
70:
73: public static final MediaSizeName ISO_A2 = new MediaSizeName(2);
74:
75:
78: public static final MediaSizeName ISO_A3 = new MediaSizeName(3);
79:
80:
83: public static final MediaSizeName ISO_A4 = new MediaSizeName(4);
84:
85:
88: public static final MediaSizeName ISO_A5 = new MediaSizeName(5);
89:
90:
93: public static final MediaSizeName ISO_A6 = new MediaSizeName(6);
94:
95:
98: public static final MediaSizeName ISO_A7 = new MediaSizeName(7);
99:
100:
103: public static final MediaSizeName ISO_A8 = new MediaSizeName(8);
104:
105:
108: public static final MediaSizeName ISO_A9 = new MediaSizeName(9);
109:
110:
113: public static final MediaSizeName ISO_A10 = new MediaSizeName(10);
114:
115:
118: public static final MediaSizeName ISO_B0 = new MediaSizeName(11);
119:
120:
123: public static final MediaSizeName ISO_B1 = new MediaSizeName(12);
124:
125:
128: public static final MediaSizeName ISO_B2 = new MediaSizeName(13);
129:
130:
133: public static final MediaSizeName ISO_B3 = new MediaSizeName(14);
134:
135:
138: public static final MediaSizeName ISO_B4 = new MediaSizeName(15);
139:
140:
143: public static final MediaSizeName ISO_B5 = new MediaSizeName(16);
144:
145:
148: public static final MediaSizeName ISO_B6 = new MediaSizeName(17);
149:
150:
153: public static final MediaSizeName ISO_B7 = new MediaSizeName(18);
154:
155:
158: public static final MediaSizeName ISO_B8 = new MediaSizeName(19);
159:
160:
163: public static final MediaSizeName ISO_B9 = new MediaSizeName(20);
164:
165:
168: public static final MediaSizeName ISO_B10 = new MediaSizeName(21);
169:
170:
173: public static final MediaSizeName JIS_B0 = new MediaSizeName(22);
174:
175:
178: public static final MediaSizeName JIS_B1 = new MediaSizeName(23);
179:
180:
183: public static final MediaSizeName JIS_B2 = new MediaSizeName(24);
184:
185:
188: public static final MediaSizeName JIS_B3 = new MediaSizeName(25);
189:
190:
193: public static final MediaSizeName JIS_B4 = new MediaSizeName(26);
194:
195:
198: public static final MediaSizeName JIS_B5 = new MediaSizeName(27);
199:
200:
203: public static final MediaSizeName JIS_B6 = new MediaSizeName(28);
204:
205:
208: public static final MediaSizeName JIS_B7 = new MediaSizeName(29);
209:
210:
213: public static final MediaSizeName JIS_B8 = new MediaSizeName(30);
214:
215:
218: public static final MediaSizeName JIS_B9 = new MediaSizeName(31);
219:
220:
223: public static final MediaSizeName JIS_B10 = new MediaSizeName(32);
224:
225:
228: public static final MediaSizeName ISO_C0 = new MediaSizeName(33);
229:
230:
233: public static final MediaSizeName ISO_C1 = new MediaSizeName(34);
234:
235:
238: public static final MediaSizeName ISO_C2 = new MediaSizeName(35);
239:
240:
243: public static final MediaSizeName ISO_C3 = new MediaSizeName(36);
244:
245:
248: public static final MediaSizeName ISO_C4 = new MediaSizeName(37);
249:
250:
253: public static final MediaSizeName ISO_C5 = new MediaSizeName(38);
254:
255:
258: public static final MediaSizeName ISO_C6 = new MediaSizeName(39);
259:
260:
263: public static final MediaSizeName NA_LETTER = new MediaSizeName(40);
264:
265:
268: public static final MediaSizeName NA_LEGAL = new MediaSizeName(41);
269:
270:
273: public static final MediaSizeName EXECUTIVE = new MediaSizeName(42);
274:
275:
278: public static final MediaSizeName LEDGER = new MediaSizeName(43);
279:
280:
283: public static final MediaSizeName TABLOID = new MediaSizeName(44);
284:
285:
288: public static final MediaSizeName INVOICE = new MediaSizeName(45);
289:
290:
293: public static final MediaSizeName FOLIO = new MediaSizeName(46);
294:
295:
298: public static final MediaSizeName QUARTO = new MediaSizeName(47);
299:
300:
303: public static final MediaSizeName JAPANESE_POSTCARD = new MediaSizeName(48);
304:
305:
308: public static final MediaSizeName JAPANESE_DOUBLE_POSTCARD =
309: new MediaSizeName(49);
310:
311:
314: public static final MediaSizeName A = new MediaSizeName(50);
315:
316:
319: public static final MediaSizeName B = new MediaSizeName(51);
320:
321:
324: public static final MediaSizeName C = new MediaSizeName(52);
325:
326:
329: public static final MediaSizeName D = new MediaSizeName(53);
330:
331:
334: public static final MediaSizeName E = new MediaSizeName(54);
335:
336:
339: public static final MediaSizeName ISO_DESIGNATED_LONG =
340: new MediaSizeName(55);
341:
342:
345: public static final MediaSizeName ITALY_ENVELOPE = new MediaSizeName(56);
346:
347:
350: public static final MediaSizeName MONARCH_ENVELOPE = new MediaSizeName(57);
351:
352:
355: public static final MediaSizeName PERSONAL_ENVELOPE = new MediaSizeName(58);
356:
357:
361: public static final MediaSizeName NA_NUMBER_9_ENVELOPE =
362: new MediaSizeName(59);
363:
364:
368: public static final MediaSizeName NA_NUMBER_10_ENVELOPE =
369: new MediaSizeName(60);
370:
371:
375: public static final MediaSizeName NA_NUMBER_11_ENVELOPE =
376: new MediaSizeName(61);
377:
378:
382: public static final MediaSizeName NA_NUMBER_12_ENVELOPE =
383: new MediaSizeName(62);
384:
385:
389: public static final MediaSizeName NA_NUMBER_14_ENVELOPE =
390: new MediaSizeName(63);
391:
392:
395: public static final MediaSizeName NA_6X9_ENVELOPE = new MediaSizeName(64);
396:
397:
400: public static final MediaSizeName NA_7X9_ENVELOPE = new MediaSizeName(65);
401:
402:
405: public static final MediaSizeName NA_9X11_ENVELOPE = new MediaSizeName(66);
406:
407:
410: public static final MediaSizeName NA_9X12_ENVELOPE = new MediaSizeName(67);
411:
412:
415: public static final MediaSizeName NA_10X13_ENVELOPE = new MediaSizeName(68);
416:
417:
420: public static final MediaSizeName NA_10X14_ENVELOPE = new MediaSizeName(69);
421:
422:
425: public static final MediaSizeName NA_10X15_ENVELOPE = new MediaSizeName(70);
426:
427:
430: public static final MediaSizeName NA_5X7 = new MediaSizeName(71);
431:
432:
435: public static final MediaSizeName NA_8X10 = new MediaSizeName(72);
436:
437: private static final String[] stringTable =
438: { "iso-a0", "iso-a1", "iso-a2", "iso-a3", "iso-a4", "iso-a5", "iso-a6",
439: "iso-a7", "iso-a8", "iso-a9", "iso-a10", "iso-b0", "iso-b1", "iso-b2",
440: "iso-b3", "iso-b4", "iso-b5", "iso-b6", "iso-b7", "iso-b8", "iso-b9",
441: "iso-b10", "jis-b0", "jis-b1", "jis-b2", "jis-b3", "jis-b4", "jis-b5",
442: "jis-b6", "jis-b7", "jis-b8", "jis-b9", "jis-b10", "iso-c0", "iso-c1",
443: "iso-c2", "iso-c3", "iso-c4", "iso-c5", "iso-c6", "na-letter",
444: "na-legal", "executive", "ledger", "tabloid", "invoice", "folio",
445: "quarto", "japanese-postcard", "oufuko-postcard", "a", "b", "c", "d",
446: "e", "iso-designated-long", "italian-envelope", "monarch-envelope",
447: "personal-envelope", "na-number-9-envelope", "na-number-10-envelope",
448: "na-number-11-envelope", "na-number-12-envelope",
449: "na-number-14-envelope", "na-6x9-envelope", "na-7x9-envelope",
450: "na-9x11-envelope", "na-9x12-envelope", "na-10x13-envelope",
451: "na-10x14-envelope", "na-10x15-envelope", "na-5x7", "na-8x10" };
452:
453: private static final MediaSizeName[] enumValueTable =
454: { ISO_A0, ISO_A1, ISO_A2, ISO_A3, ISO_A4, ISO_A5, ISO_A6, ISO_A7, ISO_A8,
455: ISO_A9, ISO_A10, ISO_B0, ISO_B1, ISO_B2, ISO_B3, ISO_B4, ISO_B5, ISO_B6,
456: ISO_B7, ISO_B8, ISO_B9, ISO_B10, JIS_B0, JIS_B1, JIS_B2, JIS_B3, JIS_B4,
457: JIS_B5, JIS_B6, JIS_B7, JIS_B8, JIS_B9, JIS_B10, ISO_C0, ISO_C1, ISO_C2,
458: ISO_C3, ISO_C4, ISO_C5, ISO_C6, NA_LETTER, NA_LEGAL, EXECUTIVE, LEDGER,
459: TABLOID, INVOICE, FOLIO, QUARTO, JAPANESE_POSTCARD,
460: JAPANESE_DOUBLE_POSTCARD, A, B, C, D, E, ISO_DESIGNATED_LONG,
461: ITALY_ENVELOPE, MONARCH_ENVELOPE, PERSONAL_ENVELOPE,
462: NA_NUMBER_9_ENVELOPE, NA_NUMBER_10_ENVELOPE, NA_NUMBER_11_ENVELOPE,
463: NA_NUMBER_12_ENVELOPE, NA_NUMBER_14_ENVELOPE, NA_6X9_ENVELOPE,
464: NA_7X9_ENVELOPE, NA_9X11_ENVELOPE, NA_9X12_ENVELOPE, NA_10X13_ENVELOPE,
465: NA_10X14_ENVELOPE, NA_10X15_ENVELOPE, NA_5X7, NA_8X10 };
466:
467:
472: protected MediaSizeName(int value)
473: {
474: super(value);
475: }
476:
477:
483: protected String[] getStringTable()
484: {
485: return stringTable;
486: }
487:
488:
493: protected EnumSyntax[] getEnumValueTable()
494: {
495: return enumValueTable;
496: }
497: }