- Posts: 14
- Thank you received: 0
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
- Navdeep_rs
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
11 years 10 months ago #6116
by Navdeep_rs
Updated document data from PDFDoc was created 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.
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.
IP: 192.168.0.71
11 years 10 months ago - 11 years 10 months ago #6120
by stronglee
Replied by stronglee on topic Updated document data from PDFDoc
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.
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.
- Navdeep_rs
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
IP: 192.168.0.71
11 years 10 months ago #6248
by Navdeep_rs
Replied by Navdeep_rs on topic Updated document data from PDFDoc
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.
As u mentioned above "save" method will keep encrypt info.
IP: 192.168.0.71
11 years 10 months ago #6250
by radaee
Replied by radaee on topic Updated document data from PDFDoc
Save jus keep password protected PDF file, and save new objects back to PDF file.
not include APP encrypted data.
not include APP encrypted data.
IP: 192.168.0.71
8 years 9 months ago #12475
by darmot
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
Replied by darmot on topic Updated document data from PDFDoc
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