Package com.itextpdf.kernel.pdf
Class DocumentProperties
java.lang.Object
com.itextpdf.kernel.pdf.DocumentProperties
- Direct Known Subclasses:
-
StampingProperties
Class with additional properties for
PdfDocument
processing. Needs to be passed at document initialization.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor, use provided setters for configuration options.Creates a copy of class instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the document event counting meta info was already set.registerDependency
(Class> clazz, Object instance) Register custom dependency for the document.setEventCountingMetaInfo
(IMetaInfo metaInfo) Sets document meta info.
-
Field Details
-
metaInfo
-
-
Constructor Details
-
DocumentProperties
public DocumentProperties()Default constructor, use provided setters for configuration options. -
DocumentProperties
Creates a copy of class instance.- Parameters:
-
other
- the base for new class instance
-
-
Method Details
-
setEventCountingMetaInfo
Sets document meta info.- Parameters:
-
metaInfo
- meta info to set - Returns:
-
this
DocumentProperties
instance
-
isEventCountingMetaInfoSet
public boolean isEventCountingMetaInfoSet()Checks if the document event counting meta info was already set.- Returns:
- true if the document event counting meta info is set, false otherwise.
-
registerDependency
Register custom dependency for the document.- Parameters:
-
clazz
- Type of the dependency. -
instance
- The instance of the dependency. - Returns:
-
this
DocumentProperties
instance
-