Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COURIER
Identifier for the standard PDF font 'Courier'.
|
static java.lang.String |
COURIER_BOLD
Identifier for the standard PDF font 'Courier-Bold'.
|
static java.lang.String |
COURIER_BOLDITALIC
Identifier for the standard PDF font 'Courier-BoldItalic'.
|
static java.lang.String |
COURIER_ITALIC
Identifier for the standard PDF font 'Courier-Italic'.
|
static java.lang.String |
HELVETICA
Identifier for the standard PDF font 'Helvetica'.
|
static java.lang.String |
HELVETICA_BOLD
Identifier for the standard PDF font 'Helvetica-Bold'.
|
static java.lang.String |
HELVETICA_BOLDOBLIQUE
Identifier for the standard PDF font 'Helvetica-BoldOblique'.
|
static java.lang.String |
HELVETICA_OBLIQUE
Identifier for the standard PDF font 'Helvetica-Oblique'.
|
static java.lang.String |
TIMES_BOLD
Identifier for the standard PDF font 'Times-Bold'.
|
static java.lang.String |
TIMES_BOLDITALIC
Identifier for the standard PDF font 'Times-BoldItalic'.
|
static java.lang.String |
TIMES_ITALIC
Identifier for the standard PDF font 'Times-Italic'.
|
static java.lang.String |
TIMES_ROMAN
Identifier for the standard PDF font 'Times-Roman'.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the font within the PDF document (this is not the
same as the font name).
|
byte[] |
getObjectBytes()
Returns the bytes that go between the 'obj' and 'endobj' in the
PDF output for this object.
|
getGeneration, getNumber, getReference, toPDFBytes
public static final java.lang.String HELVETICA
public static final java.lang.String HELVETICA_BOLD
public static final java.lang.String HELVETICA_OBLIQUE
public static final java.lang.String HELVETICA_BOLDOBLIQUE
public static final java.lang.String TIMES_ROMAN
public static final java.lang.String TIMES_BOLD
public static final java.lang.String TIMES_ITALIC
public static final java.lang.String TIMES_BOLDITALIC
public static final java.lang.String COURIER
public static final java.lang.String COURIER_BOLD
public static final java.lang.String COURIER_ITALIC
public static final java.lang.String COURIER_BOLDITALIC
public java.lang.String getName()
public byte[] getObjectBytes()
getObjectBytes
in class PDFObject