Class MarkupInfo
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.annotations.MarkupInfo
-
public class MarkupInfo extends NativeObject
Information for a markup annotation
Holds information contained in a markup annotation or in a reply to a markup annotation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
The author (Getter)java.lang.String
getContent()
The information content (Getter)java.time.OffsetDateTime
getCreationDate()
The date of creation (Getter)boolean
getLocked()
Whether the content can be modified (Getter)java.time.OffsetDateTime
getModificationDate()
The date of last modification (Getter)java.lang.String
getSubject()
The subject (Getter)void
setAuthor(java.lang.String value)
The author (Setter)void
setContent(java.lang.String value)
The information content (Setter)void
setCreationDate(java.time.OffsetDateTime value)
The date of creation (Setter)void
setLocked(boolean value)
Whether the content can be modified (Setter)void
setModificationDate(java.time.OffsetDateTime value)
The date of last modification (Setter)void
setSubject(java.lang.String value)
The subject (Setter)-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getCreationDate
public java.time.OffsetDateTime getCreationDate()
The date of creation (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setCreationDate
public void setCreationDate(java.time.OffsetDateTime value)
The date of creation (Setter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
getModificationDate
public java.time.OffsetDateTime getModificationDate()
The date of last modification (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setModificationDate
public void setModificationDate(java.time.OffsetDateTime value)
The date of last modification (Setter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
getLocked
public boolean getLocked()
Whether the content can be modified (Getter)
This does not restrict the modification of other aspects of the annotation or its deletion.- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setLocked
public void setLocked(boolean value)
Whether the content can be modified (Setter)
This does not restrict the modification of other aspects of the annotation or its deletion.- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
getAuthor
public java.lang.String getAuthor()
The author (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setAuthor
public void setAuthor(java.lang.String value)
The author (Setter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
getSubject
public java.lang.String getSubject()
The subject (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setSubject
public void setSubject(java.lang.String value)
The subject (Setter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
getContent
public java.lang.String getContent()
The information content (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
setContent
public void setContent(java.lang.String value)
The information content (Setter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalStateException
- if the annotation has already been appended to a page's list of annotations
-
-