public class

FileAttachmentCreate

extends SimpleTapShapeCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.SimpleShapeCreate
         ↳ com.pdftron.pdf.tools.SimpleTapShapeCreate
           ↳ com.pdftron.pdf.tools.FileAttachmentCreate

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Tool
Public Constructors
FileAttachmentCreate(PDFViewCtrl ctrl)
Class constructor
Public Methods
void addAnnotation()
The implementation will provide UI for annotation creation
void clearTargetPoint()
Clears the target point.
boolean createFileAttachment(PointF targetPoint, int pageNum, String outputPath)
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload interface of getToolMode() ()}.
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.SimpleTapShapeCreate
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.BaseTool
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Public Constructors

public FileAttachmentCreate (PDFViewCtrl ctrl)

Class constructor

Public Methods

public void addAnnotation ()

The implementation will provide UI for annotation creation

public void clearTargetPoint ()

Clears the target point.

public boolean createFileAttachment (PointF targetPoint, int pageNum, String outputPath)

public int getCreateAnnotType ()

Gets what annotation type this tool can create

Returns
  • annot type for annotation creation tool, or unknown for non-creation tool.

public ToolManager.ToolModeBase getToolMode ()

The overload interface of getToolMode() ()}.

Returns
  • the mode/identifier of this tool.