|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.pdf.VersionController
public abstract class VersionController
An abstraction that controls the mutability of the PDF version for a document.
| Method Summary | |
|---|---|
static VersionController |
getDynamicVersionController(Version initialVersion,
PDFDocument doc)
Returns a controller that allows subsequent changes to the document's version. |
static VersionController |
getFixedVersionController(Version version)
Returns a controller that disallows subsequent change to the document's version. |
Version |
getPDFVersion()
Returns the PDF version of the document. |
abstract void |
setPDFVersion(Version version)
Sets the PDF version of the document. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Version getPDFVersion()
public abstract void setPDFVersion(Version version)
version - the PDF version
java.lang.IllegalStateException - if the PDF version is not allowed to change.public java.lang.String toString()
toString in class java.lang.Objectpublic static VersionController getFixedVersionController(Version version)
version - the PDF version (must be >= v1.4)
public static VersionController getDynamicVersionController(Version initialVersion,
PDFDocument doc)
initialVersion - the initial PDF versiondoc - the document whose version is being set
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||