iphone Programming Glossary: cgpdfinteger
Extracting images from a PDF http://stackoverflow.com/questions/2475450/extracting-images-from-a-pdf media if CGPDFDictionaryGetArray dict MediaBox media NSLog @ Couldn't open page Media. 6. open media get it's size CGPDFInteger mediatop medialeft CGPDFReal mediaright mediabottom if CGPDFArrayGetInteger media 0 mediatop CGPDFArrayGetInteger media.. strmdict Subtype subtype strcmp subtype Image NSLog @ xObject is not image 14. Bits per component CGPDFInteger bitsper if CGPDFDictionaryGetInteger strmdict BitsPerComponent bitsper bitsper 1 NSLog @ Bits per component not loaded.. strmdict Filter filter strcmp filter FlateDecode NSLog @ Filter not loaded 16. Image height width CGPDFInteger width height if CGPDFDictionaryGetInteger strmdict Width width CGPDFDictionaryGetInteger strmdict Height height NSLog @..
Create a table of contents from a pdf file http://stackoverflow.com/questions/2556344/create-a-table-of-contents-from-a-pdf-file CGPDFDictionaryApplyFunction objectDictionary ListDictionaryObjects NULL case kCGPDFObjectTypeInteger CGPDFInteger objectInteger if CGPDFObjectGetValue object kCGPDFObjectTypeInteger objectInteger NSLog pdf integer value ld long int objectInteger..
Get PDF hyperlinks on iOS with Quartz http://stackoverflow.com/questions/4080373/get-pdf-hyperlinks-on-ios-with-quartz stringWithCString uriString encoding NSUTF8StringEncoding CGRect rect CGRectMake coords 0 coords 1 coords 2 coords 3 CGPDFInteger pageRotate 0 CGPDFDictionaryGetInteger pageDictionary Rotate pageRotate CGRect pageRect CGRectIntegral CGPDFPageGetBoxRect..
|