org.zefer.pd4ml
Class PD4Constants

java.lang.Object
  extended byorg.zefer.pd4ml.PD4Constants
Direct Known Subclasses:
PD4ML

public class PD4Constants
extends java.lang.Object


Field Summary
static java.awt.Dimension A0
          2384 x 3370 points
static java.awt.Dimension A1
          1684 x 2384 points
static java.awt.Dimension A10
          74 x 105 points
static java.awt.Dimension A2
          1190 x 1684 points
static java.awt.Dimension A3
          842 x 1190 points
static java.awt.Dimension A4
          595 x 842 points
static java.awt.Dimension A5
          421 x 595 points
static java.awt.Dimension A6
          297 x 421 points
static java.awt.Dimension A7
          210 x 297 points
static java.awt.Dimension A8
          148 x 210 points
static java.awt.Dimension A9
          105 x 148 points
static int AllowAssembly
          Document access permission (bit 11, value = 1024).
static int AllowContentExtraction
          Document access permission (bit 10, value = 512).
static int AllowCopy
          Document access permission (bit 5, value = 16).
static int AllowDegradedPrint
          Document access permission (bit 3, value = 4).
static int AllowModify
          Document access permission (bit 4, value = 8).
static int AllowPrint
          Document access permission (bit 12 + bit 3, value = 2052).
static java.awt.Dimension HALFLETTER
          396 x 612 points
static java.awt.Dimension ISOB0
          2836 x 4008 points
static java.awt.Dimension ISOB1
          2004 x 2836 points
static java.awt.Dimension ISOB2
          1418 x 2004 points
static java.awt.Dimension ISOB3
          1002 x 1418 points
static java.awt.Dimension ISOB4
          709 x 1002 points
static java.awt.Dimension ISOB5
          501 x 709 points
static java.awt.Dimension LEDGER
          1224 x 792 points
static java.awt.Dimension LEGAL
          612 x 1008 points
static java.awt.Dimension LETTER
          612 x 792 points
static java.awt.Dimension NOTE
          540 x 720 points
static java.awt.Dimension TABLOID
          792 x 1224 points
static double TRANSLATE_FACTOR
          2.835 points per mm
 
Constructor Summary
PD4Constants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A10

public static final java.awt.Dimension A10
74 x 105 points


A9

public static final java.awt.Dimension A9
105 x 148 points


A8

public static final java.awt.Dimension A8
148 x 210 points


A7

public static final java.awt.Dimension A7
210 x 297 points


A6

public static final java.awt.Dimension A6
297 x 421 points


A5

public static final java.awt.Dimension A5
421 x 595 points


A4

public static final java.awt.Dimension A4
595 x 842 points


A3

public static final java.awt.Dimension A3
842 x 1190 points


A2

public static final java.awt.Dimension A2
1190 x 1684 points


A1

public static final java.awt.Dimension A1
1684 x 2384 points


A0

public static final java.awt.Dimension A0
2384 x 3370 points


ISOB5

public static final java.awt.Dimension ISOB5
501 x 709 points


ISOB4

public static final java.awt.Dimension ISOB4
709 x 1002 points


ISOB3

public static final java.awt.Dimension ISOB3
1002 x 1418 points


ISOB2

public static final java.awt.Dimension ISOB2
1418 x 2004 points


ISOB1

public static final java.awt.Dimension ISOB1
2004 x 2836 points


ISOB0

public static final java.awt.Dimension ISOB0
2836 x 4008 points


HALFLETTER

public static final java.awt.Dimension HALFLETTER
396 x 612 points


LETTER

public static final java.awt.Dimension LETTER
612 x 792 points


TABLOID

public static final java.awt.Dimension TABLOID
792 x 1224 points


LEDGER

public static final java.awt.Dimension LEDGER
1224 x 792 points


NOTE

public static final java.awt.Dimension NOTE
540 x 720 points


LEGAL

public static final java.awt.Dimension LEGAL
612 x 1008 points


TRANSLATE_FACTOR

public static final double TRANSLATE_FACTOR
2.835 points per mm

See Also:
Constant Field Values

AllowDegradedPrint

public static final int AllowDegradedPrint
Document access permission (bit 3, value = 4).
(isStrong=false) Print the document.
(isStrong=true) Print the document (possibly not at the highest quality level, depending on whether bit 12 is also set).

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowModify

public static final int AllowModify
Document access permission (bit 4, value = 8).
Modify the contents of the document by operations other than those controlled by bits 6, 9, and 11.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowCopy

public static final int AllowCopy
Document access permission (bit 5, value = 16).
(isStrong=false) Copy or otherwise extract text and graphics from the document, including extracting text and graphics (in support of accessibility to disabled users or for other purposes).
(isStrong=true) Copy or otherwise extract text and graphics from the document by operations other than that controlled by bit 10.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowContentExtraction

public static final int AllowContentExtraction
Document access permission (bit 10, value = 512).
(only if isStrong=true) Extract text and graphics (in support of accessibility to disabled users or for other purposes).

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowAssembly

public static final int AllowAssembly
Document access permission (bit 11, value = 1024).
(only if isStrong=true) Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit 4 is clear.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowPrint

public static final int AllowPrint
Document access permission (bit 12 + bit 3, value = 2052).
(only if isStrong=true) Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and bit 3 is set), printing is limited to a lowlevel representation of the appearance, possibly of degraded quality.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values
Constructor Detail

PD4Constants

public PD4Constants()


Copyright © 2005 zefer.org. All Rights Reserved.