Skip to content

Commit b698c88

Browse files
yulian-gaponenkoiText-CI
authored andcommitted
Fix javadocs in DocumentProperties
DEVSIX-5706
1 parent a221d31 commit b698c88

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

kernel/src/main/java/com/itextpdf/kernel/pdf/DocumentProperties.java

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,32 @@ This file is part of the iText (R) project.
4545

4646
import com.itextpdf.commons.actions.contexts.IMetaInfo;
4747

48+
/**
49+
* Class with additional properties for {@link PdfDocument} processing.
50+
* Needs to be passed at document initialization.
51+
*/
4852
public class DocumentProperties {
4953

5054

5155
protected IMetaInfo metaInfo = null;
5256

57+
/**
58+
* Default constructor, use provided setters for configuration options.
59+
*/
5360
public DocumentProperties() {
5461
}
5562

63+
/**
64+
* Creates a copy of class instance.
65+
*
66+
* @param other the base for new class instance
67+
*/
5668
public DocumentProperties(DocumentProperties other) {
5769
this.metaInfo = other.metaInfo;
5870
}
5971

6072
/**
61-
* Sets document meta info. This meta info will be passed to the {@link com.itextpdf.kernel.counter.EventCounter}
62-
* with {@link com.itextpdf.kernel.counter.event.CoreEvent} and can be used to determine event origin.
73+
* Sets document meta info.
6374
*
6475
* @param metaInfo meta info to set
6576
* @return this {@link DocumentProperties} instance

0 commit comments

Comments
 (0)