<?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 : Edit PDF Text</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 : General Discussion : Edit PDF Text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 12:30:47 +0000</pubDate>
  <lastBuildDate>Mon, 22 Mar 2010 11:50:09 +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=1378</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[Edit PDF Text : Hi,I have noticed that the GetPageText...]]></title>
   <link>http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6265.html#6265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1276">nzcivic</a><br /><strong>Subject:</strong> 1378<br /><strong>Posted:</strong> 22 Mar 10 at 11:50AM<br /><br />Hi,<br><br>I have noticed that the GetPageText function returns the color in RGB even though my text in the PDF is saved as CMYK<br><br>What is the best way to convert the RGB to CMYK?<br><br>I use the following function below... but what I would like to know is the function used by Quick PDF to convert CMYK to RGB? that way it can be reversed to preserve color <br><br>&nbsp;&nbsp;&nbsp; public class Cmyk<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public double C { get; set; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public double M { get; set; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public double Y { get; set; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public double K { get; set; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Cmyk(double r, double g, double b)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double R = 1.0 - r;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double G = 1.0 - g;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double B = 1.0 - b;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (R &lt; G)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K = R;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&n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;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (1 - rgb - k) / (1 - k);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>Will this preserve the color 100%<br><br>Thanks,<br>]]>
   </description>
   <pubDate>Mon, 22 Mar 2010 11:50:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6265.html#6265</guid>
  </item> 
  <item>
   <title><![CDATA[Edit PDF Text : Hi!You can&amp;#039;t edit the textcontent...]]></title>
   <link>http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6258.html#6258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1378<br /><strong>Posted:</strong> 22 Mar 10 at 7:18AM<br /><br />Hi!<br><br>You can't edit the textcontent directly.<br>You can extract the text and many pdf-properties, edit the extracted text and try to build a similar pdf-document.<br>"If so... how": Here, in the general section you can find a thread "The first steps...". There you can read all you need.<br><br>Cheers and welcome here,<br>Ingo<br>]]>
   </description>
   <pubDate>Mon, 22 Mar 2010 07:18:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6258.html#6258</guid>
  </item> 
  <item>
   <title><![CDATA[Edit PDF Text :  Hi,I want to be able to find...]]></title>
   <link>http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6257.html#6257</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1276">nzcivic</a><br /><strong>Subject:</strong> 1378<br /><strong>Posted:</strong> 22 Mar 10 at 1:30AM<br /><br />Hi,<br><br>I want to be able to find and edit text on a page...<br><br>I understand I can use the GetPageText to find the text I'm after, Now that I have the location etc... i need to edit the text.<br><br>What is the best way...<br><br>Can the text be edited directly?<br><br>Can I recreate a new PDF with all the existing content except the "text" and then draw my new text? If so how?<br><br>Thanks,<br><span style="font-size:10px"><br /><br />Edited by nzcivic - 22 Mar 10 at 1:34AM</span>]]>
   </description>
   <pubDate>Mon, 22 Mar 2010 01:30:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/edit-pdf-text_topic1378_post6257.html#6257</guid>
  </item> 
 </channel>
</rss>