public class FDFJavaScript extends Object implements COSObjectable
Constructor and Description |
---|
FDFJavaScript()
Default constructor.
|
FDFJavaScript(COSDictionary javaScript)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAfter()
This will get the javascript that is executed after the import.
|
String |
getBefore()
This will get the javascript that is executed before the import.
|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
Map<String,PDActionJavaScript> |
getDoc()
Returns the dictionary's "Doc" entry, that is, a map of key value pairs to be added to the document's JavaScript
name tree.
|
void |
setAfter(String after)
This will set the javascript code the will get execute after the import.
|
void |
setBefore(String before)
This will set the javascript code the will get execute before the import.
|
void |
setDoc(Map<String,PDActionJavaScript> map)
Sets the dictionary's "Doc" entry.
|
public FDFJavaScript()
public FDFJavaScript(COSDictionary javaScript)
javaScript
- The FDF java script.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public String getBefore()
public void setBefore(String before)
before
- A reference to some javascript code.public String getAfter()
public void setAfter(String after)
after
- A reference to some javascript code.public Map<String,PDActionJavaScript> getDoc()
public void setDoc(Map<String,PDActionJavaScript> map)
map
- Map of named "JavaScript" dictionaries.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.