|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.interaction.annotations.Annotation
org.pdfclown.documents.interaction.annotations.FileAttachment
@PDF(value=PDF13) public final class FileAttachment
File attachment annotation [PDF:1.6:8.4.5].
It represents a reference to a file, which typically is embedded in the PDF file.
Nested Class Summary | |
---|---|
static class |
FileAttachment.IconTypeEnum
Icon to be used in displaying the annotation [PDF:1.6:8.4.5]. |
Nested classes/interfaces inherited from class org.pdfclown.documents.interaction.annotations.Annotation |
---|
Annotation.FlagsEnum |
Constructor Summary | |
---|---|
FileAttachment(Page page,
Rectangle2D box,
String text,
FileSpecification<?> dataFile)
|
Method Summary | |
---|---|
FileAttachment |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
FileSpecification<?> |
getDataFile()
Gets the file containing the object data. |
FileAttachment.IconTypeEnum |
getIconType()
Gets the icon to be used in displaying the annotation. |
void |
setDataFile(FileSpecification<?> value)
|
void |
setIconType(FileAttachment.IconTypeEnum value)
|
Methods inherited from class org.pdfclown.documents.interaction.annotations.Annotation |
---|
delete, getAction, getActions, getAppearance, getBorder, getBox, getColor, getFlags, getLayer, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setColor, setFlags, setLayer, setModificationDate, setName, setPrintable, setText, setVisible, wrap |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileAttachment(Page page, Rectangle2D box, String text, FileSpecification<?> dataFile)
Method Detail |
---|
public FileAttachment clone(Document context)
PdfObjectWrapper
clone
in class Annotation
context
- Which document the clone has to be registered in.public FileAttachment.IconTypeEnum getIconType()
public void setIconType(FileAttachment.IconTypeEnum value)
getIconType()
public FileSpecification<?> getDataFile()
IFileResource
getDataFile
in interface IFileResource
public void setDataFile(FileSpecification<?> value)
setDataFile
in interface IFileResource
IFileResource.getDataFile()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |