NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PDFPage(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addAnnotation(PDFAnnotation annotation)
Methods allowing annotations to be added or removed.
|
static PDFPage |
alloc() |
static PDFPage |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
PDFAnnotation |
annotationAtPoint(CGPoint point)
Hit-testing method returns the annotation at point (or NULL if none).
|
NSArray<? extends PDFAnnotation> |
annotations()
Array of all PDFAnnotation objects on this page.
|
NSAttributedString |
attributedString() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
CGRect |
boundsForBox(long box)
The bounds for the specified box (see defines above).
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
CGRect |
characterBoundsAtIndex(long index)
Returns the bounds in page-space, of the character at index.
|
long |
characterIndexAtPoint(CGPoint point)
Returns the index of the character at point (in page space).
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSData |
dataRepresentation()
Returns PDF data (a proper PDF document) consisting of a single page (this page).
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
boolean |
displaysAnnotations()
Method to turn on or off the display of annotations when the page is drawn.
|
PDFDocument |
document()
The PDFDocument the page is associated with.
|
void |
drawWithBoxToContext(long box,
CGContextRef context)
Drawing method takes into account page rotation, draws in page space relative to and clipped to the box bounds.
|
static long |
hash_static() |
PDFPage |
init()
For subclassers, just call the standard -(id) init.
|
PDFPage |
initWithImage(UIImage image)
Returns a PDFPage for the passed in image.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
label()
The page label.
|
static PDFPage |
new_objc() |
long |
numberOfCharacters()
Number of characters on the page (including linefeeds and spaces inserted).
|
CGPDFPageRef |
pageRef()
This is the CGPDFPage associated with the PDFPage object.
|
void |
removeAnnotation(PDFAnnotation annotation) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
long |
rotation()
Rotation on a page.
|
PDFSelection |
selectionForLineAtPoint(CGPoint point)
Given a point in page-space, returns a selection representing a whole line at that point.
|
PDFSelection |
selectionForRange(NSRange range)
Given a range, returns a selection representing text within that range.
|
PDFSelection |
selectionForRect(CGRect rect)
Given a rect in page-space, returns a selection representing enclosed text on page.
|
PDFSelection |
selectionForWordAtPoint(CGPoint point)
Given a point in page-space, returns a selection representing a whole word at that point.
|
PDFSelection |
selectionFromPointToPoint(CGPoint startPoint,
CGPoint endPoint)
Returns a selection representing text between startPt and endPt.
|
void |
setBoundsForBox(CGRect bounds,
long box)
Set bounds for the specified box.
|
void |
setDisplaysAnnotations(boolean value)
Method to turn on or off the display of annotations when the page is drawn.
|
void |
setRotation(long value)
Rotation on a page.
|
static void |
setVersion_static(long aVersion) |
java.lang.String |
string()
String (with linefeeds and in some cases spaces inserted) representing the text on the page.
|
static org.moe.natj.objc.Class |
superclass_static() |
UIImage |
thumbnailOfSizeForBox(CGSize size,
long box)
Convenience function that returns an image of this page, with annotations, that fits the given size.
|
void |
transformContextForBox(CGContextRef context,
long box)
Given a display box, will transform the given context to take into account the rotation of the page as well as
the origin of the box with respect to the page's base coordinates system.
|
CGAffineTransform |
transformForBox(long box)
This transform correctly rotates and offsets based on the given page's rotation property and the display box type.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public void addAnnotation(PDFAnnotation annotation)
public static PDFPage alloc()
public static PDFPage allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public PDFAnnotation annotationAtPoint(CGPoint point)
public NSArray<? extends PDFAnnotation> annotations()
public NSAttributedString attributedString()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public CGRect boundsForBox(long box)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public CGRect characterBoundsAtIndex(long index)
public long characterIndexAtPoint(CGPoint point)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic NSData dataRepresentation()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public boolean displaysAnnotations()
public PDFDocument document()
public void drawWithBoxToContext(long box,
CGContextRef context)
public static long hash_static()
public PDFPage init()
public PDFPage initWithImage(UIImage image)
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public java.lang.String label()
public static PDFPage new_objc()
public long numberOfCharacters()
public CGPDFPageRef pageRef()
public void removeAnnotation(PDFAnnotation annotation)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public long rotation()
public PDFSelection selectionForLineAtPoint(CGPoint point)
public PDFSelection selectionForRange(NSRange range)
public PDFSelection selectionForRect(CGRect rect)
public PDFSelection selectionForWordAtPoint(CGPoint point)
public PDFSelection selectionFromPointToPoint(CGPoint startPoint, CGPoint endPoint)
public void setBoundsForBox(CGRect bounds, long box)
public void setDisplaysAnnotations(boolean value)
public void setRotation(long value)
public static void setVersion_static(long aVersion)
public java.lang.String string()
public static org.moe.natj.objc.Class superclass_static()
public UIImage thumbnailOfSizeForBox(CGSize size, long box)
public void transformContextForBox(CGContextRef context, long box)
public CGAffineTransform transformForBox(long box)
public static long version_static()