Quartz 2D PDF Merge and encrypt

Hi,
I am absolutely new to this forum and we (my company) are doing some IPad and IPhone Development. I have a Java background and are doing currently some technology proof with X-Code and Objective-C. I want to drag two (or more) pdf-files on the Dock-Icon and merge them (including Tiger). Ideally I want to set some security options for the merged pdf. The drag and drop works fine, now I have to combine them. It proofed to work using the libraries ghostscript or podofo, but thats kind of a detour as all I learned from the quartz 2D docs that this is a core part of quartz. And using the libs there are unneccessary library dependencies and its a linux-way to solve it but not an Objective-C-way.
My understanding is now that I can create a PDF using 'CGPDFContextCreate' now I have to 'load' the existing PDF-Files and 'print' or 'draw' them to that context/object. I have not found the starting point from the docs to do that.
Can someone help me find the right track?
best,
Alex

Ok,
is that a way?
Create a context by 'CGPDFContextCreate'
then grab each page of the existing document and draw it using
CGContextDrawPDFPage. Feels circumstantially!?
right way?

Similar Messages

  • PDF Merging and font dropping issue

    Please advise me the difference between the process of combine PDF and single page insertion in existing PDF through Adobe Acrobat. The reason being in single page insertion we are experiencing font drop issues whereas when we use combine PDF option then no problem is there.
    Thanks
    Kailash

    Post Author: V361
    CA Forum: Exporting
    You may need to check the Font's.  Even though you may be sending  ( and I am just making this up )  Times New Roman 12,  the PDF may be using Times New Roman 10.
    Anyway, the export to PDF does not support all the fonts that you can use in CR.... Or at least it does not appear to.

  • Is there a way to merge Static PDF files and PDF Forms

    Hi All,
    The issue I am facing is this: 1200+ PDF forms that employees
    will need to sign. The docs are being created in MS Word, and all
    have a standard signature block. We have prototyped using LiveCycle
    Designer 8 to add fields to static PDF files (print Word files into
    Acrobat, import into LiveCycle and paste in fields) but this is
    pretty labor-intensive to use with a minimum of 1200 forms per
    quarter.
    The employee forms go into a CF8/Oracle library app (stored
    as BLOBs) and served up for 7,000 or so employees to sign. Posted
    data goes back into database.
    Here is the issue:
    Does anyone know any way to use some combination of cfpdf /
    cfpdfform / cfdocument that will allow us to create ONE generic
    signature block form, 1200 static PDF files, and merge them on the
    fly?
    <cfdocument> apparently does not allow PDF data to be
    included with a <cfpdfform>, as I have tried outputting PDF
    variables, toBinary(PDF variable), PDF served by <cfcontent>
    and various other combinations.
    (If the non-form data were HTML, we could easily output in a
    <cfdocumentsection> of the cfdocument, and add the
    <cfpdfform source="#genericForm#" action="populate"> and be
    done with it. But, we can't.)
    <cfpdf action="merge"> with a combination of a static
    PDF file and a populated form results in a flattend PDF file with
    no form data.
    I am acutely aware that LiveCycle 8 uses the XFA schema, and
    regular PDF documents use a different schema. And, this may
    prohibit what we want to do.
    If anyone has experience with CF8 PDFs and PDF forms, or has
    any helpful thoughts, I would be appreciatively gross. Needless to
    say, this is a six month project that must be live at the end
    November.
    Thanks!
    Jim Bates
    Verizon Business

    As I mentioned on the other thread, the forms need to be
    flattened. CFPDF cannot flatten LiveCycle forms, only Acrobat
    Forms. The suggested solution was to use LiveCycle ES
    http://www.adobeforums.com/webx/.3c052176

  • I created a PDF of my book in Preview and encrypted it. When opened in Adobe Reader, it is rotated to the vertical position rather than the original landscape position. How do I fix this in Preview? I don't want my buyers to have to hassle with rotating.

    I created a PDF of my book in Preview and encrypted it. When opened in Adobe Reader, it is rotated to the vertical position rather than the original landscape position. How do I fix this in Preview? I don’t want to hassle my buyers with rotating. There was no option in Preview to account for this automatic and unwanted rotation.

    Then you rotate it and SAVE or SAVE AS and it will remain that way.

  • How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    Is this an actual field, or just some piece of static text somewhere? Either way, you can't do it using the Split Document command. You'll need to use a custom-made script to read the value of this "field" and use it when extracting pages from the file.

  • Issue while Signing and Encrypting the PDF Document.

    Hello,
    I am developing one component in VC++(MFC) which signs and encrypts the pdf documents.
    When i sign and encrypt pdf document using my component, I am getting following error while opening the document in Adobe Acrobat
    Error during signature verification
    Unexpected byte range values defining scope of signed data.
    Details: The signature byte range is invalid
    But if i open that document in binary mode and calculate the byte range its looking correct.
    The Process for signing and encrypting the PDF document is as follows :
    1)Prepare the PDF document for signing (Add Annotation objects,n0,n2
    layers,create blank signature field,new xref section etc.)
    2)Encrypt the whole document(Password based encryption).
    3)Put the ByteRange values.
    4)Write the signature in blank signature field.
    If i just perform encryption(128 bit RC4 Algorithm) on the pdf document its working fine.Only after adding the signature objects i am getting above error.I think it means something is wrong in signature related objects,but i am not able to recognize the exact problem.
    So what can be the issue?
    Please Help
    Thanks in Advance
    Priyanka

    I am sending the Sample Files
    blank.pdf file is a original file
    http://www.2shared.com/file/4677649/3f341d92/blank.html
    step 1: I am adding Signing object(without data in Contents<> key) in
    blank.pdf file.
    Output File is Prepared-blank.pdf
    http://www.2shared.com/file/4677648/48332d04/Prepared-blank.html
    step 2: Sending Prepared-blank.pdf file for encryption.
    Output File is SignednEncrypted-blank.pdf which is Encrypted and Signed.
    http://www.2shared.com/file/4677647/d88c3095/SignednEncrypted-blank.html
    Password for opening SignednEncrypted-blank.pdf is : "a".
    Please help.
    Thanks.

  • How to merge static pdf files and dynamic livecycle forms

    Hello,
    I was wondering if there was a way to merge static pdf pages with a dynamic livecycle form to create one file.
    Thanks,
    -vargs

    Hi, Steve.
    I have a similar situation. I would like to combine static PDF documents with some forms created using LiveCycle Designer. I read your previous post and I am aware that I can combine them using Acrobat Pro.
    My question concerns accessibility.
    If I combine a static PDF document and a dynamic form created with LiveCycle, would the resulting PDF still be accessible enough for JAWS to read it properly?
    Any help appreciated.
    Wayne

  • Accessing two PDf documents and merging them

    Hi,
    I have and application where on click of a button, 2 pdfs are read from the server and merged into one pdf document. My pdf documents are placed in a folder in irj folder on server. For this i referred to the blog:
    /people/nagamohan.devisetty/blog/2008/05/05/merging-pdf-files-using-java-apis
    As per this blog, i created a java file.But I wrote the code written in the main method of this java file in the OnAction of the web dynpro view. So my java file just contains concat () for merging the pdfs. And from this view itself i created the object of the java file and called the concat (). But when i execute this application i get the error message stating "The system cannot find the path specified".
    Can anyone please help in this regard.
    Thanks & regards,
    Anupreet

    Hi,
    Was your previous application already web dynpro? Or did you include your concat fonctuinnality to a web dynpro application?
    From WD, if you want to write files, they are written by default in the server folder \usr\sap\J2E\JC00\j2ee\cluster\server0\persistent\developmentserver
    Check if you have rights to write out of this folder, in the portal.
    Yann

  • Password protecting and encrypting received pdf file

    Hello there,
    how can I password protect (and encrypt) a pdf file that I received from someone else? For example, I may get a copy of my tax return from my accountant that I don't want anyone else to see on my computer or when I back up contents of my computer online.
    I have only Adobe Reader 8 installed on my computer. So I am not writing these pdf files myself - I realize that then I would have full control over the security settings.
    Microsoft Word and Excel files I can password protect. How can I do this for "received pdf files"?
    Thank you for your help.

    You need Acrobat, not Reader.
    Be aware that even then, PDF security is easy to bypass.
    I use a Mac for the most part but isn't there any features in Windows that will allow you to protect folders?

  • Looking for "PDF Public-Key Digital Signature and Encryption Specification"

    Hi,
    i am looking for the following ("old") document:
    PDF Public-Key Digital Signature and Encryption Specification
    Originally i could be found here:
    http://partners.adobe.com/asn/developer/acrosdk/DOCS/ppk_pdfspec.pdf
    But not anymore. Does somebody of you still have it? Adobe today just offers the latest documents but i specifically need that older version.
    Or is there an archive i don't know of?
    Thanks for your help,
    ToM

    You can read the PDF 1.5 specification OR even ISO 32000-1 itself for that information. Each feature is "tagged" with the specific version in which it was introduced.
    Digital Signatures were first introduced in Acrobat 4 (PDF 1.3) and have seen various improvements which each version since.

  • Acrobat X and Encrypted PDFs

    Hello -
    We have Acrobat X (10.0.3) Pro (the version you can create PDFs with) and are having trouble with at least one machine.
    There is an encrypted PDF that will cause Acrobat to give an error.  (encrypted meaning, cannot edit/change the document)
    There is no password to open and use it.
    When opening the document we get:
    Adobe Acrobat has stopped working
    A problem caused the pgoram to stop working correctly.  Please close the program.
    Other PDF's work, if you open a PDF and go to Tools (upper right) then Protection and Encrypt.  All the options are grayed out.  Is there a way to "install" encryption options?
    I have removed Acrobat X, rebooted, reinstalled, reboot.  Still isn't working.  On machines that can open this document, then do have Encryption options.
    Thanks, Nick

    Anyone have a thought on this, as to what's missing causing Acrobat X to not work with Encrypted PDF's? or be able to encrypt any of it's own?

  • Issue with PDF merging

    Hi,
    I am doing PDF merging using using assembler. But the issue is after merging some of the fields of pdf are non editable. Can some one tell me why this is happening.

    Please upload your document and ddx.

  • Issue with PDF Merge

    Hi,
    Thanks in advance. I have an issue when I merge pdf files in Acrobat 9. Please see the attached Screenshot below. The issue seems very strange. Few of files in the merge list reads "Can not convert this file ... from the list"
    Please help. I need to solve them immediately.
    With many thanks,
    Saravanan

    The two most common reasons why a file would receive such a warning: (1) The file follows a particular standard (e.g., PDF/A or PDF/X) and would no longer comply with the standard if merged. (2) The file has security or a signature applied, and it would lose its integrity of part of a merged PDF
    I think more info might be shown if you opened the warning window wider (not sure about whether this is specified in the warning).

  • Read-only AND Encrypted

    I am using Acrobat XI Pro: is there a way to make a file read-only AND encrypted?

    Folks,
    I may have found a way to create a pdf document with Acrobat XI Pro that is read-only AND encrypted. Please let me know if I have indeed succeeded or not, thank you!
    The steps that I follow to create the read-only AND encrypted pdf document are as follows:
    Create a plain pdf document, from MS Word for example
    Sanitize Document
    Create Form without fields
    Close Form Editing
    Encrypt with Password
    Save
    Save As Other… => Reader Extended PDF... => Enable More Tools (includes form fill-in & save)…
    I as a not-very-sophisticated-computer-user did not find a way to hack difficult to detect changes - such as the insertion or deletion of the word 'not' - into the resulting pdf document. But again, please let me know if you DO find a way to hack the resulting pdf document, thank you!
    P.S. I think the resulting pdf document is essentially an encrypted form, albeit one without fields.

  • PDF Merge - merged report ages are not continuous but starting in new page.

    Hi,
    we tried using - FOUtility.mergeFOs(java.io.Reader[] foReaders, java.util.Properties prop) to merge and create a single PDF file but its not working as expected.
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Input:
    Report1 having 1 page
    Report2 having 2 pages - (another description )
    Expected Output PDF:
    Page 1 ( report1) , Page 1( report 2's page1 and continues ) to page 2(report 2)
    Actual Output PDF :
    Page 1 ( report 1), Page 2( report 2's page1), Page 3 ( report 2's page 2)
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Anyone faced this issue before, if yes, how did you solve it ?
    Thanks,
    Ayaps

    The output is a chm file. I am compiling as MS HTML Help
    under RoboHelp x5.
    After doing a little more trail work, I have noticed some
    other "strange" happenings. I can get the porjects to merge, but
    from the TOC all of the articles open in a new window. From the
    index, however, they all open as they should--in the topic frame
    from the main window. Not sure why that is.
    For a brief synopsis, here is what I have at this point:
    A "master" project file that includes:
    One new project for a section that is
    complete.
    One project from the existing documentation.
    I am not sure if I need to have the window definitions for
    each project would impact this or not.
    Through trial and error, I have narrowed down the problem to
    the original documentation project. If I remove it from the TOC and
    generate the project, the new topics display as they should.
    I will keep testing and see what I came come up with. If you
    have any idea as to what I might change in the original
    documentation to get it to work just let me know.
    Thanks for all your help!
    Aaron

Maybe you are looking for

  • How to create a textfile dynamically(with in the loop) with given data?

    Hi all, Can anyone Please guide me how to create a text file in the given path dynamically? (with in the loop) with given data. For example: <% String data1="name"; String data2="address"; for(int i=0;i<10;i++) create the textfile at c:/test/sample.t

  • How to connect a HP LaserJet Printer P1102w to my Toshiba Laptop

    I have just bought a LaserJet P1102w printer, but i cant seem to install it on my Toshiba laptop (or a HP laptop). I have tried the instruction that came with the product, the disc, the HP website, HP help support in Sydney (Who couldnt even install

  • File sharing in Network Attached Storage

    This isn't strictly a Mac question, but I always get good advice, so here goes:  We are a design shop using Macs for CAD and similar work.  We want to get a NAS for centralized file sharing.  But how does the NAS handle two people using a file at the

  • Need to Access VoiceOver Menu + Other KB Shortcut

    I'll try to be brief: I need to restore my keyboard shortcuts to Default; Shift + T no longer types a capital "T", just nothing. In the VoiceOver menu I set Shift + t to read text. Now I cannot bring back the VoiceOver "floating" menu. Apple's docume

  • Folder redirection doesn't work in DOS and other apps

    We are redirecting my documents and some other locations. If I open a dos window and cd c:\users\username\documents it does to a local directory not the redirected location. I can browse that same path in explorer. it seems to only be when I use the