public class FDFJavaScript extends Object implements COSObjectable
Constructor and Description |
---|
FDFJavaScript()
Default constructor.
|
FDFJavaScript(COSDictionary javaScript)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDTextStream |
getAfter()
This will get the javascript that is executed after the import.
|
PDTextStream |
getBefore()
This will get the javascript that is executed before the import.
|
COSDictionary |
getCOSDictionary()
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
List |
getNamedJavaScripts()
This will return a list of PDNamedTextStream objects.
|
void |
setAfter(PDTextStream after)
This will set the javascript code the will get execute after the import.
|
void |
setBefore(PDTextStream before)
This will set the javascript code the will get execute before the import.
|
void |
setNamedJavaScripts(List namedStreams)
This should be a list of PDNamedTextStream objects.
|
public FDFJavaScript()
public FDFJavaScript(COSDictionary javaScript)
javaScript
- The FDF java script.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getCOSDictionary()
public PDTextStream getBefore()
public void setBefore(PDTextStream before)
before
- A reference to some javascript code.public PDTextStream getAfter()
public void setAfter(PDTextStream after)
after
- A reference to some javascript code.public List getNamedJavaScripts()
public void setNamedJavaScripts(List namedStreams)
namedStreams
- The named streams.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.