| java.lang.Object | ||||
| ↳ | com.pdftron.pdf.tools.Tool | |||
| ↳ | com.pdftron.pdf.tools.BaseTool | |||
| ↳ | com.pdftron.pdf.tools.TextSelect | |||
| ↳ | com.pdftron.pdf.tools.AnnotEditTextMarkup | |||
This class is responsible for editing text markup: highlight/strikeout/underline, e.g., moving and resizing.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AnnotEditTextMarkup(PDFViewCtrl ctrl)
Class constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getHighlightedText(int pageNum)
Returns the highlighted text.
| ||||||||||
| ToolManager.ToolModeBase |
getToolMode()
The overload implementation of
getToolMode(). | ||||||||||
| boolean | hasAnnotSelected() | ||||||||||
| boolean |
isEditAnnotTool()
The overload implementation of
isEditAnnotTool() | ||||||||||
| void |
onAnnotButtonPressed(int button)
The overload implementation of
onAnnotButtonPressed(int). | ||||||||||
| void |
onClose()
The overload implementation of
onClose(). | ||||||||||
| void |
onConfigurationChanged(Configuration newConfig)
The overload implementation of
onConfigurationChanged(Configuration). | ||||||||||
| void |
onCreate()
The overload implementation of
onCreate(). | ||||||||||
| boolean |
onDown(MotionEvent e)
The overload implementation of
onDown(MotionEvent). | ||||||||||
| void |
onDraw(Canvas canvas, Matrix tfm)
The overload implementation of
onDraw(Canvas, Matrix). | ||||||||||
| boolean |
onFlingStop()
The overload implementation of
onFlingStop(). | ||||||||||
| boolean |
onKeyUp(int keyCode, KeyEvent event)
The overload implementation of
onKeyUp(int, KeyEvent). | ||||||||||
| void |
onLayout(boolean changed, int l, int t, int r, int b)
The overload implementation of
onLayout(boolean, int, int, int, int). | ||||||||||
| boolean |
onLongPress(MotionEvent e)
The overload implementation of
onLongPress(MotionEvent). | ||||||||||
| boolean |
onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
The overload implementation of
onMove(MotionEvent, MotionEvent, float, float). | ||||||||||
| void |
onPageTurning(int old_page, int cur_page)
The overload implementation of
onPageTurning(int, int). | ||||||||||
| boolean |
onQuickMenuClicked(QuickMenuItem menuItem)
The overload implementation of
onQuickMenuClicked(QuickMenuItem). | ||||||||||
| boolean |
onScaleEnd(float x, float y)
The overload implementation of
onScaleEnd(float, float). | ||||||||||
| void |
onScrollChanged(int l, int t, int oldl, int oldt)
The overload implementation of
onScrollChanged(int, int, int, int). | ||||||||||
| boolean |
onSingleTapConfirmed(MotionEvent e)
The overload implementation of
onSingleTapConfirmed(MotionEvent). | ||||||||||
| boolean |
onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
The overload implementation of
onUp(MotionEvent, PDFViewCtrl.PriorEventMode). | ||||||||||
| void |
selectAnnot(Annot annot, int pageNum)
The overload implementation of
selectAnnot(Annot, int). | ||||||||||
| boolean |
showMenu(RectF anchor_rect)
Shows the quick menu.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.TextSelect
| |||||||||||
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.DialogAnnotNote.DialogAnnotNoteListener
| |||||||||||
From interface
com.pdftron.pdf.tools.ToolManager.Tool
| |||||||||||
Returns the highlighted text.
| pageNum | The page number where the highlighted text is on |
|---|
The overload implementation of getToolMode().
The overload implementation of onAnnotButtonPressed(int).
| button | The button ID. See android.content.DialogInterface |
|---|
The overload implementation of onConfigurationChanged(Configuration).
The overload implementation of onDraw(Canvas, Matrix).
The overload implementation of onKeyUp(int, KeyEvent).
The overload implementation of onLayout(boolean, int, int, int, int).
The overload implementation of onMove(MotionEvent, MotionEvent, float, float).
The overload implementation of onPageTurning(int, int).
The overload implementation of onQuickMenuClicked(QuickMenuItem).
| menuItem | The clicked menu item. |
|---|
The overload implementation of onScaleEnd(float, float).
The overload implementation of onScrollChanged(int, int, int, int).
The overload implementation of onSingleTapConfirmed(MotionEvent).
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode).
The overload implementation of selectAnnot(Annot, int).
| annot | The annotaion |
|---|---|
| pageNum | The page number where the annotaion is on |
Shows the quick menu.