|
Foxit PDF SDK
|
Public Member Functions | |
| def | AddUndoItem (undo_item) |
| A callback function used to notify the page to add undo operation. More... | |
| def | GetClientRect (document) |
| A callback function to get the client rectangle in device coordinate system. More... | |
| def | GetCurrentPageIndex (document) |
| A callback function used to get current page index. More... | |
| def | GetPageRect (document, page_index) |
| A callback function used to get page rectangle in device coordinate system. More... | |
| def | GetPageViewHandle (document, page_index) |
| A callback function to get the page view window handle. More... | |
| def | GetPageVisibleRect (document, page_index) |
| A callback function used to get visible page rectangle in device coordinate system. More... | |
| def | GetRenderMatrix (document, page_index) |
| A callback function to get the render matrix. More... | |
| def | GetRotation (document, page_index) |
| A callback function used to get the page view rotate. More... | |
| def | GetScale (document, page_index) |
| A callback function to get the scale of page. More... | |
| def | GetVisiblePageIndexArray (document) |
| A callback function used to get visible page indexes. More... | |
| def | GotoPageView (document, page_index, left, top) |
| A callback function to go to page view. More... | |
| def | InvalidateRect (document, page_index, invalid_rects) |
| A callback function used to invalidate page rectangle. More... | |
| def | NotifyTextInputReachLimit (document, page_index) |
| A callback function used to notify text input reach limit. More... | |
| def | Release () |
| A callback function used to release current callback object itself. More... | |
| def | SetDocChangeMark (document) |
| A callback function used to notify the document have changed. More... | |
This class represents a callback object for paragraph edit provider. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
| def fsdk.ParagraphEditingProviderCallback.AddUndoItem | ( | undo_item | ) |
A callback function used to notify the page to add undo operation.
| [in] | undo_item | The undo item object. |
| def fsdk.ParagraphEditingProviderCallback.GetClientRect | ( | document | ) |
A callback function to get the client rectangle in device coordinate system.
| def fsdk.ParagraphEditingProviderCallback.GetCurrentPageIndex | ( | document | ) |
A callback function used to get current page index.
| def fsdk.ParagraphEditingProviderCallback.GetPageRect | ( | document, | |
| page_index | |||
| ) |
A callback function used to get page rectangle in device coordinate system.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetPageViewHandle | ( | document, | |
| page_index | |||
| ) |
A callback function to get the page view window handle.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetPageVisibleRect | ( | document, | |
| page_index | |||
| ) |
A callback function used to get visible page rectangle in device coordinate system.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetRenderMatrix | ( | document, | |
| page_index | |||
| ) |
A callback function to get the render matrix.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetRotation | ( | document, | |
| page_index | |||
| ) |
A callback function used to get the page view rotate.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetScale | ( | document, | |
| page_index | |||
| ) |
A callback function to get the scale of page.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.GetVisiblePageIndexArray | ( | document | ) |
A callback function used to get visible page indexes.
| def fsdk.ParagraphEditingProviderCallback.GotoPageView | ( | document, | |
| page_index, | |||
| left, | |||
| top | |||
| ) |
A callback function to go to page view.
| [in] | page_index | The page index. |
| [in] | left | The left point where left mouse button is up in the page, in [PDF coordinate system] (). |
| [in] | top | The top point where left mouse button is up in the page, in [PDF coordinate system] (). |
| def fsdk.ParagraphEditingProviderCallback.InvalidateRect | ( | document, | |
| page_index, | |||
| invalid_rects | |||
| ) |
A callback function used to invalidate page rectangle.
| [in] | page_index | The page index. |
| [in] | rects | The invalid areas. The rectangle in invalid_rects is in device coordinate system. |
| def fsdk.ParagraphEditingProviderCallback.NotifyTextInputReachLimit | ( | document, | |
| page_index | |||
| ) |
A callback function used to notify text input reach limit.
| [in] | page_index | The page index. |
| def fsdk.ParagraphEditingProviderCallback.Release | ( | ) |
A callback function used to release current callback object itself.
| def fsdk.ParagraphEditingProviderCallback.SetDocChangeMark | ( | document | ) |
A callback function used to notify the document have changed.
| [in] | document | The valid pdf document. |