Package apple.pdfkit
Class PDFView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.pdfkit.PDFView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFindInteractionDelegate,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIGestureRecognizerDelegate,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIPopoverPresentationControllerSourceItem,UIResponderStandardEditActions,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
public class PDFView extends UIView implements UIGestureRecognizerDelegate, UIFindInteractionDelegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIView
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPDFView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull PDFView_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.@NotNull PDFView_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull PDFView_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull PDFView_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull PDFView_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull PDFView_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static PDFViewalloc()static PDFViewallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static voidanimateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)voidannotationsChangedOnPage(@NotNull PDFPage page)Tells PDFView that an annotation has changed on the specified page.static @NotNull PDFViewappearance()static @NotNull PDFViewappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull PDFViewappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull PDFViewappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull PDFViewappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull PDFViewappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanareAnimationsEnabled()longareaOfInterestForMouse(@NotNull UIEvent event)Returns type of area (see defines above) mouse is over.longareaOfInterestForPoint(CGPoint cursorLocation)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)booleanautoScales()Toggles mode whereby the scale factor is automatically changed as the view is resized, or rotated, to maximize the PDF displayed.@NotNull UIColorbackgroundColor()Default is a 50% gray.static voidbeginAnimationsContext(@Nullable java.lang.String animationID, @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)booleancanGoBack()Page visitations done via goToFirstPage:, goToLastPage:, goToPage:, etc.booleancanGoForward()booleancanGoToFirstPage()Simple page navigation methods.booleancanGoToLastPage()booleancanGoToNextPage()booleancanGoToPreviousPage()booleancanZoomIn()booleancanZoomOut()static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()voidclearSelection()Equivalent to -[PDFView setCurrentSelection: nil].static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)static voidcommitAnimations()Deprecated.CGPointconvertPointFromPage(CGPoint point, @NotNull PDFPage page)Converts a point from page coordinates to view coordinates.CGPointconvertPointToPage(CGPoint point, @NotNull PDFPage page)Converts a point from view coordinates to page coordinates.CGRectconvertRectFromPage(CGRect rect, @NotNull PDFPage page)Converts a rect from page coordinates to view coordinates.CGRectconvertRectToPage(CGRect rect, @NotNull PDFPage page)Converts a rect from view coordinates to page coordinates.voidcopy(@Nullable java.lang.Object sender)Copy the selection (if any) to the pasteboard.@Nullable PDFDestinationcurrentDestination()Returns a PDFDestination representing the current page and point displayed (see -[currentPage] for more comments).@Nullable PDFPagecurrentPage()Returns the current page you are on.@Nullable PDFSelectioncurrentSelection()Getter: Returns actual instance of the current PDFSelection object.static java.lang.StringdebugDescription_static()@Nullable PDFViewDelegatedelegate()-------- delegatestatic java.lang.Stringdescription_static()longdisplayBox()Specifies the box to display/clip to.longdisplayDirection()Set the layout direction, either vertical or horizontal, for the given display mode Defaults to vertical layout (kPDFDisplayDirectionVertical).longdisplayMode()See PDFDisplayMode constants above.booleandisplaysAsBook()Specifies whether the first page is to be treated as a cover and (for two-up modes) displayed by itself.booleandisplaysPageBreaks()Toggle displaying or not displaying page breaks (spacing) between pages.booleandisplaysRTL()Specifies presentation of pages from right-to-left.@Nullable PDFDocumentdocument()Methods for associating a PDFDocument with a PDFView.@Nullable UIViewdocumentView()Returns the innermost view used by PDFView.voiddrawPagePostToContext(@NotNull PDFPage page, @NotNull CGContextRef context)Also a handy method for sub-classing.voiddrawPageToContext(@NotNull PDFPage page, @NotNull CGContextRef context)For subclasses.booleanenableDataDetectors()Turns on or off data detection.voidenablePageShadows(boolean value)Specifies if shadows should be drawn around page borders in a PDFView.@NotNull UIFindInteractionfindInteraction()If `findInteractionEnabled` is set to true, returns the receiver's built-in find interaction.voidfindInteractionDidBeginFindSession(@NotNull UIFindInteraction interaction, @NotNull UIFindSession session)Called when the search operation begins (and the system search UI appears).voidfindInteractionDidEndFindSession(@NotNull UIFindInteraction interaction, @NotNull UIFindSession session)Called when the current search session has changed or ended.@Nullable UIFindSessionfindInteractionSessionForView(@NotNull UIFindInteraction interaction, @NotNull UIView view)Called when a find session is requested to begin by the user.booleangestureRecognizerShouldBegin(@NotNull UIGestureRecognizer gestureRecognizer)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.booleangestureRecognizerShouldBeRequiredToFailByGestureRecognizer(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UIGestureRecognizer otherGestureRecognizer)API-Since: 7.0booleangestureRecognizerShouldReceiveEvent(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UIEvent event)called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress: return NO to prevent the gesture recognizer from seeing this event API-Since: 13.4booleangestureRecognizerShouldReceivePress(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UIPress press)called before pressesBegan:withEvent: is called on the gesture recognizer for a new press.booleangestureRecognizerShouldReceiveTouch(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UITouch touch)called before touchesBegan:withEvent: is called on the gesture recognizer for a new touch.booleangestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UIGestureRecognizer otherGestureRecognizer)called when the recognition of one of gestureRecognizer or otherGestureRecognizer would be blocked by the other return YES to allow both to recognize simultaneously.booleangestureRecognizerShouldRequireFailureOfGestureRecognizer(@NotNull UIGestureRecognizer gestureRecognizer, @NotNull UIGestureRecognizer otherGestureRecognizer)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.voidgoBack(@Nullable java.lang.Object sender)voidgoForward(@Nullable java.lang.Object sender)voidgoToDestination(@NotNull PDFDestination destination)Goes to the specified destination.voidgoToFirstPage(@Nullable java.lang.Object sender)voidgoToLastPage(@Nullable java.lang.Object sender)voidgoToNextPage(@Nullable java.lang.Object sender)voidgoToPage(@NotNull PDFPage page)Scrolls to page.voidgoToPreviousPage(@Nullable java.lang.Object sender)voidgoToRectOnPage(CGRect rect, @NotNull PDFPage page)Goes to the specified rectangle on the specified page.voidgoToSelection(@NotNull PDFSelection selection)Goes to the specified selection (since selections can be large, goes to the first character of the selection).static longhash_static()@Nullable NSArray<? extends PDFSelection>highlightedSelections()The following calls allow you to associate an array of PDFSelections with a PDFView.static doubleinheritedAnimationDuration()PDFViewinit()PDFViewinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERPDFViewinitWithFrame(CGRect frame)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)longinterpolationQuality()Allows setting the interpolation quality for images drawn into the PDFView context.booleanisFindInteractionEnabled()Enables the built-in find interaction.booleanisInMarkupMode()If YES, page overlay views will be hit tested and therefore receive gestures.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisUsingPageViewController()API-Since: 11.0static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull org.moe.natj.objc.ClasslayerClass()voidlayoutDocumentView()Tells PDFView to calculate (layout) the inner views.doublemaxScaleFactor()API-Since: 11.0doubleminScaleFactor()Set the minimum and maximum scaling factors for the PDF document.static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)static PDFViewnew_objc()UIEdgeInsetspageBreakMargins()If displaysPageBreaks is enabled, you may customize the spacing between pages by defining margins for the top, bottom, left, and right of each page.@Nullable PDFPagepageForPointNearest(CGPoint point, boolean nearest)Given a point in view coordinates, returns the page at that point.@Nullable PDFPageOverlayViewProviderpageOverlayViewProvider()API-Since: 16.0booleanpageShadowsEnabled()Specifies if shadows should be drawn around page borders in a PDFView.voidperformAction(@NotNull PDFAction action)Performs the action specified by action.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)CGSizerowSizeForPage(@NotNull PDFPage page)Handy for initially sizing PDFView.doublescaleFactor()Method to get / set the current scaling on the displayed PDF document.doublescaleFactorForSizeToFit()Regardless of current autoScales mode, this returns the "size to fit" scale factor that autoScales would use for scaling the current document and layout.voidscrollSelectionToVisible(@Nullable java.lang.Object sender)If the selection is not visible, scrolls view so that it is.voidselectAll(@Nullable 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.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)Deprecated.static voidsetAnimationCurve(long curve)Deprecated.static voidsetAnimationDelay(double delay)Deprecated.static voidsetAnimationDelegate(@Nullable java.lang.Object delegate)Deprecated.static voidsetAnimationDidStopSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.static voidsetAnimationDuration_static(double duration)Deprecated.static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)Deprecated.static voidsetAnimationRepeatCount_static(float repeatCount)Deprecated.static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(@NotNull NSDate startDate)Deprecated.static voidsetAnimationTransitionForViewCache(long transition, @NotNull UIView view, boolean cache)Deprecated.static voidsetAnimationWillStartSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.voidsetAutoScales(boolean value)Toggles mode whereby the scale factor is automatically changed as the view is resized, or rotated, to maximize the PDF displayed.voidsetBackgroundColor(@NotNull UIColor value)Default is a 50% gray.voidsetCurrentSelection(@Nullable PDFSelection value)Getter: Returns actual instance of the current PDFSelection object.voidsetCurrentSelectionAnimate(@Nullable PDFSelection selection, boolean animate)Like -[setCurrentSelection:] above but with the additional parameter that specifies whether setting the selection should be animated.voidsetDelegate(@Nullable PDFViewDelegate value)-------- delegatevoidsetDelegate_unsafe(@Nullable PDFViewDelegate value)-------- delegatevoidsetDisplayBox(long value)Specifies the box to display/clip to.voidsetDisplayDirection(long value)Set the layout direction, either vertical or horizontal, for the given display mode Defaults to vertical layout (kPDFDisplayDirectionVertical).voidsetDisplayMode(long value)See PDFDisplayMode constants above.voidsetDisplaysAsBook(boolean value)Specifies whether the first page is to be treated as a cover and (for two-up modes) displayed by itself.voidsetDisplaysPageBreaks(boolean value)Toggle displaying or not displaying page breaks (spacing) between pages.voidsetDisplaysRTL(boolean value)Specifies presentation of pages from right-to-left.voidsetDocument(@Nullable PDFDocument value)Methods for associating a PDFDocument with a PDFView.voidsetEnableDataDetectors(boolean value)Turns on or off data detection.voidsetFindInteractionEnabled(boolean value)Enables the built-in find interaction.voidsetHighlightedSelections(@Nullable NSArray<? extends PDFSelection> value)The following calls allow you to associate an array of PDFSelections with a PDFView.voidsetInMarkupMode(boolean value)If YES, page overlay views will be hit tested and therefore receive gestures.voidsetInterpolationQuality(long value)Allows setting the interpolation quality for images drawn into the PDFView context.voidsetMaxScaleFactor(double value)API-Since: 11.0voidsetMinScaleFactor(double value)Set the minimum and maximum scaling factors for the PDF document.voidsetPageBreakMargins(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.voidsetPageOverlayViewProvider(@Nullable PDFPageOverlayViewProvider value)API-Since: 16.0voidsetPageOverlayViewProvider_unsafe(@Nullable PDFPageOverlayViewProvider value)API-Since: 16.0voidsetScaleFactor(double value)Method to get / set the current scaling on the displayed PDF document.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static voidtransitionFromViewToViewDurationOptionsCompletion(@NotNull UIView fromView, @NotNull UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(@NotNull UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)voidusePageViewControllerWithViewOptions(boolean enable, @Nullable NSDictionary<?,?> viewOptions)Changes the underlying scroll view to use a UIPageViewController as a way to layout and navigate pages.static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)static booleanuseStoredAccessor()Deprecated.static longversion_static()@NotNull NSArray<? extends PDFPage>visiblePages()Returns an array of PDFPage objects representing the currently visible pages.voidzoomIn(@Nullable java.lang.Object sender)Zooming changes the scaling by root-2.voidzoomOut(@Nullable java.lang.Object sender)-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, anchorPoint, appliedContentSizeCategoryLimitsDescription, autoresizesSubviews, autoresizingMask, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, coordinateSpace, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, encodeWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, focusItemsInRect, frame, frameForAlignmentRect, frameInView, gestureRecognizers, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, hoverStyle, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnchorPoint, setAutoresizesSubviews, setAutoresizingMask, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setHoverStyle, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, traitOverrides, transform, transform3D, translatesAutoresizingMaskIntoConstraints, unregisterForTraitChanges, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, updateTraitsIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, @NotNull UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static PDFView alloc()
-
allocWithZone
public static PDFView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, @NotNull UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, @NotNull UIView.Block_animateWithDurationAnimationsCompletion_1 animations, @Nullable UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, @NotNull UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
annotationsChangedOnPage
public void annotationsChangedOnPage(@NotNull @NotNull 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. API-Since: 11.0
-
appearance
@NotNull public static @NotNull PDFView appearance()
-
_appearance
@NotNull public @NotNull PDFView _appearance()
Description copied from interface:UIAppearanceTo 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:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIView
-
appearanceForTraitCollection
@NotNull public static @NotNull PDFView appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
_appearanceForTraitCollection
@NotNull public @NotNull PDFView _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIView
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull PDFView appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull PDFView _appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceAPI-Since: 8.0 Deprecated-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIView
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull PDFView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull PDFView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIView
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull PDFView appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull PDFView _appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo 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. API-Since: 5.0 Deprecated-Since: 9.0- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIView
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull PDFView appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull PDFView _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIView
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
areaOfInterestForMouse
public long areaOfInterestForMouse(@NotNull @NotNull 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(@NotNull @NotNull java.lang.String key)
-
backgroundColor
@NotNull public @NotNull UIColor backgroundColor()
Default is a 50% gray.- Overrides:
backgroundColorin classUIView
-
beginAnimationsContext
@Deprecated public static void beginAnimationsContext(@Nullable @Nullable java.lang.String animationID, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.
-
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(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearSelection
public void clearSelection()
Equivalent to -[PDFView setCurrentSelection: nil].
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
commitAnimations
@Deprecated public static void commitAnimations()
Deprecated.
-
convertPointFromPage
public CGPoint convertPointFromPage(CGPoint point, @NotNull @NotNull PDFPage page)
Converts a point from page coordinates to view coordinates.
-
convertPointToPage
public CGPoint convertPointToPage(CGPoint point, @NotNull @NotNull PDFPage page)
Converts a point from view coordinates to page coordinates.
-
convertRectFromPage
public CGRect convertRectFromPage(CGRect rect, @NotNull @NotNull PDFPage page)
Converts a rect from page coordinates to view coordinates.
-
convertRectToPage
public CGRect convertRectToPage(CGRect rect, @NotNull @NotNull PDFPage page)
Converts a rect from view coordinates to page coordinates.
-
copy
public void copy(@Nullable @Nullable java.lang.Object sender)Copy the selection (if any) to the pasteboard.- Specified by:
copyin interfaceUIResponderStandardEditActions- Overrides:
copyin classUIResponder
-
currentDestination
@Nullable public @Nullable PDFDestination currentDestination()
Returns a PDFDestination representing the current page and point displayed (see -[currentPage] for more comments).
-
currentPage
@Nullable public @Nullable 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
@Nullable public @Nullable 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()
-
delegate
@Nullable public @Nullable PDFViewDelegate delegate()
-------- delegate
-
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). API-Since: 11.0
-
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. API-Since: 11.0
-
document
@Nullable public @Nullable PDFDocument document()
Methods for associating a PDFDocument with a PDFView.
-
documentView
@Nullable public @Nullable UIView documentView()
Returns the innermost view used by PDFView. This is the view representing the displayed document pages.
-
drawPageToContext
public void drawPageToContext(@NotNull @NotNull PDFPage page, @NotNull @NotNull 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. API-Since: 11.0
-
drawPagePostToContext
public void drawPagePostToContext(@NotNull @NotNull PDFPage page, @NotNull @NotNull 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. API-Since: 11.0
-
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. API-Since: 11.0
-
enablePageShadows
public void enablePageShadows(boolean value)
Specifies if shadows should be drawn around page borders in a PDFView. Defaults to YES. API-Since: 12.0
-
gestureRecognizerShouldBeRequiredToFailByGestureRecognizer
public boolean gestureRecognizerShouldBeRequiredToFailByGestureRecognizer(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UIGestureRecognizer otherGestureRecognizer)Description copied from interface:UIGestureRecognizerDelegateAPI-Since: 7.0- Specified by:
gestureRecognizerShouldBeRequiredToFailByGestureRecognizerin interfaceUIGestureRecognizerDelegate
-
gestureRecognizerShouldReceivePress
public boolean gestureRecognizerShouldReceivePress(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UIPress press)Description copied from interface:UIGestureRecognizerDelegatecalled before pressesBegan:withEvent: is called on the gesture recognizer for a new press. return NO to prevent the gesture recognizer from seeing this press- Specified by:
gestureRecognizerShouldReceivePressin interfaceUIGestureRecognizerDelegate
-
gestureRecognizerShouldReceiveTouch
public boolean gestureRecognizerShouldReceiveTouch(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UITouch touch)Description copied from interface:UIGestureRecognizerDelegatecalled before touchesBegan:withEvent: is called on the gesture recognizer for a new touch. return NO to prevent the gesture recognizer from seeing this touch- Specified by:
gestureRecognizerShouldReceiveTouchin interfaceUIGestureRecognizerDelegate
-
gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer
public boolean gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UIGestureRecognizer otherGestureRecognizer)Description copied from interface:UIGestureRecognizerDelegatecalled 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:
gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizerin interfaceUIGestureRecognizerDelegate
-
gestureRecognizerShouldRequireFailureOfGestureRecognizer
public boolean gestureRecognizerShouldRequireFailureOfGestureRecognizer(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UIGestureRecognizer otherGestureRecognizer)Description copied from interface:UIGestureRecognizerDelegatecalled 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 API-Since: 7.0- Specified by:
gestureRecognizerShouldRequireFailureOfGestureRecognizerin interfaceUIGestureRecognizerDelegate
-
gestureRecognizerShouldBegin
public boolean gestureRecognizerShouldBegin(@NotNull @NotNull UIGestureRecognizer gestureRecognizer)Description copied from class:UIViewcalled 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 API-Since: 6.0- Specified by:
gestureRecognizerShouldBeginin interfaceUIGestureRecognizerDelegate- Overrides:
gestureRecognizerShouldBeginin classUIView
-
goBack
public void goBack(@Nullable @Nullable java.lang.Object sender)
-
goForward
public void goForward(@Nullable @Nullable java.lang.Object sender)
-
goToDestination
public void goToDestination(@NotNull @NotNull PDFDestination destination)Goes to the specified destination.
-
goToFirstPage
public void goToFirstPage(@Nullable @Nullable java.lang.Object sender)
-
goToLastPage
public void goToLastPage(@Nullable @Nullable java.lang.Object sender)
-
goToNextPage
public void goToNextPage(@Nullable @Nullable java.lang.Object sender)
-
goToPage
public void goToPage(@NotNull @NotNull PDFPage page)Scrolls to page.
-
goToPreviousPage
public void goToPreviousPage(@Nullable @Nullable java.lang.Object sender)
-
goToRectOnPage
public void goToRectOnPage(CGRect rect, @NotNull @NotNull 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(@NotNull @NotNull 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
@Nullable public @Nullable 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. API-Since: 11.0
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
initWithCoder
public PDFView initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIView
-
initWithFrame
public PDFView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIView
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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. API-Since: 11.0
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
isUsingPageViewController
public boolean isUsingPageViewController()
API-Since: 11.0
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
layerClass
@NotNull public static @NotNull 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()
API-Since: 11.0
-
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 API-Since: 11.0
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, @NotNull UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
new_objc
public static PDFView 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 } API-Since: 11.0
-
pageForPointNearest
@Nullable public @Nullable 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. API-Since: 12.0
-
performAction
public void performAction(@NotNull @NotNull PDFAction action)Performs the action specified by action. API-Since: 11.0
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull @NotNull NSArray<? extends UIView> views, long options, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(@NotNull UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
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(@NotNull @NotNull 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. API-Since: 11.0
-
scrollSelectionToVisible
public void scrollSelectionToVisible(@Nullable @Nullable java.lang.Object sender)If the selection is not visible, scrolls view so that it is.
-
selectAll
public void selectAll(@Nullable @Nullable 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:
selectAllin interfaceUIResponderStandardEditActions- Overrides:
selectAllin classUIResponder
-
setAnimationBeginsFromCurrentState
@Deprecated public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
Deprecated.
-
setAnimationCurve
@Deprecated public static void setAnimationCurve(long curve)
Deprecated.
-
setAnimationDelay
@Deprecated public static void setAnimationDelay(double delay)
Deprecated.
-
setAnimationDelegate
@Deprecated public static void setAnimationDelegate(@Nullable @Nullable java.lang.Object delegate)Deprecated.
-
setAnimationDidStopSelector
@Deprecated public static void setAnimationDidStopSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationDuration_static
@Deprecated public static void setAnimationDuration_static(double duration)
Deprecated.
-
setAnimationRepeatAutoreverses
@Deprecated public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
Deprecated.
-
setAnimationRepeatCount_static
@Deprecated public static void setAnimationRepeatCount_static(float repeatCount)
Deprecated.
-
setAnimationStartDate
@Deprecated public static void setAnimationStartDate(@NotNull @NotNull NSDate startDate)Deprecated.
-
setAnimationTransitionForViewCache
@Deprecated public static void setAnimationTransitionForViewCache(long transition, @NotNull @NotNull UIView view, boolean cache)Deprecated.
-
setAnimationWillStartSelector
@Deprecated public static void setAnimationWillStartSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
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.
-
setBackgroundColor
public void setBackgroundColor(@NotNull @NotNull UIColor value)Default is a 50% gray.- Overrides:
setBackgroundColorin classUIView
-
setCurrentSelection
public void setCurrentSelection(@Nullable @Nullable 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(@Nullable @Nullable 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. API-Since: 11.0
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable PDFViewDelegate value)-------- delegate
-
setDelegate
public void setDelegate(@Nullable @Nullable 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). API-Since: 11.0
-
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. API-Since: 11.0
-
setDocument
public void setDocument(@Nullable @Nullable 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. API-Since: 11.0
-
setHighlightedSelections
public void setHighlightedSelections(@Nullable @Nullable 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. API-Since: 11.0
-
setInterpolationQuality
public void setInterpolationQuality(long value)
Allows setting the interpolation quality for images drawn into the PDFView context. API-Since: 11.0
-
setMaxScaleFactor
public void setMaxScaleFactor(double value)
API-Since: 11.0
-
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 API-Since: 11.0
-
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 } API-Since: 11.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()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(@NotNull @NotNull UIView fromView, @NotNull @NotNull UIView toView, double duration, long options, @Nullable UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(@NotNull @NotNull UIView view, double duration, long options, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
usePageViewControllerWithViewOptions
public void usePageViewControllerWithViewOptions(boolean enable, @Nullable @Nullable 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. API-Since: 11.0
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
visiblePages
@NotNull public @NotNull NSArray<? extends PDFPage> visiblePages()
Returns an array of PDFPage objects representing the currently visible pages. May return empty array if no document is assigned. API-Since: 11.0
-
zoomIn
public void zoomIn(@Nullable @Nullable java.lang.Object sender)Zooming changes the scaling by root-2.
-
zoomOut
public void zoomOut(@Nullable @Nullable java.lang.Object sender)
-
gestureRecognizerShouldReceiveEvent
public boolean gestureRecognizerShouldReceiveEvent(@NotNull @NotNull UIGestureRecognizer gestureRecognizer, @NotNull @NotNull UIEvent event)Description copied from interface:UIGestureRecognizerDelegatecalled once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress: return NO to prevent the gesture recognizer from seeing this event API-Since: 13.4- Specified by:
gestureRecognizerShouldReceiveEventin interfaceUIGestureRecognizerDelegate
-
findInteraction
@NotNull public @NotNull UIFindInteraction findInteraction()
If `findInteractionEnabled` is set to true, returns the receiver's built-in find interaction. Otherwise, nil. API-Since: 16.0
-
findInteractionDidBeginFindSession
public void findInteractionDidBeginFindSession(@NotNull @NotNull UIFindInteraction interaction, @NotNull @NotNull UIFindSession session)Description copied from interface:UIFindInteractionDelegateCalled when the search operation begins (and the system search UI appears). This would be a good time to decorate your view to indicate that a search operation is about to occur. System text elements will apply a dimming view around all non-highlighted search results, for instance.- Specified by:
findInteractionDidBeginFindSessionin interfaceUIFindInteractionDelegate
-
findInteractionDidEndFindSession
public void findInteractionDidEndFindSession(@NotNull @NotNull UIFindInteraction interaction, @NotNull @NotNull UIFindSession session)Description copied from interface:UIFindInteractionDelegateCalled when the current search session has changed or ended. This would be a good time to remove all decorations applied to found search results, and any decorations added when the search operation began (such as a dimming view).- Specified by:
findInteractionDidEndFindSessionin interfaceUIFindInteractionDelegate
-
findInteractionSessionForView
@Nullable public @Nullable UIFindSession findInteractionSessionForView(@NotNull @NotNull UIFindInteraction interaction, @NotNull @NotNull UIView view)
Description copied from interface:UIFindInteractionDelegateCalled when a find session is requested to begin by the user. Return an instance of a UIFindSession implementation to allow the find session to begin, otherwise return nil to prevent the system find panel from appearing.- Specified by:
findInteractionSessionForViewin interfaceUIFindInteractionDelegate
-
isFindInteractionEnabled
public boolean isFindInteractionEnabled()
Enables the built-in find interaction. API-Since: 16.0
-
isInMarkupMode
public boolean isInMarkupMode()
If YES, page overlay views will be hit tested and therefore receive gestures. If NO, PDFView will receive gestures, namely those for text selection. API-Since: 16.0
-
pageOverlayViewProvider
@Nullable public @Nullable PDFPageOverlayViewProvider pageOverlayViewProvider()
API-Since: 16.0
-
setFindInteractionEnabled
public void setFindInteractionEnabled(boolean value)
Enables the built-in find interaction. API-Since: 16.0
-
setInMarkupMode
public void setInMarkupMode(boolean value)
If YES, page overlay views will be hit tested and therefore receive gestures. If NO, PDFView will receive gestures, namely those for text selection. API-Since: 16.0
-
setPageOverlayViewProvider_unsafe
public void setPageOverlayViewProvider_unsafe(@Nullable @Nullable PDFPageOverlayViewProvider value)API-Since: 16.0
-
setPageOverlayViewProvider
public void setPageOverlayViewProvider(@Nullable @Nullable PDFPageOverlayViewProvider value)API-Since: 16.0
-
animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion
public static void animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, @NotNull UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-