Foxit PDF SDK
9.1
|
The annotation handler, it should handle the operations on the specified annotation. More...
Instance Methods | |
(BOOL) | - addAnnot: |
Add a new annotation to a specified page. It's equal to the following one with the param addUndo YES. More... | |
(BOOL) | - addAnnot:addUndo: |
Add a new annotation to a specified page, undo/redo will be supported if the param addUndo is YES. More... | |
(BOOL) | - flattenAnnot: |
Flatten an annotation. More... | |
(NSString *) | - getName |
(FSAnnotType) | - getType |
(BOOL) | - isHitAnnot:point: |
Can hit the annotation at specified point. More... | |
(BOOL) | - modifyAnnot: |
Modify an annotation. It's equal to the following one with the param addUndo YES. More... | |
(BOOL) | - modifyAnnot:addUndo: |
Modify an annotation, undo/redo will be supported if the param addUndo is YES. More... | |
(void) | - onAnnotChanged:property:from:to: |
Changed property event on the specified annot. More... | |
(void) | - onAnnotDeselected: |
When the annotation is deselected. More... | |
(void) | - onAnnotSelected: |
When the annotation is selected. More... | |
(void) | - onDraw:inContext:annot: |
Drawing event on the specified page. More... | |
(void) | - onDraw:inContext:widget: |
Drawing event on the specified page. More... | |
(BOOL) | - onPageViewLongPress:recognizer:annot: |
Long press gesture on the specified page. More... | |
(BOOL) | - onPageViewPan:recognizer:annot: |
Pan gesture on the specified page. More... | |
(BOOL) | - onPageViewShouldBegin:recognizer:annot: |
Should being gesture on the specified page. More... | |
(BOOL) | - onPageViewShouldBegin:recognizer:widget: |
Should being gesture on the specified page. More... | |
(BOOL) | - onPageViewTap:recognizer:annot: |
Tap gesture on the specified page. More... | |
(BOOL) | - onPageViewTap:recognizer:widget: |
Tap gesture on the specified page. More... | |
(BOOL) | - onPageViewTouchesBegan:touches:withEvent:annot: |
Touches began on the specified page. More... | |
(BOOL) | - onPageViewTouchesBegan:touches:withEvent:widget: |
Touches began on the specified page. More... | |
(BOOL) | - onPageViewTouchesCancelled:touches:withEvent:annot: |
Touches cancelled on the specified page. More... | |
(BOOL) | - onPageViewTouchesEnded:touches:withEvent:annot: |
Touches ended on the specified page. More... | |
(BOOL) | - onPageViewTouchesEnded:touches:withEvent:widget: |
Touches ended on the specified page. More... | |
(BOOL) | - onPageViewTouchesMoved:touches:withEvent:annot: |
Touches moved on the specified page. More... | |
(BOOL) | - onPageViewTouchesMoved:touches:withEvent:widget: |
Touches moved on the specified page. More... | |
(void) | - onXFAWidgetDeselected: |
When the dynamic xfa widget is deselected. More... | |
(void) | - onXFAWidgetSelected: |
When the dynamic xfa widget is selected. More... | |
(BOOL) | - removeAnnot: |
Remove an annotation. It's equal to the following one with the param addUndo YES. More... | |
(BOOL) | - removeAnnot:addUndo: |
Remove an annotation, undo/redo will be supported if the param addUndo is YES. More... | |
(BOOL) | - shouldDrawAnnot:inPDFViewCtrl: |
Should pdfViewCtrl draw annot, if NO annot handler will draw annot by itself in onDraw:inContext:annot:. More... | |
The annotation handler, it should handle the operations on the specified annotation.
|
optional |
Add a new annotation to a specified page. It's equal to the following one with the param addUndo YES.
[in] | annot | The annotation to be added. |
Add a new annotation to a specified page, undo/redo will be supported if the param addUndo is YES.
[in] | annot | The annotation to be added. |
[in] | addUndo | Whether the adding operation is added to undo stack.. |
|
optional |
Flatten an annotation.
[in] | annot | The annotation to be flattened. |
|
optional |
brief Get the annotHandler name
|
optional |
brief Get the annotation type
Can hit the annotation at specified point.
[in] | annot | The pdf annotation. |
[in] | point | The point on PDF page, in PDF coordination. |
|
optional |
Modify an annotation. It's equal to the following one with the param addUndo YES.
[in] | annot | The annotation to be modified. |
|
optional |
Modify an annotation, undo/redo will be supported if the param addUndo is YES.
[in] | annot | The annotation to be modified. |
[in] | addUndo | Whether the modification operation is added to undo stack. |
|
optional |
Changed property event on the specified annot.
[in] | annot | Annot that need to be modified. |
[in] | property | Modified property. |
[in] | oldValue | Old value. |
[in] | newValue | New value. |
- (void) onAnnotDeselected: | (FSAnnot *) | annot |
When the annotation is deselected.
[in] | annot | The deselected annotation. |
- (void) onAnnotSelected: | (FSAnnot *) | annot |
When the annotation is selected.
[in] | annot | The selected annotation. |
|
optional |
Drawing event on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | context | Drawing context. |
[in] | annot | The annotation to be drew. |
|
optional |
Drawing event on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | context | Drawing context. |
[in] | widget | The drawing XFA widget. |
|
optional |
Long press gesture on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | recognizer | Long press gesture. |
[in] | annot | Gesture corresponding to the annotation. |
|
optional |
Pan gesture on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | recognizer | Pan gesture. |
[in] | annot | Gesture corresponding to the annotation. |
|
optional |
Should being gesture on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | gestureRecognizer | Responsive gesture. |
[in] | annot | Gesture corresponding to the annotation. |
|
optional |
Should being gesture on the specified page.
[in] | pageIndex | The PDF page index. |
[in] | gestureRecognizer | Responsive gesture. |
[in] | widget | The xfa widget. |
|
optional |
Tap gesture on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | recognizer | Tap gesture. |
[in] | annot | Gesture corresponding to the annotation. |
|
optional |
Tap gesture on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | recognizer | Tap gesture. |
[in] | widget | The xfa widget. |
|
optional |
Touches began on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | annot | Touch corresponding to the annotation. |
|
optional |
Touches began on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | widget | The xfa widget. |
|
optional |
Touches cancelled on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | annot | Touch corresponding to the annot. |
|
optional |
Touches ended on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | annot | Touch corresponding to the annot. |
|
optional |
Touches ended on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | widget | The xfa widget. |
|
optional |
Touches moved on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | annot | Touch corresponding to the annot. |
|
optional |
Touches moved on the specified page.
[in] | pageIndex | The pdf page index,0 for the first page. |
[in] | touches | Touch set. |
[in] | event | Touch event. |
[in] | widget | The xfa widget. |
|
optional |
When the dynamic xfa widget is deselected.
[in] | widget | Deselected widget. |
|
optional |
When the dynamic xfa widget is selected.
[in] | widget | Selected widget. |
|
optional |
Remove an annotation. It's equal to the following one with the param addUndo YES.
[in] | annot | The annotation to be removed. |
|
optional |
Remove an annotation, undo/redo will be supported if the param addUndo is YES.
[in] | annot | The annotation to be removed. |
[in] | addUndo | Whether the removing operation is added to undo stack. |
|
optional |
Should pdfViewCtrl draw annot, if NO annot handler will draw annot by itself in onDraw:inContext:annot:.
[in] | annot | Annot to draw. |
[in] | pdfViewCtrl | The pdf view control. |