NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PDFDocument(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
long |
accessPermissions()
Returns all 7 properties above as a PDFAccessPermissions value.
|
static PDFDocument |
alloc() |
static PDFDocument |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsCommenting()
Create or modify annotations, including form field entries
|
boolean |
allowsContentAccessibility()
Extract content, but only for the purpose of accessibility
|
boolean |
allowsCopying()
Extract content (text, images, etc.)
|
boolean |
allowsDocumentAssembly()
Page management: insert, delete, and rotate pages
|
boolean |
allowsDocumentChanges()
Modify the document contents except for page management (document attrubutes)
|
boolean |
allowsFormFieldEntry()
Modify form field entries, even if allowsCommenting is NO
|
boolean |
allowsPrinting()
Printing the document
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
void |
beginFindStringsWithOptions(NSArray<java.lang.String> strings,
long options)
Like -[beginFindString:withOptions:] above but it accepts an array of strings to search for.
|
void |
beginFindStringWithOptions(java.lang.String string,
long options)
Begins a find, searching the document for string.
|
void |
cancelFindString()
Method to cancel a search.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
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()
Methods to record the current state of the PDFDocument as data or a file.
|
NSData |
dataRepresentationWithOptions(NSDictionary<?,?> options) |
static java.lang.String |
debugDescription_static() |
PDFDocumentDelegate |
delegate()
If a PDFDocument has a delegate, delegate methods may be called.
|
static java.lang.String |
description_static() |
NSDictionary<?,?> |
documentAttributes()
Returns a dictionary with PDF metadata.
|
CGPDFDocumentRef |
documentRef()
This is the CGPDFDocument associated with the PDFDocument object.
|
NSURL |
documentURL()
May return NULL if the document was created from NSData.
|
void |
exchangePageAtIndexWithPageAtIndex(long indexA,
long indexB) |
PDFSelection |
findStringFromSelectionWithOptions(java.lang.String string,
PDFSelection selection,
long options)
Searches for only the next instance of string beginning after the last character of selection with options (or
preceding the first character of the selection if NSBackwardsSearch is specified as a search option).
|
NSArray<? extends PDFSelection> |
findStringWithOptions(java.lang.String string,
long options)
Searches entire document for string and returns an array of PDFSelections representing all instances found.
|
static long |
hash_static() |
long |
indexForPage(PDFPage page)
Given a PDFPage, returns the pages index within the document.
|
PDFDocument |
init()
Initializers.
|
PDFDocument |
initWithData(NSData data) |
PDFDocument |
initWithURL(NSURL url) |
void |
insertPageAtIndex(PDFPage page,
long index)
Methods allowing pages to be inserted, removed, and re-ordered.
|
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) |
boolean |
isEncrypted()
Whether the PDF is encrypted.
|
boolean |
isFinding()
Returns YES if document is currently searching for a string.
|
boolean |
isLocked()
See comments above.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
majorVersion()
PDF version of the PDF file (example: major version = 1, minor = 4; PDF v1.4).
|
long |
minorVersion() |
static PDFDocument |
new_objc() |
PDFOutline |
outlineItemForSelection(PDFSelection selection)
Given a PDFSelection, this method returns the child outline item the selection most closely falls beneath.
|
PDFOutline |
outlineRoot()
Allows you specify a PDFOutline as the root outline item for this document.
|
PDFPage |
pageAtIndex(long index)
Returns a PDFPage object representing the page at index.
|
org.moe.natj.objc.Class |
pageClass()
This is the class that will be allocated and initialized when page objects are created for the document.
|
long |
pageCount()
The number of pages in the document.
|
long |
permissionsStatus()
Returns the permissions status of the PDF document.
|
void |
removePageAtIndex(long index) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
PDFSelection |
selectionForEntireDocument()
Returns a selection representing text for the entire document.
|
PDFSelection |
selectionFromPageAtCharacterIndexToPageAtCharacterIndex(PDFPage startPage,
long startCharacter,
PDFPage endPage,
long endCharacter)
Similar to the above method but allows you to specify a character index for the start and end pages.
|
PDFSelection |
selectionFromPageAtPointToPageAtPoint(PDFPage startPage,
CGPoint startPoint,
PDFPage endPage,
CGPoint endPoint)
Returns a selection representing text from page startPage and point startPt to page endPage and to point endPt on
that page.
|
void |
setDelegate_unsafe(PDFDocumentDelegate value)
If a PDFDocument has a delegate, delegate methods may be called.
|
void |
setDelegate(PDFDocumentDelegate value)
If a PDFDocument has a delegate, delegate methods may be called.
|
void |
setDocumentAttributes(NSDictionary<?,?> value)
Returns a dictionary with PDF metadata.
|
void |
setOutlineRoot(PDFOutline value)
Allows you specify a PDFOutline as the root outline item for this document.
|
static void |
setVersion_static(long aVersion) |
java.lang.String |
string()
Convenience method.
|
static org.moe.natj.objc.Class |
superclass_static() |
boolean |
unlockWithPassword(java.lang.String password)
Means of passing in a password to unlock encrypted PDF's.
|
static long |
version_static() |
boolean |
writeToFile(java.lang.String path)
-[writeToFile:withOptions:] and -[writeToURL:withOptions:] methods may take any CoreGraphics options that are typically
passed into CGPDFContextCreate(...) and CGPDFContextCreateWithURL(...)'s auxiliaryInfo dictionary.
|
boolean |
writeToFileWithOptions(java.lang.String path,
NSDictionary<java.lang.String,?> options) |
boolean |
writeToURL(NSURL url) |
boolean |
writeToURLWithOptions(NSURL url,
NSDictionary<java.lang.String,?> options) |
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 static PDFDocument alloc()
public static PDFDocument allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public boolean allowsCommenting()
public boolean allowsContentAccessibility()
public boolean allowsCopying()
public boolean allowsDocumentAssembly()
public boolean allowsDocumentChanges()
public boolean allowsFormFieldEntry()
public boolean allowsPrinting()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public void beginFindStringWithOptions(java.lang.String string,
long options)
public void beginFindStringsWithOptions(NSArray<java.lang.String> strings, long options)
public void cancelFindString()
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 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 NSData dataRepresentationWithOptions(NSDictionary<?,?> options)
public static java.lang.String debugDescription_static()
public PDFDocumentDelegate delegate()
public static java.lang.String description_static()
public NSDictionary<?,?> documentAttributes()
public CGPDFDocumentRef documentRef()
public NSURL documentURL()
public void exchangePageAtIndexWithPageAtIndex(long indexA,
long indexB)
public PDFSelection findStringFromSelectionWithOptions(java.lang.String string, PDFSelection selection, long options)
public NSArray<? extends PDFSelection> findStringWithOptions(java.lang.String string, long options)
public static long hash_static()
public long indexForPage(PDFPage page)
public PDFDocument init()
public PDFDocument initWithData(NSData data)
public PDFDocument initWithURL(NSURL url)
public void insertPageAtIndex(PDFPage page, long index)
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 boolean isEncrypted()
public boolean isFinding()
public boolean isLocked()
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public long majorVersion()
public long minorVersion()
public static PDFDocument new_objc()
public PDFOutline outlineItemForSelection(PDFSelection selection)
public PDFOutline outlineRoot()
public PDFPage pageAtIndex(long index)
public org.moe.natj.objc.Class pageClass()
public long pageCount()
public long permissionsStatus()
public void removePageAtIndex(long index)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public PDFSelection selectionForEntireDocument()
public PDFSelection selectionFromPageAtCharacterIndexToPageAtCharacterIndex(PDFPage startPage, long startCharacter, PDFPage endPage, long endCharacter)
public PDFSelection selectionFromPageAtPointToPageAtPoint(PDFPage startPage, CGPoint startPoint, PDFPage endPage, CGPoint endPoint)
public void setDelegate_unsafe(PDFDocumentDelegate value)
public void setDelegate(PDFDocumentDelegate value)
public void setDocumentAttributes(NSDictionary<?,?> value)
public void setOutlineRoot(PDFOutline value)
public static void setVersion_static(long aVersion)
public java.lang.String string()
public static org.moe.natj.objc.Class superclass_static()
public boolean unlockWithPassword(java.lang.String password)
public static long version_static()
public boolean writeToFile(java.lang.String path)
public boolean writeToFileWithOptions(java.lang.String path,
NSDictionary<java.lang.String,?> options)
public boolean writeToURL(NSURL url)
public boolean writeToURLWithOptions(NSURL url, NSDictionary<java.lang.String,?> options)
public long accessPermissions()