Java Doc for PDAnnotationFileAttachment.java in » PDF » PDFBox-0.7.3 » org » pdfbox » pdmodel » interactive » annotation » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
PDF
»
PDFBox 0.7.3
»
org.pdfbox.pdmodel.interactive.annotation
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.pdfbox.pdmodel.interactive.annotation
.PDAnnotation
org.pdfbox.pdmodel.interactive.annotation
.PDAnnotationFileAttachment
PDAnnotationFileAttachment
public
class PDAnnotationFileAttachment extends
PDAnnotation
(Code)
This is the class that represents a file attachement.
author:
Ben Litchfield
version:
$Revision: 1.2 $
Field Summary
final
public
static
String
ATTACHMENT_NAME_GRAPH
See get/setAttachmentName.
final
public
static
String
ATTACHMENT_NAME_PAPERCLIP
See get/setAttachmentName.
final
public
static
String
ATTACHMENT_NAME_PUSH_PIN
See get/setAttachmentName.
final
public
static
String
ATTACHMENT_NAME_TAG
See get/setAttachmentName.
final
public
static
String
SUB_TYPE
The type of annotation.
Constructor Summary
public
PDAnnotationFileAttachment
()
Constructor.
public
PDAnnotationFileAttachment
(
COSDictionary
field)
Creates a Link annotation from a COSDictionary, expected to be a correct object definition.
Method Summary
public
String
getAttachmentName
()
This is the name used to draw the type of attachment.
public
PDFileSpecification
getFile
()
Return the attached file.
public
void
setAttachementName
(
String
name)
Set the name used to draw the attachement icon.
public
void
setFile
(
PDFileSpecification
file)
Set the attached file.
Field Detail
ATTACHMENT_NAME_GRAPH
final
public
static
String
ATTACHMENT_NAME_GRAPH
(Code)
See get/setAttachmentName.
ATTACHMENT_NAME_PAPERCLIP
final
public
static
String
ATTACHMENT_NAME_PAPERCLIP
(Code)
See get/setAttachmentName.
ATTACHMENT_NAME_PUSH_PIN
final
public
static
String
ATTACHMENT_NAME_PUSH_PIN
(Code)
See get/setAttachmentName.
ATTACHMENT_NAME_TAG
final
public
static
String
ATTACHMENT_NAME_TAG
(Code)
See get/setAttachmentName.
SUB_TYPE
final
public
static
String
SUB_TYPE
(Code)
The type of annotation.
Constructor Detail
PDAnnotationFileAttachment
public
PDAnnotationFileAttachment()
(Code)
Constructor.
PDAnnotationFileAttachment
public
PDAnnotationFileAttachment(
COSDictionary
field)
(Code)
Creates a Link annotation from a COSDictionary, expected to be a correct object definition.
Parameters:
field - the PDF objet to represent as a field.
Method Detail
getAttachmentName
public
String
getAttachmentName()
(Code)
This is the name used to draw the type of attachment. See the ATTACHMENT_NAME_XXX constants. The name that describes the visual cue for the attachment.
getFile
public
PDFileSpecification
getFile() throws
IOException
(Code)
Return the attached file. The attached file.
throws:
IOException
- If there is an error creating the file spec.
setAttachementName
public
void setAttachementName(
String
name)
(Code)
Set the name used to draw the attachement icon. See the ATTACHMENT_NAME_XXX constants.
Parameters:
name - The name of the visual icon to draw.
setFile
public
void setFile(
PDFileSpecification
file)
(Code)
Set the attached file.
Parameters:
file - The file that is attached.
Fields inherited from
org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
final
public
static int FLAG_HIDDEN
(Code)
(Java Doc)
final
public
static int FLAG_INVISIBLE
(Code)
(Java Doc)
final
public
static int FLAG_LOCKED
(Code)
(Java Doc)
final
public
static int FLAG_NO_ROTATE
(Code)
(Java Doc)
final
public
static int FLAG_NO_VIEW
(Code)
(Java Doc)
final
public
static int FLAG_NO_ZOOM
(Code)
(Java Doc)
final
public
static int FLAG_PRINTED
(Code)
(Java Doc)
final
public
static int FLAG_READ_ONLY
(Code)
(Java Doc)
final
public
static int FLAG_TOGGLE_NO_VIEW
(Code)
(Java Doc)
Methods inherited from
org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
public
static
PDAnnotation
createAnnotation(
COSBase
base) throws
IOException
(Code)
(Java Doc)
public
PDAction
getAction() throws
IOException
(Code)
(Java Doc)
public
PDAdditionalActions
getActions()
(Code)
(Java Doc)
public
int getAnnotationFlags()
(Code)
(Java Doc)
public
String
getAnnotationName()
(Code)
(Java Doc)
public
PDAppearanceDictionary
getAppearance()
(Code)
(Java Doc)
public
String
getAppearanceStream()
(Code)
(Java Doc)
public
PDBorderStyleDictionary
getBoderStyle()
(Code)
(Java Doc)
public
COSBase
getCOSObject()
(Code)
(Java Doc)
public
PDGamma
getColour()
(Code)
(Java Doc)
public
String
getContents()
(Code)
(Java Doc)
public
COSDictionary
getDictionary()
(Code)
(Java Doc)
public
String
getModifiedDate()
(Code)
(Java Doc)
public
PDRectangle
getRectangle()
(Code)
(Java Doc)
public
boolean isHidden()
(Code)
(Java Doc)
public
boolean isInvisible()
(Code)
(Java Doc)
public
boolean isLocked()
(Code)
(Java Doc)
public
boolean isNoRotate()
(Code)
(Java Doc)
public
boolean isNoView()
(Code)
(Java Doc)
public
boolean isNoZoom()
(Code)
(Java Doc)
public
boolean isPrinted()
(Code)
(Java Doc)
public
boolean isReadOnly()
(Code)
(Java Doc)
public
boolean isToggleNoView()
(Code)
(Java Doc)
public
void setAction(
PDAction
action)
(Code)
(Java Doc)
public
void setActions(
PDAdditionalActions
actions)
(Code)
(Java Doc)
public
void setAnnotationFlags(int flags)
(Code)
(Java Doc)
public
void setAnnotationName(
String
nm)
(Code)
(Java Doc)
public
void setAppearance(
PDAppearanceDictionary
appearance)
(Code)
(Java Doc)
public
void setAppearanceStream(
String
as)
(Code)
(Java Doc)
public
void setBorderStyle(
PDBorderStyleDictionary
bs)
(Code)
(Java Doc)
public
void setColour(
PDGamma
c)
(Code)
(Java Doc)
public
void setContents(
String
value)
(Code)
(Java Doc)
public
void setHidden(boolean hidden)
(Code)
(Java Doc)
public
void setInvisible(boolean invisible)
(Code)
(Java Doc)
public
void setLocked(boolean locked)
(Code)
(Java Doc)
public
void setModifiedDate(
String
m)
(Code)
(Java Doc)
public
void setNoRotate(boolean noRotate)
(Code)
(Java Doc)
public
void setNoView(boolean noView)
(Code)
(Java Doc)
public
void setNoZoom(boolean noZoom)
(Code)
(Java Doc)
public
void setPrinted(boolean printed)
(Code)
(Java Doc)
public
void setReadOnly(boolean readOnly)
(Code)
(Java Doc)
public
void setRectangle(
PDRectangle
rectangle)
(Code)
(Java Doc)
public
void setToggleNoView(boolean toggleNoView)
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.