Package org.robovm.apple.coregraphics
Class CGPDFDocument
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coregraphics.CGPDFDocument
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGPDFDocument extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGPDFDocument.CGPDFDocumentPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CGPDFDocument()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsCopying()
boolean
allowsPrinting()
static CGPDFDocument
create(CGDataProvider provider)
static CGPDFDocument
create(NSURL url)
CGPDFAccessPermissions
getAccessPermissions()
static long
getClassTypeID()
int
getMajorVersion()
int
getMinorVersion()
long
getNumberOfPages()
CGPDFOutlineOptions
getOutline()
CGPDFPage
getPage(long pageNumber)
boolean
isEncrypted()
boolean
isUnlocked()
boolean
unlock(java.lang.String password)
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
-
create
public static CGPDFDocument create(CGDataProvider provider)
- Since:
- Available in iOS 2.0 and later.
-
create
public static CGPDFDocument create(NSURL url)
- Since:
- Available in iOS 2.0 and later.
-
isEncrypted
public boolean isEncrypted()
- Since:
- Available in iOS 2.0 and later.
-
unlock
public boolean unlock(java.lang.String password)
- Since:
- Available in iOS 2.0 and later.
-
isUnlocked
public boolean isUnlocked()
- Since:
- Available in iOS 2.0 and later.
-
allowsPrinting
public boolean allowsPrinting()
- Since:
- Available in iOS 2.0 and later.
-
allowsCopying
public boolean allowsCopying()
- Since:
- Available in iOS 2.0 and later.
-
getNumberOfPages
public long getNumberOfPages()
- Since:
- Available in iOS 2.0 and later.
-
getPage
public CGPDFPage getPage(long pageNumber)
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
getOutline
public CGPDFOutlineOptions getOutline()
- Since:
- Available in iOS 11.0 and later.
-
getAccessPermissions
public CGPDFAccessPermissions getAccessPermissions()
- Since:
- Available in iOS 11.0 and later.
-
-