Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Updated document data from PDFDoc

More
IP: 192.168.0.71 11 years 10 months ago #6116 by Navdeep_rs
Hi,

I am using PDFOpenStream to open PDF file in PDF viewer. After modifying pdf i want to save pdf locally in encrypted format. i don't want to use save or saveas method that u provided. How can i extract updated document data in NSData format from PDFDoc class so that i can manually encrypt data and save it. Please reply fast, its urgent.
More
IP: 192.168.0.71 11 years 10 months ago - 11 years 10 months ago #6120 by stronglee
Sorry for late answer , in core of the library , there not use cocoa method .

If you want save the PDF file must use save or saveas , "save" method will keep encrypt info.

Also you can add your own method in PDFFileStream. Read the data and save it to NSData.
Last edit: 11 years 10 months ago by GoliNeneswees.
More
IP: 192.168.0.71 11 years 10 months ago #6248 by Navdeep_rs
I have written my own pdf stream class, where i am passing pdf data(nsdata) to create PDFstream and it is working fine, but when i save and get updated data from stream, to write my own file on disk, it seems to be encrypted. How can i get the decrypted data ?

As u mentioned above "save" method will keep encrypt info.
More
IP: 192.168.0.71 11 years 10 months ago #6250 by radaee
Save jus keep password protected PDF file, and save new objects back to PDF file.
not include APP encrypted data.
More
IP: 192.168.0.71 8 years 9 months ago #12475 by darmot

stronglee wrote: Sorry for late answer , in core of the library , there not use cocoa method .

If you want save the PDF file must use save or saveas , "save" method will keep encrypt info.

Also you can add your own method in PDFFileStream. Read the data and save it to NSData.


Hi i am not able to get file which is edited and saved locally in IOS. Where do I get it from so that i can convert it in base64 to pass it on to hybrid development side . I am using your plugin
Time to create page: 0.440 seconds
Powered by Kunena Forum