public static class

PDFCompat.PDFViewCtrl

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.PDFCompat.PDFViewCtrl

Summary

Public Methods
static void CancelAllThumbRequests(long impl)
static void CancelRendering(long impl)
static void ClearSelection(long impl)
static double[] ConvCanvasPtToPagePt(long impl, double x, double y, int page_num)
static double[] ConvCanvasPtToScreenPt(long impl, double x, double y)
static double[] ConvPagePtToCanvasPt(long impl, double x, double y, int page_num)
static double[] ConvPagePtToScreenPt(long impl, double x, double y, int page_num)
static double[] ConvScreenPtToCanvasPt(long impl, double x, double y)
static double[] ConvScreenPtToPagePt(long impl, double x, double y, int page_num)
static void Destroy(long impl)
static void DestroyFindTextData(long findtext_proc)
static void DestroyRenderData(long impl, long error_proc, long curr_page_proc, long findtext_proc, long thumb_async_proc, long request_render_worker_proc, long event_proc)
static void DocLock(long impl, boolean cancel_threads)
static void DocLockRead(long impl)
static boolean DocTryLock(long impl, int milliseconds)
static boolean DocTryLockRead(long impl, int milliseconds)
static void DocUnlock(long impl)
static void DocUnlockRead(long impl)
static void FindTextAsync(long impl, String search_str, boolean match_case, boolean match_whole_word, boolean search_up, boolean reg_exp)
static long GetAnnotationAt(long impl, int x, int y, double distanceThreshold, double minimumLineWeight)
static long[] GetAnnotationListAt(long impl, int x1, int y1, int x2, int y2)
static void GetBuffer(long impl, int[] data)
static int GetBufferHeight(long impl)
static int GetBufferStride(long impl)
static int GetBufferWidth(long impl)
static double GetCanvasHeight(long impl)
static double GetCanvasWidth(long impl)
static int GetColorPostProcessMode(long impl)
static int GetCurrentPage(long impl)
static long GetDeviceTransform(long impl, int page_num)
static double GetHScrollPos(long impl)
static PDFViewCtrl.LinkInfo GetLinkAt(long impl, int x, int y)
static long GetOCGContext(long impl)
static int GetPageNumberFromScreenPt(long impl, double x, double y)
static int GetPagePresentationMode(long impl)
static int GetPageViewMode(long impl)
static int GetPagesCount(long impl)
static int GetRotation(long impl)
static long GetScreenRectForAnnot(long impl, long annot, int page_num)
static long GetSelection(long impl, int pagenum)
static int GetSelectionBeginPage(long impl)
static int GetSelectionEndPage(long impl)
static void GetThumbAsync(long impl, long page_num, ThumbAsyncHandler proc, Object custom_data)
static int GetToolMode(long impl)
static double GetVScrollPos(long impl)
static double GetZoom(long impl)
static boolean GotoFirstPage(long impl)
static boolean GotoLastPage(long impl)
static boolean GotoNextPage(long impl)
static boolean GotoPreviousPage(long impl)
static boolean HasSelection(long impl)
static boolean HasSelectionOnPage(long impl, int page)
static void InvalidateRect(long impl, long rect)
static boolean IsFinishedRendering(long impl, boolean visible_region_only)
static void OnScroll(long impl, int pix_dx, int pix_dy, boolean start_render)
static void OnSize(long impl, int width, int height, int stride, boolean start_render)
static long[] PDFViewCtrlCreate2(Object ctrl, Object call)
static void RotateClockwise(long impl)
static void RotateCounterClockwise(long impl)
static void SelectAll(long impl)
static boolean SelectByHighlights(long impl, long hlts)
static boolean SelectByRect(long impl, double x1, double y1, double x2, double y2)
static boolean SelectBySelection(long impl, long sel)
static boolean SelectByStruct(long impl, double x1, double y1, double x2, double y2)
static String SelectionGetAsHtml(long impl)
static String SelectionGetAsUnicode(long impl)
static int SelectionGetPageNum(long impl)
static double[] SelectionGetQuads(long impl)
static void SetAntiAliasing(long impl, boolean enable_aa)
static void SetBackgroundColor(long impl, byte r, byte g, byte b, byte a)
static void SetCaching(long impl, boolean enabled)
static void SetColorPostProcessMode(long impl, int mode)
static boolean SetCurrentPage(long impl, int page_num)
static long SetCurrentPageProc(long impl, CurrentPageProc curr_pagenum_proc, Object data)
static void SetDefaultPageColor(long impl, byte r, byte g, byte b)
static void SetDevicePixelDensity(long impl, double dpi, double scale_factor)
static void SetDoc(long impl, long doc)
static void SetDrawAnnotations(long impl, boolean render_annots)
static long SetErrorReportProc(long impl, ErrorReportProc error_proc, Object data)
static long SetFindTextHandler(long impl, Object findtext_proc, Object data)
static void SetGamma(long impl, double exp)
static void SetHScrollPos(long impl, double pos)
static void SetHighlightFields(long impl, boolean highlight_fields)
static void SetHorizontalAlign(long impl, int align)
static void SetImageSmoothing(long impl, boolean smoothing_enabled)
static void SetOCGContext(long impl, long ctx)
static void SetOverprint(long impl, int op)
static void SetPageBorderVisibility(long impl, boolean border_visible)
static void SetPagePresentationMode(long impl, int mode)
static void SetPageSpacing(long impl, int horiz_col_space, int vert_col_space, int horiz_pad, int vert_pad)
static void SetPageTransparencyGrid(long impl, boolean trans_grid_visible)
static void SetPageViewMode(long impl, int mode)
static void SetPathHinting(long impl, boolean enable_ph)
static void SetProgressiveRendering(long impl, boolean is_progressive)
static void SetRasterizerType(long impl, int type)
static long SetRequestRenderInWorkerThreadProc(long impl, Object proc, Object data)
static void SetThinLineAdjustment(long impl, boolean pixel_grid_fit, boolean stroke_adjust)
static void SetUrlExtraction(long impl, boolean enabled)
static void SetVScrollPos(long impl, double pos)
static void SetVerticalAlign(long impl, int align)
static void SetViewerCache(long doc_impl, int max_cache_size, boolean on_disk)
static boolean SetZoom(long impl, double zoom, boolean start_render)
static boolean SetZoom(long impl, int x, int y, double zoom, boolean start_render)
static void SetupThumbnails(long impl, boolean use_embedded, boolean generate_at_runtime, boolean use_disk_cache, int thumb_max_side_length, long max_abs_cache_size, double max_perc_cache_size)
static boolean ShowRect(long impl, int page_num, long rect)
static boolean SmartZoom(long impl, int x, int y)
static void Update(long impl, long rect)
static void Update(long impl, long annot, int num_page)
static void Update(long impl, boolean all)
static void UpdateData(long impl, int[] data, int x, int y)
static void UpdateField(long impl, long field)
static void UpdatePageLayout(long impl)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void CancelAllThumbRequests (long impl)

public static void CancelRendering (long impl)

public static void ClearSelection (long impl)

public static double[] ConvCanvasPtToPagePt (long impl, double x, double y, int page_num)

public static double[] ConvCanvasPtToScreenPt (long impl, double x, double y)

public static double[] ConvPagePtToCanvasPt (long impl, double x, double y, int page_num)

public static double[] ConvPagePtToScreenPt (long impl, double x, double y, int page_num)

public static double[] ConvScreenPtToCanvasPt (long impl, double x, double y)

public static double[] ConvScreenPtToPagePt (long impl, double x, double y, int page_num)

public static void Destroy (long impl)

public static void DestroyFindTextData (long findtext_proc)

public static void DestroyRenderData (long impl, long error_proc, long curr_page_proc, long findtext_proc, long thumb_async_proc, long request_render_worker_proc, long event_proc)

public static void DocLock (long impl, boolean cancel_threads)

public static void DocLockRead (long impl)

public static boolean DocTryLock (long impl, int milliseconds)

public static boolean DocTryLockRead (long impl, int milliseconds)

public static void DocUnlock (long impl)

public static void DocUnlockRead (long impl)

public static void FindTextAsync (long impl, String search_str, boolean match_case, boolean match_whole_word, boolean search_up, boolean reg_exp)

public static long GetAnnotationAt (long impl, int x, int y, double distanceThreshold, double minimumLineWeight)

public static long[] GetAnnotationListAt (long impl, int x1, int y1, int x2, int y2)

public static void GetBuffer (long impl, int[] data)

public static int GetBufferHeight (long impl)

public static int GetBufferStride (long impl)

public static int GetBufferWidth (long impl)

public static double GetCanvasHeight (long impl)

public static double GetCanvasWidth (long impl)

public static int GetColorPostProcessMode (long impl)

public static int GetCurrentPage (long impl)

public static long GetDeviceTransform (long impl, int page_num)

public static double GetHScrollPos (long impl)

public static PDFViewCtrl.LinkInfo GetLinkAt (long impl, int x, int y)

public static long GetOCGContext (long impl)

public static int GetPageNumberFromScreenPt (long impl, double x, double y)

public static int GetPagePresentationMode (long impl)

public static int GetPageViewMode (long impl)

public static int GetPagesCount (long impl)

public static int GetRotation (long impl)

public static long GetScreenRectForAnnot (long impl, long annot, int page_num)

public static long GetSelection (long impl, int pagenum)

public static int GetSelectionBeginPage (long impl)

public static int GetSelectionEndPage (long impl)

public static void GetThumbAsync (long impl, long page_num, ThumbAsyncHandler proc, Object custom_data)

public static int GetToolMode (long impl)

public static double GetVScrollPos (long impl)

public static double GetZoom (long impl)

public static boolean GotoFirstPage (long impl)

public static boolean GotoLastPage (long impl)

public static boolean GotoNextPage (long impl)

public static boolean GotoPreviousPage (long impl)

public static boolean HasSelection (long impl)

public static boolean HasSelectionOnPage (long impl, int page)

public static void InvalidateRect (long impl, long rect)

public static boolean IsFinishedRendering (long impl, boolean visible_region_only)

public static void OnScroll (long impl, int pix_dx, int pix_dy, boolean start_render)

public static void OnSize (long impl, int width, int height, int stride, boolean start_render)

public static long[] PDFViewCtrlCreate2 (Object ctrl, Object call)

public static void RotateClockwise (long impl)

public static void RotateCounterClockwise (long impl)

public static void SelectAll (long impl)

public static boolean SelectByHighlights (long impl, long hlts)

public static boolean SelectByRect (long impl, double x1, double y1, double x2, double y2)

public static boolean SelectBySelection (long impl, long sel)

public static boolean SelectByStruct (long impl, double x1, double y1, double x2, double y2)

public static String SelectionGetAsHtml (long impl)

public static String SelectionGetAsUnicode (long impl)

public static int SelectionGetPageNum (long impl)

public static double[] SelectionGetQuads (long impl)

public static void SetAntiAliasing (long impl, boolean enable_aa)

public static void SetBackgroundColor (long impl, byte r, byte g, byte b, byte a)

public static void SetCaching (long impl, boolean enabled)

public static void SetColorPostProcessMode (long impl, int mode)

public static boolean SetCurrentPage (long impl, int page_num)

public static long SetCurrentPageProc (long impl, CurrentPageProc curr_pagenum_proc, Object data)

public static void SetDefaultPageColor (long impl, byte r, byte g, byte b)

public static void SetDevicePixelDensity (long impl, double dpi, double scale_factor)

public static void SetDoc (long impl, long doc)

public static void SetDrawAnnotations (long impl, boolean render_annots)

public static long SetErrorReportProc (long impl, ErrorReportProc error_proc, Object data)

public static long SetFindTextHandler (long impl, Object findtext_proc, Object data)

public static void SetGamma (long impl, double exp)

public static void SetHScrollPos (long impl, double pos)

public static void SetHighlightFields (long impl, boolean highlight_fields)

public static void SetHorizontalAlign (long impl, int align)

public static void SetImageSmoothing (long impl, boolean smoothing_enabled)

public static void SetOCGContext (long impl, long ctx)

public static void SetOverprint (long impl, int op)

public static void SetPageBorderVisibility (long impl, boolean border_visible)

public static void SetPagePresentationMode (long impl, int mode)

public static void SetPageSpacing (long impl, int horiz_col_space, int vert_col_space, int horiz_pad, int vert_pad)

public static void SetPageTransparencyGrid (long impl, boolean trans_grid_visible)

public static void SetPageViewMode (long impl, int mode)

public static void SetPathHinting (long impl, boolean enable_ph)

public static void SetProgressiveRendering (long impl, boolean is_progressive)

public static void SetRasterizerType (long impl, int type)

public static long SetRequestRenderInWorkerThreadProc (long impl, Object proc, Object data)

public static void SetThinLineAdjustment (long impl, boolean pixel_grid_fit, boolean stroke_adjust)

public static void SetUrlExtraction (long impl, boolean enabled)

public static void SetVScrollPos (long impl, double pos)

public static void SetVerticalAlign (long impl, int align)

public static void SetViewerCache (long doc_impl, int max_cache_size, boolean on_disk)

public static boolean SetZoom (long impl, double zoom, boolean start_render)

public static boolean SetZoom (long impl, int x, int y, double zoom, boolean start_render)

public static void SetupThumbnails (long impl, boolean use_embedded, boolean generate_at_runtime, boolean use_disk_cache, int thumb_max_side_length, long max_abs_cache_size, double max_perc_cache_size)

public static boolean ShowRect (long impl, int page_num, long rect)

public static boolean SmartZoom (long impl, int x, int y)

public static void Update (long impl, long rect)

public static void Update (long impl, long annot, int num_page)

public static void Update (long impl, boolean all)

public static void UpdateData (long impl, int[] data, int x, int y)

public static void UpdateField (long impl, long field)

public static void UpdatePageLayout (long impl)