com.lowagie.text.pdf.internal
public class PdfVersionImp extends Object implements PdfVersion
Field Summary | |
---|---|
protected boolean | appendmode Indicates if we are working in append mode. |
protected PdfName | catalog_version The version that will be written to the catalog. |
protected boolean | headerWasWritten Indicates if the header was already written. |
protected char | header_version The version that was or will be written to the header. |
static byte[][] | HEADER Contains different strings that are part of the header. |
Method Summary | |
---|---|
void | addToCatalog(PdfDictionary catalog) Adds the version to the Catalog dictionary. |
byte[] | getVersionAsByteArray(char version)
Returns the version as a byte[]. |
PdfName | getVersionAsName(char version)
Returns the PDF version as a name. |
void | setAppendmode(boolean appendmode)
Sets the append mode. |
void | setAtLeastPdfVersion(char version) |
void | setPdfVersion(char version) |
void | setPdfVersion(PdfName version) |
void | writeHeader(OutputStreamCounter os)
Writes the header to the OutputStreamCounter. |
Parameters: version the version character
Parameters: version the version character.
See Also: PdfVersion
See Also: PdfVersion
See Also: setPdfVersion
Throws: IOException