Package org.apache.fop.pdf
Class VersionController.DynamicVersion
- java.lang.Object
-
- org.apache.fop.pdf.VersionController
-
- org.apache.fop.pdf.VersionController.DynamicVersion
-
- Enclosing class:
- VersionController
private static final class VersionController.DynamicVersion extends VersionController
A class representing the version of a PDF document. This class allows the version to be changed once it has been set (it is mutable) ONLY if the new version is greater. If the PDF version is changed after it has been instantiated, the version will be set in the document catalog.
-
-
Field Summary
Fields Modifier and Type Field Description private PDFDocument
doc
-
Constructor Summary
Constructors Modifier Constructor Description private
DynamicVersion(Version version, PDFDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addTableHeaderScopeAttribute(PDFStructElem th, StandardStructureAttributes.Table.Scope scope)
void
setPDFVersion(Version version)
Sets the PDF version of the document.-
Methods inherited from class org.apache.fop.pdf.VersionController
getDynamicVersionController, getFixedVersionController, getPDFVersion, toString
-
-
-
-
Field Detail
-
doc
private PDFDocument doc
-
-
Constructor Detail
-
DynamicVersion
private DynamicVersion(Version version, PDFDocument doc)
-
-
Method Detail
-
setPDFVersion
public void setPDFVersion(Version version)
Description copied from class:VersionController
Sets the PDF version of the document.- Specified by:
setPDFVersion
in classVersionController
- Parameters:
version
- the PDF version
-
addTableHeaderScopeAttribute
void addTableHeaderScopeAttribute(PDFStructElem th, StandardStructureAttributes.Table.Scope scope)
- Specified by:
addTableHeaderScopeAttribute
in classVersionController
-
-