<?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 : PDF Viewer / Editor</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 : PDF Viewer / Editor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 16:42:12 +0000</pubDate>
  <lastBuildDate>Thu, 26 Apr 2012 14:10:43 +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=2243</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[PDF Viewer / Editor : Hi Paul,if you think about something...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9530.html#9530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1569">edvoigt</a><br /><strong>Subject:</strong> 2243<br /><strong>Posted:</strong> 26 Apr 12 at 2:10PM<br /><br />Hi Paul,<br><br>if you think about something in direction to RTF, so I advise you to a very nice open-source-program. It is made by Marek Jedlinski and named keynote. And there is a work based on it, called keynote-nf, made by Daniel Prado Velasko. The source is hosted at <a href="http://code.google.com/p/keynote-nf/" target="_blank">http://code.google.com/p/keynote-nf/</a> .<br><br>Inside this program works with RTF and images and a lot of other things are allowed too. May be it helps at building the big part outside PDF.<br><br><br>Cheers,<br><br>Werner<br>]]>
   </description>
   <pubDate>Thu, 26 Apr 2012 14:10:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9530.html#9530</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Viewer / Editor :   Werner,  Thank you for sharing...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9529.html#9529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1726">pshay543</a><br /><strong>Subject:</strong> 2243<br /><strong>Posted:</strong> 26 Apr 12 at 1:44PM<br /><br />Werner, <div> </div><div>Thank you for sharing the code.  I may try to go down this route using your code as an example. Originally I was going to look at purchasing TRichView and ScaleRichview addon and place all the items of the PDF page in the richview / scalerichview component.  Manipulate them and then read them off the richview page and place them back into the PDF page.  This may work but I am not sure how hard it will be to add the components to the Rich Editor and then get them back in the right position to place on the PDF page.  Also, the two components together are $500.00 and I don't want to (and can't afford to) spend that right now. </div><div> </div><div>I appreciate you sharing the code and your thoughts on this. </div><div> </div><div>I still am not sure how I would handle form fields.  I just need to play with the form fields in quick pdf a little more to see how they look in a PDF file and what information can be gained from them to determine positioning, style, etc. </div><div> </div><div>Thank you,</div><div>Paul Shay</div>]]>
   </description>
   <pubDate>Thu, 26 Apr 2012 13:44:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9529.html#9529</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Viewer / Editor :  Hi Paul,the problem is editing....]]></title>
   <link>http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9524.html#9524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1569">edvoigt</a><br /><strong>Subject:</strong> 2243<br /><strong>Posted:</strong> 25 Apr 12 at 8:52PM<br /><br />Hi Paul,<br><br>the problem is editing. So I say nothing about how to render. <br><br>With QP you may build PDFs or modify existing PDFs. But modifying is here only a drawing over. Generally it is very difficult to find out which part inside the PDF is for which visible part on screen. And modifying inside the PDF is no easy game.<br><br><br>So I did a small and dirty study to go another way. The idea is to build a PDF-page over a descriptionlist of objects. If we would have a such list, we could interpret it to build a PDF. If we want to correct something, we change the list and make a fresh PDF.<br><br>Because we store for our objects the coordinates, we may calc back (over the used scale for rendering) from mouseposition in image to coordinates and find out, on which object the mouse is pointing.<br><br>So we create a baseobject for all entries in our list.<br><br>Here is may source, but beware it is only a study, fare from use.<br><br>First the objects:<br><br><font face="Courier New, Courier, mono">type<br>&nbsp; TMyPaintObj = class(TObject) // the base for all kind of PDF-content<br>&nbsp; private<br>&nbsp;&nbsp;&nbsp; x0, y0,<br>&nbsp;&nbsp;&nbsp; x1, y1: double;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // area, in which the object is to paint<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; procedure SetData(ax0, ay0, ax1, ay1: double); virtual;<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF); virtual; // only for inheritance<br>&nbsp; end;<br><br>&nbsp; TMyColorObj = class(TMyPaintObj)<br>&nbsp; private<br>&nbsp;&nbsp;&nbsp; C, M, Y, K: double;<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; procedure SetData(aC, aM, aY, aK: double); override;<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF); override;<br>&nbsp; end;<br><br>&nbsp; TMyLineObj = class(TMyPaintObj)<br>&nbsp; private<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; procedure SetData(ax0, ay0, ax1, ay1: double); override;<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF); override;<br>&nbsp; end;<br><br>&nbsp; TMyBoxObj = class(TMyPaintObj)<br>&nbsp; private<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; procedure SetData(ax0, ay0, ax1, ay1: double); override;<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF); override;<br>&nbsp; end;<br><br>&nbsp; TMyCircleObj = class(TMyPaintObj)<br>&nbsp; private<br>&nbsp;&nbsp;&nbsp; r1: double;<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; procedure SetRadius(ax0, ay0, ar1: double);<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF); override;<br>&nbsp; end;<br><br>// our list-object, it represents all content<br>&nbsp; TDrawList = class(TObjectList) // items = TMyPaintObj<br>&nbsp;&nbsp;&nbsp; function GetMyPaintObj(aindex: integer): TMyPaintObj;<br>&nbsp;&nbsp;&nbsp; procedure SetMyPaintObj(aindex: integer; const Value: TMyPaintObj);<br>&nbsp; public<br>&nbsp;&nbsp;&nbsp; ItemIndex: integer;<br>&nbsp;&nbsp;&nbsp; property items&#091;aindex: integer&#093;: TMyPaintObj read GetMyPaintObj write SetMyPaintObj; default;<br>&nbsp;&nbsp;&nbsp; constructor Create; virtual;<br>&nbsp;&nbsp;&nbsp; destructor Destroy; override;<br>&nbsp;&nbsp;&nbsp; procedure Paint(QP: TQuickPDF);<br>&nbsp; end;<br></font><br><br>The implementation looks like this:<br><br><br><font face="Courier New, Courier, mono">procedure TMyPaintObj.SetData(ax0, ay0, ax1, ay1: double);<br>begin<br>&nbsp; x0 := ax0; y0 := ay0;<br>&nbsp; x1 := ax1; y1 := ay1;<br>end;<br><br>procedure TMyPaintObj.Paint(QP: TQuickPDF); // only for inheritance<br>begin<br>end;<br><br>procedure TMyColorObj.SetData(aC, aM, aY, aK: double);<br>begin<br>&nbsp; C := aC; M := aM; Y := aY; K := aK;<br>end;<br><br>procedure TMyColorObj.Paint(QP: TQuickPDF);<br>begin<br>&nbsp; QP.SetLineColorCMYK(C, M, Y, K);<br>end;<br><br>procedure TMyLineObj.SetData(ax0, ay0, ax1, ay1: double);<br>begin<br>&nbsp; inherited SetData(ax0, ay0, ax1, ay1);<br>end;<br><br>procedure TMyLineObj.Paint(QP: TQuickPDF);<br>begin<br>&nbsp; QP.DrawLine(x0, y0, x1, y1);<br>end;<br><br>procedure TMyBoxObj.SetData(ax0, ay0, ax1, ay1: double);<br>begin<br>&nbsp; inherited SetData(ax0, ay0, ax1, ay1);<br>end;<br><br>procedure TMyBoxObj.Paint(QP: TQuickPDF);<br>begin<br>&nbsp; QP.DrawBox(x0, y0, x1-x0, y1-y0, 2);<br>end;<br><br>procedure TMyCircleObj.SetRadius(ax0, ay0, ar1: double);<br>begin<br>&nbsp; inherited SetData(ax0, ay0, 0, 0);<br>&nbsp; r1 := ar1;<br>end;<br><br>procedure TMyCircleObj.Paint(QP: TQuickPDF);<br>begin<br>&nbsp; QP.DrawCircle(x0, y0, r1, 2);<br>end;<br><br>// in the same manner you have to construct more objects for fonts and text<br>// and all other things you need<br><br>constructor TDrawList.Create;<br>begin<br>&nbsp; inherited Create;<br>&nbsp; ItemIndex := -1;<br>end;<br><br>destructor TDrawList.Destroy;<br>begin<br>&nbsp; inherited Destroy;<br>end;<br><br>function TDrawList.GetMyPaintObj(aindex: integer): TMyPaintObj;<br>begin<br>&nbsp; if (aindex&lt;0) or (aindex&gt;=count)<br>&nbsp; then Result := nil<br>&nbsp; else Result := inherited Items&#091;aindex&#093; as TMyPaintObj;<br>end;<br><br>procedure TDrawList.SetMyPaintObj(aindex: integer; const Value: TMyPaintObj);<br>begin<br>&nbsp; inherited Items&#091;aindex&#093; := Value;<br>end;<br><br>// this small code make our list to be a PDF-page<br>procedure TDrawList.Paint(QP: TQuickPDF);<br>var<br>&nbsp; j: integer;<br>begin<br>&nbsp; for j:=0 to Count-1<br>&nbsp; do Items&#091;j&#093;.Paint(QP); // every object paints itself<br>end;<br></font><br><br>If you did read till here, you know it looks as a lot of work, but it may be a way.<br><br><br>Cheers,<br>Werner<br>]]>
   </description>
   <pubDate>Wed, 25 Apr 2012 20:52:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9524.html#9524</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Viewer / Editor : Hi Paul!In the sample-section...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9523.html#9523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2243<br /><strong>Posted:</strong> 25 Apr 12 at 6:30PM<br /><br />Hi Paul!<br><br>In the sample-section there's <br>code for a viewer, too.<br>Try the search function...<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 25 Apr 2012 18:30:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9523.html#9523</guid>
  </item> 
  <item>
   <title><![CDATA[PDF Viewer / Editor :   Hi, I&amp;#039;m looking for a...]]></title>
   <link>http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9521.html#9521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1726">pshay543</a><br /><strong>Subject:</strong> 2243<br /><strong>Posted:</strong> 25 Apr 12 at 1:35AM<br /><br />Hi, <div>&nbsp;</div><div>I'm looking for a way to display the PDF in a viewer/editor so the user can make changes.&nbsp; I'm not looking to write a full PDF editor but if it would display the pdf page in a way that the graphics on the page are their own "element" and the end user could click a graphic and remove it from the page or replace it with another graphic.&nbsp; Also, it would be nice if the user could just drag the image around.&nbsp; I really do not care about editing text.&nbsp; </div><div>&nbsp;</div><div>I assume with QuickPDF library I can look at each page and read all the attributes for the image (size, position),&nbsp; text with formatting,&nbsp; etc.&nbsp; And place these elements on a Rich View control of some type to accomplish this.&nbsp; </div><div>&nbsp;</div><div><div>I have only used this component to merge and split PDF files.  Now I need the ability to add the above mentioned features.   </div></div><div>&nbsp;</div><div>Would this be the right approach to do this ?&nbsp;&nbsp;&nbsp;How would forms be handled for filling in information?&nbsp; </div><div>&nbsp;</div><div>It would be nice if there was a viewer with QP that allowed this type of stuff.&nbsp; I know I can render the page and then display it as a graphic but I need the elements seperated to be selectable. </div><div>&nbsp;</div><div>How are form fields handled when displaying for a user to fill out the information?&nbsp; </div><div>&nbsp;</div><div>Any help would be appreciated or if there is a known viewer / editor available that works with Quick PDF I would be interested.&nbsp; </div><div>&nbsp;</div><div>&nbsp;</div><div>Thank you,</div><div>Paul Shay</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 25 Apr 2012 01:35:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdf-viewer-editor_topic2243_post9521.html#9521</guid>
  </item> 
 </channel>
</rss>