Class CPDFGoToRAction
java.lang.Object
com.compdfkit.core.document.action.CPDFAction
com.compdfkit.core.document.action.CPDFGoToRAction
A remote go-to action is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.compdfkit.core.document.action.CPDFAction
CPDFAction.ActionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDestination(CPDFDocument document) Gets the destination associated with the action, more:CPDFDestinationGets the file in which the destination shall be located.booleansetDestination(CPDFDocument document, CPDFDestination destination) Sets the destination associated with the action.booleansetFileSpec(String fileSpec) Sets the file in which the destination shall be located.Methods inherited from class com.compdfkit.core.document.action.CPDFAction
close, getActionType, isValid
-
Constructor Details
-
CPDFGoToRAction
public CPDFGoToRAction()
-
-
Method Details
-
getFileSpec
Gets the file in which the destination shall be located.- Returns:
- Returns the file in which the destination shall be located.
-
setFileSpec
Sets the file in which the destination shall be located.- Parameters:
fileSpec- The file in which the destination shall be located.- Returns:
- Returns whether to successfully set the file in which the destination shall be located.
-
getDestination
Gets the destination associated with the action, more:CPDFDestination- Parameters:
document- This class is about CPDFDocument, one CPDFDocument class for one document.- Returns:
- Returns the destination associated with the action.
- See Also:
-
setDestination
Sets the destination associated with the action.- Parameters:
document- This class is about CPDFDocument, one CPDFDocument class for one document.destination- The destination associated with the action.- Returns:
- Returns whether to successfully set the destination associated with the action.
-