Date: Tue, 7 Aug 2012 13:35:01 +0200
From: [email protected]
To: [email protected]
Subject: Re: [iText-questions] Use itextsharp create new pdf copy from existing 
file keeping signature


  
    
  
  
    On 7/08/2012 12:57, Gonçalo Martins
      wrote:

    
    
      
      
        Hi everyone,

        

        I'm using iTextSharp for the first time this week and I have
        some problems related to the following task:

        I need a C# method to: 

        1- receive a file path, read the related PDF and,

      
    
    

    OK.
-> Ok, this is the easy part..

    

    
      2- set the "PDFXConformance" property, 

      
    
    

    Just setting the property isn't difficult.

    Making sure the document passes a validation test: extremely
    difficult!

    I don't know of any software that does this "automagically".

    All the software I know requires human (manual) intervention:

    - make decisions about colors,

    - choose a substitution font,

    - ...

-> Is there any way, using iTextSharp to validate the PDFXConformance?

    

    
      3- Embed one new Font and

      
    
    

    OK, that will work in some cases, but not always.

    Embedding a font may require rewriting the complete content stream.

    But it's no use making an assessment about the workload, because:

-> The requirement of this issue is in a controlled use case where we only can 
use 2types of Fonts.In this case can you tell me how and what objects should I 
use (a code snippet of it).

    

    
      4-maintain the digital signatures that the PDF
        have.

      
    
    

    That is impossible! Imagine a closed box that is sealed.

    What you're asking is: I want to put some stuff in that box without
    a seal.

    I count on your common sense to understand that this is impossible.

    We're software developers, Gonçalo, NOT magicians.

  


-> I understand that and had the idea that it's not possible..But I never 
worked with iTextSharp before and didn't knew the "magic" that it can do and if 
you found any workaround to do this..




                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to