Package apple.pdfkit

Class PDFView

    • Constructor Detail

      • PDFView

        protected PDFView​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static PDFView alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • annotationsChangedOnPage

        public void annotationsChangedOnPage​(PDFPage page)
        Tells PDFView that an annotation has changed on the specified page. PDFView re-scans then for tooltips, popups, and informs PDFThumbnailViews so the thumbnail can be redrawn.
      • appearance

        public static java.lang.Object appearance()
      • _appearance

        public java.lang.Object _appearance()
        Description copied from interface: UIAppearance
        To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.
        Specified by:
        _appearance in interface UIAppearance
        Overrides:
        _appearance in class UIView
      • appearanceForTraitCollection

        public static java.lang.Object appearanceForTraitCollection​(UITraitCollection trait)
      • appearanceForTraitCollectionWhenContainedIn

        @Deprecated
        public static java.lang.Object appearanceForTraitCollectionWhenContainedIn​(UITraitCollection trait,
                                                                                   UIAppearanceContainer ContainerClass,
                                                                                   java.lang.Object... varargs)
        Deprecated.
      • appearanceForTraitCollectionWhenContainedInInstancesOfClasses

        public static java.lang.Object appearanceForTraitCollectionWhenContainedInInstancesOfClasses​(UITraitCollection trait,
                                                                                                     NSArray<?> containerTypes)
      • appearanceWhenContainedIn

        @Deprecated
        public static java.lang.Object appearanceWhenContainedIn​(UIAppearanceContainer ContainerClass,
                                                                 java.lang.Object... varargs)
        Deprecated.
      • _appearanceWhenContainedIn

        @Deprecated
        public java.lang.Object _appearanceWhenContainedIn​(UIAppearanceContainer ContainerClass,
                                                           java.lang.Object... varargs)
        Deprecated.
        Description copied from interface: UIAppearance
        To customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down.
        Specified by:
        _appearanceWhenContainedIn in interface UIAppearance
        Overrides:
        _appearanceWhenContainedIn in class UIView
      • appearanceWhenContainedInInstancesOfClasses

        public static java.lang.Object appearanceWhenContainedInInstancesOfClasses​(NSArray<?> containerTypes)
      • areAnimationsEnabled

        public static boolean areAnimationsEnabled()
      • areaOfInterestForMouse

        public long areaOfInterestForMouse​(UIEvent event)
        Returns type of area (see defines above) mouse is over. This method is useful for subclasses.
      • areaOfInterestForPoint

        public long areaOfInterestForPoint​(CGPoint cursorLocation)
      • autoScales

        public boolean autoScales()
        Toggles mode whereby the scale factor is automatically changed as the view is resized, or rotated, to maximize the PDF displayed. For continuous modes this is a "fit width" behavior, for non-continuous modes it is a "best fit" behavior.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • beginAnimationsContext

        public static void beginAnimationsContext​(java.lang.String animationID,
                                                  org.moe.natj.general.ptr.VoidPtr context)
      • canGoBack

        public boolean canGoBack()
        Page visitations done via goToFirstPage:, goToLastPage:, goToPage:, etc. methods are recorded with visitation history and can be revisited by executing goBack: or goForward:, much like a web browser. Note that visitiation history also includes all rect, destination, and selection goTo*: methods.
      • canGoForward

        public boolean canGoForward()
      • canGoToFirstPage

        public boolean canGoToFirstPage()
        Simple page navigation methods.
      • canGoToLastPage

        public boolean canGoToLastPage()
      • canGoToNextPage

        public boolean canGoToNextPage()
      • canGoToPreviousPage

        public boolean canGoToPreviousPage()
      • canZoomIn

        public boolean canZoomIn()
      • canZoomOut

        public boolean canZoomOut()
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearSelection

        public void clearSelection()
        Equivalent to -[PDFView setCurrentSelection: nil].
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • commitAnimations

        public static void commitAnimations()
      • convertPointFromPage

        public CGPoint convertPointFromPage​(CGPoint point,
                                            PDFPage page)
        Converts a point from page coordinates to view coordinates.
      • convertPointToPage

        public CGPoint convertPointToPage​(CGPoint point,
                                          PDFPage page)
        Converts a point from view coordinates to page coordinates.
      • convertRectFromPage

        public CGRect convertRectFromPage​(CGRect rect,
                                          PDFPage page)
        Converts a rect from page coordinates to view coordinates.
      • convertRectToPage

        public CGRect convertRectToPage​(CGRect rect,
                                        PDFPage page)
        Converts a rect from view coordinates to page coordinates.
      • currentDestination

        public PDFDestination currentDestination()
        Returns a PDFDestination representing the current page and point displayed (see -[currentPage] for more comments).
      • currentPage

        public PDFPage currentPage()
        Returns the current page you are on. For two-up modes, it is the left page (if there are two). For continuous modes, it finds the page crossing a horizontal line halfway between the views top and bottom bounds.
      • currentSelection

        public PDFSelection currentSelection()
        Getter: Returns actual instance of the current PDFSelection object. If you wish to modify this, you should make a copy of the selection returned and modify that instead. Method may return nil if there is no selection. Setter: Set current selection to selection. The view will redraw as necessary. The view will not scroll. Call -[scrollSelectionToVisible:] to scroll to the current selection.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • displayBox

        public long displayBox()
        Specifies the box to display/clip to. Default is kPDFDisplayBoxCropBox.
      • displayDirection

        public long displayDirection()
        Set the layout direction, either vertical or horizontal, for the given display mode Defaults to vertical layout (kPDFDisplayDirectionVertical).
      • displayMode

        public long displayMode()
        See PDFDisplayMode constants above. Default is kPDFDisplaySinglePageContinuous.
      • displaysAsBook

        public boolean displaysAsBook()
        Specifies whether the first page is to be treated as a cover and (for two-up modes) displayed by itself.
      • displaysPageBreaks

        public boolean displaysPageBreaks()
        Toggle displaying or not displaying page breaks (spacing) between pages. This spacing value is defined by the pageBreakMargins property. If displaysPageBreaks is NO, then pageBreakMargins will always return { 0.0, 0.0, 0.0, 0.0 }. Default is YES.
      • displaysRTL

        public boolean displaysRTL()
        Specifies presentation of pages from right-to-left. Defaults to NO.
      • document

        public PDFDocument document()
        Methods for associating a PDFDocument with a PDFView.
      • documentView

        public UIView documentView()
        Returns the innermost view used by PDFView. This is the view representing the displayed document pages.
      • drawPageToContext

        public void drawPageToContext​(PDFPage page,
                                      CGContextRef context)
        For subclasses. This method is called for each visible page requiring rendering. By subclassing you can draw on top of the PDF page or draw the page entirely yourself. Default implementation erases page to white and calls: [page drawWithBox: [self displayBox] toContext: context]. Note that this may be called multiple times for the same page due to tiling of renderable content.
      • drawPagePostToContext

        public void drawPagePostToContext​(PDFPage page,
                                          CGContextRef context)
        Also a handy method for sub-classing. Called for post-page rendering. In this method however no scaling/rotating is applied to the current context to map to page-space. The context is in "view-space" coordinates.
      • enableDataDetectors

        public boolean enableDataDetectors()
        Turns on or off data detection. If enabled, page text will be scanned for results such as URL's, addresses, phone numbers, times/dates, etc., as the page becomes visible. Where URL's are found, Link annotations are created in place. These are temporary annotations and are not saved.
      • enablePageShadows

        public void enablePageShadows​(boolean value)
        Specifies if shadows should be drawn around page borders in a PDFView. Defaults to YES.
      • gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer

        public boolean gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer​(UIGestureRecognizer gestureRecognizer,
                                                                                           UIGestureRecognizer otherGestureRecognizer)
        Description copied from interface: UIGestureRecognizerDelegate
        called when the recognition of one of gestureRecognizer or otherGestureRecognizer would be blocked by the other return YES to allow both to recognize simultaneously. the default implementation returns NO (by default no two gestures can be recognized simultaneously) note: returning YES is guaranteed to allow simultaneous recognition. returning NO is not guaranteed to prevent simultaneous recognition, as the other gesture's delegate may return YES
        Specified by:
        gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer in interface UIGestureRecognizerDelegate
      • gestureRecognizerShouldRequireFailureOfGestureRecognizer

        public boolean gestureRecognizerShouldRequireFailureOfGestureRecognizer​(UIGestureRecognizer gestureRecognizer,
                                                                                UIGestureRecognizer otherGestureRecognizer)
        Description copied from interface: UIGestureRecognizerDelegate
        called once per attempt to recognize, so failure requirements can be determined lazily and may be set up between recognizers across view hierarchies return YES to set up a dynamic failure requirement between gestureRecognizer and otherGestureRecognizer note: returning YES is guaranteed to set up the failure requirement. returning NO does not guarantee that there will not be a failure requirement as the other gesture's counterpart delegate or subclass methods may return YES
        Specified by:
        gestureRecognizerShouldRequireFailureOfGestureRecognizer in interface UIGestureRecognizerDelegate
      • gestureRecognizerShouldBegin

        public boolean gestureRecognizerShouldBegin​(UIGestureRecognizer gestureRecognizer)
        Description copied from class: UIView
        called when the recognizer attempts to transition out of UIGestureRecognizerStatePossible if a touch hit-tested to this view will be cancelled as a result of gesture recognition returns YES by default. return NO to cause the gesture recognizer to transition to UIGestureRecognizerStateFailed subclasses may override to prevent recognition of particular gestures. for example, UISlider prevents swipes parallel to the slider that start in the thumb
        Specified by:
        gestureRecognizerShouldBegin in interface UIGestureRecognizerDelegate
        Overrides:
        gestureRecognizerShouldBegin in class UIView
      • goBack

        public void goBack​(java.lang.Object sender)
      • goForward

        public void goForward​(java.lang.Object sender)
      • goToDestination

        public void goToDestination​(PDFDestination destination)
        Goes to the specified destination.
      • goToFirstPage

        public void goToFirstPage​(java.lang.Object sender)
      • goToLastPage

        public void goToLastPage​(java.lang.Object sender)
      • goToNextPage

        public void goToNextPage​(java.lang.Object sender)
      • goToPage

        public void goToPage​(PDFPage page)
        Scrolls to page.
      • goToPreviousPage

        public void goToPreviousPage​(java.lang.Object sender)
      • goToRectOnPage

        public void goToRectOnPage​(CGRect rect,
                                   PDFPage page)
        Goes to the specified rectangle on the specified page. If already visible, does nothing. This allows you to scroll the PDFView to a specific PDFAnnotation or PDFSelection (since both object have bounds methods). Note: rect is specified in page coordinates. Example: You might use this function when tabbing through a form to keep focus on the active element.
      • goToSelection

        public void goToSelection​(PDFSelection selection)
        Goes to the specified selection (since selections can be large, goes to the first character of the selection).
      • hash_static

        public static long hash_static()
      • highlightedSelections

        public NSArray<? extends PDFSelection> highlightedSelections()
        The following calls allow you to associate an array of PDFSelections with a PDFView. Unlike the user selection (above), these selections do not go away when the user clicks in the PDFView, etc. You must explicitly remove them by passing nil to -[setHighlightedSelections:]. These methods allow you to highlight text perhaps to indicate matches from a text search. To avoid confusion you should probably make sure the PDFSelections passed in are a different color from the user's default text selection color. Commonly used for highlighting search results.
      • inheritedAnimationDuration

        public static double inheritedAnimationDuration()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • interpolationQuality

        public long interpolationQuality()
        Allows setting the interpolation quality for images drawn into the PDFView context.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • isUsingPageViewController

        public boolean isUsingPageViewController()
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • layerClass

        public static org.moe.natj.objc.Class layerClass()
      • layoutDocumentView

        public void layoutDocumentView()
        Tells PDFView to calculate (layout) the inner views. Called automatically when -[setDocument] and -[setDisplayBox] are called. You'll need to call this if you add or remove a page on the document, rotate a page etc.
      • maxScaleFactor

        public double maxScaleFactor()
      • minScaleFactor

        public double minScaleFactor()
        Set the minimum and maximum scaling factors for the PDF document. Assigning these values will implicitly turn off autoScales, and allows scaleFactor to vary between these min / max scale factors
      • new_objc

        public static java.lang.Object new_objc()
      • pageBreakMargins

        public UIEdgeInsets pageBreakMargins()
        If displaysPageBreaks is enabled, you may customize the spacing between pages by defining margins for the top, bottom, left, and right of each page. Note that pageBreakMargins only allows positive values and will clamp any negative value to 0.0. By default, if displaysPageBreaks is enabled, pageBreakMargins is { 4.75, 4.0, 4.75, 4.0 } (with respect to top, left, bottom, right), otherwise it is { 0.0, 0.0, 0.0, 0.0 }
      • pageForPointNearest

        public PDFPage pageForPointNearest​(CGPoint point,
                                           boolean nearest)
        Given a point in view coordinates, returns the page at that point. May return nil if no page at point and nearest is NO.
      • pageShadowsEnabled

        public boolean pageShadowsEnabled()
        Specifies if shadows should be drawn around page borders in a PDFView. Defaults to YES.
      • performAction

        public void performAction​(PDFAction action)
        Performs the action specified by action.
      • requiresConstraintBasedLayout

        public static boolean requiresConstraintBasedLayout()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • rowSizeForPage

        public CGSize rowSizeForPage​(PDFPage page)
        Handy for initially sizing PDFView. Returns the size needed to display the 'row' of the view's current document containing the specified page at the current scale factor and with the current display attributes.
      • scaleFactor

        public double scaleFactor()
        Method to get / set the current scaling on the displayed PDF document. Default is 1.0 (actual size). Note that the given scaleFactor is clamped by the current min / max scale factors. When using a page view controller layout on iOS, this only affects the currently visible page and is ignored for any future loaded pages. You can observe the PDFViewPageChangedNotification notification to see when new pages are visible to apply new scale factors to them.
      • scaleFactorForSizeToFit

        public double scaleFactorForSizeToFit()
        Regardless of current autoScales mode, this returns the "size to fit" scale factor that autoScales would use for scaling the current document and layout. For continuous modes this is a "fit width" scale, for non-continuous modes it is a "best fit" scale.
      • scrollSelectionToVisible

        public void scrollSelectionToVisible​(java.lang.Object sender)
        If the selection is not visible, scrolls view so that it is.
      • selectAll

        public void selectAll​(java.lang.Object sender)
        Select all text for the entire document, unless in in page view controller mode for iOS, where only the current page is selected.
        Specified by:
        selectAll in interface UIResponderStandardEditActions
        Overrides:
        selectAll in class UIResponder
      • setAnimationBeginsFromCurrentState

        public static void setAnimationBeginsFromCurrentState​(boolean fromCurrentState)
      • setAnimationCurve

        public static void setAnimationCurve​(long curve)
      • setAnimationDelay

        public static void setAnimationDelay​(double delay)
      • setAnimationDelegate

        public static void setAnimationDelegate​(java.lang.Object delegate)
      • setAnimationDidStopSelector

        public static void setAnimationDidStopSelector​(org.moe.natj.objc.SEL selector)
      • setAnimationDuration_static

        public static void setAnimationDuration_static​(double duration)
      • setAnimationRepeatAutoreverses

        public static void setAnimationRepeatAutoreverses​(boolean repeatAutoreverses)
      • setAnimationRepeatCount_static

        public static void setAnimationRepeatCount_static​(float repeatCount)
      • setAnimationStartDate

        public static void setAnimationStartDate​(NSDate startDate)
      • setAnimationTransitionForViewCache

        public static void setAnimationTransitionForViewCache​(long transition,
                                                              UIView view,
                                                              boolean cache)
      • setAnimationWillStartSelector

        public static void setAnimationWillStartSelector​(org.moe.natj.objc.SEL selector)
      • setAnimationsEnabled

        public static void setAnimationsEnabled​(boolean enabled)
      • setAutoScales

        public void setAutoScales​(boolean value)
        Toggles mode whereby the scale factor is automatically changed as the view is resized, or rotated, to maximize the PDF displayed. For continuous modes this is a "fit width" behavior, for non-continuous modes it is a "best fit" behavior.
      • setCurrentSelection

        public void setCurrentSelection​(PDFSelection value)
        Getter: Returns actual instance of the current PDFSelection object. If you wish to modify this, you should make a copy of the selection returned and modify that instead. Method may return nil if there is no selection. Setter: Set current selection to selection. The view will redraw as necessary. The view will not scroll. Call -[scrollSelectionToVisible:] to scroll to the current selection.
      • setCurrentSelectionAnimate

        public void setCurrentSelectionAnimate​(PDFSelection selection,
                                               boolean animate)
        Like -[setCurrentSelection:] above but with the additional parameter that specifies whether setting the selection should be animated. The animation draws the user's attention to the new selection. Useful when searching.
      • setDelegate_unsafe

        public void setDelegate_unsafe​(PDFViewDelegate value)
        -------- delegate
      • setDelegate

        public void setDelegate​(PDFViewDelegate value)
        -------- delegate
      • setDisplayBox

        public void setDisplayBox​(long value)
        Specifies the box to display/clip to. Default is kPDFDisplayBoxCropBox.
      • setDisplayDirection

        public void setDisplayDirection​(long value)
        Set the layout direction, either vertical or horizontal, for the given display mode Defaults to vertical layout (kPDFDisplayDirectionVertical).
      • setDisplayMode

        public void setDisplayMode​(long value)
        See PDFDisplayMode constants above. Default is kPDFDisplaySinglePageContinuous.
      • setDisplaysAsBook

        public void setDisplaysAsBook​(boolean value)
        Specifies whether the first page is to be treated as a cover and (for two-up modes) displayed by itself.
      • setDisplaysPageBreaks

        public void setDisplaysPageBreaks​(boolean value)
        Toggle displaying or not displaying page breaks (spacing) between pages. This spacing value is defined by the pageBreakMargins property. If displaysPageBreaks is NO, then pageBreakMargins will always return { 0.0, 0.0, 0.0, 0.0 }. Default is YES.
      • setDisplaysRTL

        public void setDisplaysRTL​(boolean value)
        Specifies presentation of pages from right-to-left. Defaults to NO.
      • setDocument

        public void setDocument​(PDFDocument value)
        Methods for associating a PDFDocument with a PDFView.
      • setEnableDataDetectors

        public void setEnableDataDetectors​(boolean value)
        Turns on or off data detection. If enabled, page text will be scanned for results such as URL's, addresses, phone numbers, times/dates, etc., as the page becomes visible. Where URL's are found, Link annotations are created in place. These are temporary annotations and are not saved.
      • setHighlightedSelections

        public void setHighlightedSelections​(NSArray<? extends PDFSelection> value)
        The following calls allow you to associate an array of PDFSelections with a PDFView. Unlike the user selection (above), these selections do not go away when the user clicks in the PDFView, etc. You must explicitly remove them by passing nil to -[setHighlightedSelections:]. These methods allow you to highlight text perhaps to indicate matches from a text search. To avoid confusion you should probably make sure the PDFSelections passed in are a different color from the user's default text selection color. Commonly used for highlighting search results.
      • setInterpolationQuality

        public void setInterpolationQuality​(long value)
        Allows setting the interpolation quality for images drawn into the PDFView context.
      • setMaxScaleFactor

        public void setMaxScaleFactor​(double value)
      • setMinScaleFactor

        public void setMinScaleFactor​(double value)
        Set the minimum and maximum scaling factors for the PDF document. Assigning these values will implicitly turn off autoScales, and allows scaleFactor to vary between these min / max scale factors
      • setPageBreakMargins

        public void setPageBreakMargins​(UIEdgeInsets value)
        If displaysPageBreaks is enabled, you may customize the spacing between pages by defining margins for the top, bottom, left, and right of each page. Note that pageBreakMargins only allows positive values and will clamp any negative value to 0.0. By default, if displaysPageBreaks is enabled, pageBreakMargins is { 4.75, 4.0, 4.75, 4.0 } (with respect to top, left, bottom, right), otherwise it is { 0.0, 0.0, 0.0, 0.0 }
      • setScaleFactor

        public void setScaleFactor​(double value)
        Method to get / set the current scaling on the displayed PDF document. Default is 1.0 (actual size). Note that the given scaleFactor is clamped by the current min / max scale factors. When using a page view controller layout on iOS, this only affects the currently visible page and is ignored for any future loaded pages. You can observe the PDFViewPageChangedNotification notification to see when new pages are visible to apply new scale factors to them.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • usePageViewControllerWithViewOptions

        public void usePageViewControllerWithViewOptions​(boolean enable,
                                                         NSDictionary<?,​?> viewOptions)
        Changes the underlying scroll view to use a UIPageViewController as a way to layout and navigate pages. Note that you can change the orientation via -[PDFView setDisplayDirection:], and that the property -[PDFView displayMode] is ignored: layout is always assumed single page continuous. The viewOptions argument is given to the UIPageViewController initializer, as a way to pass in page spacing, etc.
      • userInterfaceLayoutDirectionForSemanticContentAttribute

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

        public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection​(long semanticContentAttribute,
                                                                                                            long layoutDirection)
      • version_static

        public static long version_static()
      • visiblePages

        public NSArray<? extends PDFPage> visiblePages()
        Returns an array of PDFPage objects representing the currently visible pages. May return empty array if no document is assigned.
      • zoomIn

        public void zoomIn​(java.lang.Object sender)
        Zooming changes the scaling by root-2.
      • zoomOut

        public void zoomOut​(java.lang.Object sender)