<?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 : GetAnnotEmbeddedFileToFile creates corrupt file.</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 : GetAnnotEmbeddedFileToFile creates corrupt file.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 20 May 2026 10:46:41 +0000</pubDate>
  <lastBuildDate>Thu, 07 Aug 2014 11:07:32 +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=2949</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[GetAnnotEmbeddedFileToFile creates corrupt file. : version 10.14 works fine.problem...]]></title>
   <link>http://www.quickpdf.org/forum/getannotembeddedfiletofile-creates-corrupt-file_topic2949_post11907.html#11907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1825">hobnob</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 07 Aug 14 at 11:07AM<br /><br />version 10.14 works fine.<div><br></div><div>problem is in latest version 10.16</div>]]>
   </description>
   <pubDate>Thu, 07 Aug 2014 11:07:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getannotembeddedfiletofile-creates-corrupt-file_topic2949_post11907.html#11907</guid>
  </item> 
  <item>
   <title><![CDATA[GetAnnotEmbeddedFileToFile creates corrupt file. : I don&amp;#039;t know if i&amp;#039;m...]]></title>
   <link>http://www.quickpdf.org/forum/getannotembeddedfiletofile-creates-corrupt-file_topic2949_post11906.html#11906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1825">hobnob</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 06 Aug 14 at 8:57PM<br /><br /><div><span style="line-height: 1.4;">I don't know if i'm missing something here but I have a bunch of pdf's with annotation embedded files. i.e. pdf emails with attachments.</span></div><div><br></div><div>Using quickpdf 10.16</div><div><br></div><div>the&nbsp;<span style="line-height: 1.4;">GetAnnotEmbeddedFileName works fine but the&nbsp;</span><span style="line-height: 1.4;">GetAnnotEmbeddedFileToFile &nbsp;chops the file, it is only outputing about 10% of the file. compared to Acrobat embed extract on the annotation.</span></div><div><span style="line-height: 1.4;">I have tried a few pdf's with the same result.</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">the&nbsp;</span><span style="line-height: 1.4;">GetAnnotEmbeddedFileToString has the same issue.</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">any ideas?</span></div><div><br><div><br></div><div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>int maxPages = QP-&gt;PageCount();</div><div><br></div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>std::wstring annot = _L("");</div><div><br></div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>for(int page=0;page&lt;maxPages;page++)</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>{</div><div><span ="apple-tab-span"="" style="white-space:pre">			</span>QP-&gt;SelectPage(page+1);</div><div><br></div><div><span ="apple-tab-span"="" style="white-space:pre">			</span></div><div><span ="apple-tab-span"="" style="white-space:pre">			</span>int end = QP-&gt;AnnotationCount();</div><div><span ="apple-tab-span"="" style="white-space:pre">			</span>for(int d=1;d&lt;=end;d++)</div><div><span ="apple-tab-span"="" style="white-space:pre">			</span>{</div><div><span ="apple-tab-span"="" style="white-space:pre">				</span>annot = QP-&gt;GetAnnotEmbeddedFileName(d,0);</div><div><span ="apple-tab-span"="" style="white-space:pre">				</span>CString str = annot.c_str();</div><div><span ="apple-tab-span"="" style="white-space:pre">				</span>if(str!="")</div><div><span ="apple-tab-span"="" style="white-space:pre">				</span>{</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>CString m; m.Format("str: %s, index: %d",str,d);</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>AfxMessageBox(m);</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span></div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>QP-&gt;GetAnnotEmbeddedFileToFile(d,0,annot);</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span></div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>std::string s;</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>s = QP-&gt;GetAnnotEmbeddedFileToString(d,0);</div><div><span ="apple-tab-span"="" style="white-space:pre">					</span></div><div><span ="apple-tab-span"="" style="white-space:pre">					</span>int len = s.length();</div><div><span ="apple-tab-span"="" style="white-space:pre">				</span>}</div><div><span ="apple-tab-span"="" style="white-space:pre">			</span>}</div><div><span ="apple-tab-span"="" style="white-space:pre">			</span></div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>}</div></div></div><div><br></div><div><br></div><div>hobnob.</div><span style="font-size:10px"><br /><br />Edited by hobnob - 06 Aug 14 at 8:58PM</span>]]>
   </description>
   <pubDate>Wed, 06 Aug 2014 20:57:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getannotembeddedfiletofile-creates-corrupt-file_topic2949_post11906.html#11906</guid>
  </item> 
 </channel>
</rss>