<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : iTextSharp can Merge encrypted Pdf files</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : iTextSharp can Merge encrypted Pdf files]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 17:23:31 +0000</pubDate>
  <lastBuildDate>Tue, 01 Nov 2011 18:28:48 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2022</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi John!Seems that your password...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8594.html#8594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 6:28PM<br /><br />Hi John!<br><br>Seems that your password is only the main (and not the user password) password.<br>This doesn't have any effects - if you load such a document it's unprotected temporary and you can do the merge.<br><br>Cheers, Ingo<br>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 18:28:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8594.html#8594</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Sorry!I am wrong!you are right!I...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8592.html#8592</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1747">mjohn</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 2:49PM<br /><br />Sorry!<div>I am wrong!<br><div>you are right!</div><div><div><div>&nbsp;I can do it follow your instruction now!</div><div><div><div>Thanks very much!</div></div></div></div></div></div>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 14:49:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8592.html#8592</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi.Thank you for your reply!But...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8591.html#8591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1747">mjohn</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 2:34PM<br /><br />Hi.&nbsp;<div>Thank you for your reply!<div>But I can't use&nbsp;<span ="Apple-style-span" style=": rgb251, 251, 253; ">QP.Decrypt, because I has no password.</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; ">If I have password, I know I can!</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; ">But I has no password.</span></div><div>So I want merge 3&nbsp;<span ="Apple-style-span" style=": rgb251, 251, 253; ">encrypted pdf files to 1 pdf file when I has no password!</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; "><br></span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; ">Above c# code, I has no password, I didn't need&nbsp;</span><span ="Apple-style-span" style=": rgb251, 251, 253; ">Decrypt the 3 pdf files, but I can merge them in 1 pdf file too.</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; "><br></span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; ">So when I know when I has no password, I use&nbsp;</span><span ="Apple-style-span" style=": rgb251, 251, 253; ">QuickPDF, how can I merge&nbsp;</span>3&nbsp;<span ="Apple-style-span" style=": rgb251, 251, 253; ">encrypted pdf files to 1 pdf file as I did in</span><span ="Apple-style-span" style=": rgb251, 251, 253; ">&nbsp;</span><span ="Apple-style-span" style=": rgb251, 251, 253; ">itextsharp.</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; "><br></span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; ">Thanks@</span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; "><br></span></div><div><span ="Apple-style-span" style=": rgb251, 251, 253; "><br></span></div></div>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 14:34:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8591.html#8591</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi John!   What you have to...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8590.html#8590</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 2:24PM<br /><br />Hi John! <DIV>&nbsp;</DIV><DIV>What you have to do is ...<BR>first the create ... <BR>then LoadFromFile or similar ...<BR>then check if the file is encrypted:<BR>If ( QP.EncryptionStatus &gt; 0 ) Then<BR>&nbsp;&nbsp; QP.Decrypt;<BR>then the merge-syntax ...</DIV><DIV>then the save.</DIV><DIV>&nbsp;</DIV><DIV>About encryption you can read here:<BR><a href="http://www.quickpdflibrary.com/help/quickpdf/&#068;ocumentProperties.php" target="_blank">http://www.quickpdflibrary.com/help/quickpdf/DocumentProperties.php</A></DIV><DIV><BR>About merge you can read here:<BR><a href="http://www.quickpdflibrary.com/help/quickpdf/&#068;ocumentManipulati&#111;n.php" target="_blank">http://www.quickpdflibrary.com/help/quickpdf/DocumentManipulation.php</A></DIV><DIV>&nbsp;</DIV><DIV>Samples in different development languages (packed as zip) are here:<BR><a href="http://www.quickpdflibrary.com/samples/index.php" target="_blank">http://www.quickpdflibrary.com/samples/index.php</A></DIV><DIV>&nbsp;</DIV><DIV>In the developer-guide starting at page 28 you'll find a good merge-sample:<BR><a href="http://www.quickpdflibrary.com/docs/Quick%20PDF%20Library%207%20Developer%20Guide.pdf" target="_blank">http://www.quickpdflibrary.com/docs/Quick%20PDF%20Library%207%20Developer%20Guide.pdf</A><BR>It's a pascal-sample but for a developer it shouldn't be a problem to convert it to any other language.</DIV><DIV>&nbsp;</DIV><DIV>Cheers, Ingo<BR></DIV><span style="font-size:10px"><br /><br />Edited by Ingo - 01 Nov 11 at 2:25PM</span>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 14:24:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8590.html#8590</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi.Can you seehttps://skydrive...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8589.html#8589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1747">mjohn</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 2:06PM<br /><br /><div>Hi.</div><div>Can you see</div><div>https://skydrive.live.com/?cid=4c90f2a935f13d29&amp;sc=documents&amp;uc=1&amp;id=4C90F2A935F13D29%21112#</div><div>this is what i do use itextsharp.dll to merge 3 encrypted pdf files to a pdf file.</div><div>when you double click ConsoleApplication1.exe, then it will create a PDFS.pdf that is merge from the &nbsp;3 encrypted pdf files.</div><div>but i can't do it use QuickPDF.</div><div>How can do it use QuickPDF with vb6?</div><div><br></div><div>Thanks!</div><div>when use c#, below is the whole code:</div><div>////////////////////Code Begin//////////////////////</div><div>sing System;</div><div>using System.Collections.Generic;</div><div>using System.Linq;</div><div>using System.Text;</div><div>using System.IO;</div><div>using iTextSharp.text;</div><div>using iTextSharp.text.pdf;</div><div><br></div><div>namespace ConsoleApplication1</div><div>{</div><div>&nbsp; &nbsp; class Program</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; static void Main(string&#091;&#093; args)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MergePdfDoc(System.AppDomain.CurrentDomain.BaseDirectory + "PDFS");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; static private void MergePdfDoc(string sPath)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Document document = new Document(PageSize.A4, 50f, 50f, 50f, 50f);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PdfReader reader = null;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PdfCopy copy = new PdfCopy(document, new FileStream(sPath + ".pdf", FileMode.Append));</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.Open();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt;= Directory.GetFiles(sPath).Length; i++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (System.IO.File.Exists(string.Concat(new object&#091;&#093; { sPath, @"\", i, ".pdf" })) )</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reader = new PdfReader(string.Concat(new object&#091;&#093; { sPath, @"\", i, ".pdf" }));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.NewPage();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PdfImportedPage importedPage = copy.GetImportedPage(reader, &nbsp;1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; copy.AddPage(importedPage);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ((document != null) &amp;&amp; document.IsOpen())</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (copy.PageNumber == 0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.NewPage();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document = null;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (reader != null)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reader.Close();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; copy.Close();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception exception)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>}</div><div><br></div><div>//////////////////Code End////////////////////////</div><div><br></div><div>whether i use ExtractFilePages or CapturePage or CopyPageRanges I can't merge the &nbsp;3 encrypted pdf files to a pdf file as itextsharp.dll.</div><div><br></div><div>Can you help?</div><div>Thanks!</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 14:06:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8589.html#8589</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi John!  Many pdf-files are...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8588.html#8588</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 01 Nov 11 at 8:01AM<br /><br />Hi John!<DIV>&nbsp;</DIV><DIV>Many pdf-files are encrypted - so QuickPDF&nbsp;can do this job, too.</DIV><DIV>I don't know if it's a problem merging encrypted pdf-files but:</DIV><DIV>QuickPDF can load a pdf...</DIV><DIV>then you can check if it's encrypted...</DIV><DIV>if so you can&nbsp;decrypt it with an easy function call ;-)</DIV><DIV>&nbsp;</DIV><DIV>Cheers and welcome here,</DIV><DIV>Ingo&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 01 Nov 2011 08:01:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8588.html#8588</guid>
  </item> 
  <item>
   <title><![CDATA[iTextSharp can Merge encrypted Pdf files : Hi.UseiTextSharp for .net canMerge...]]></title>
   <link>http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8587.html#8587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1747">mjohn</a><br /><strong>Subject:</strong> 2022<br /><strong>Posted:</strong> 31 Oct 11 at 9:39PM<br /><br />Hi.<div>Use&nbsp;iTextSharp for .net can&nbsp;Merge encrypted Pdf files,</div><div>but use QuickPDF can't&nbsp;Merge encrypted Pdf files?</div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 31 Oct 2011 21:39:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/itextsharp-can-merge-encrypted-pdf-files_topic2022_post8587.html#8587</guid>
  </item> 
 </channel>
</rss>