tag:blogger.com,1999:blog-5824660313967021040.post4399790485912955784..comments2022-03-26T08:56:28.677-07:00Comments on cfSearching: Submit PDF Form as HTML with ColdFusion - Part 1Unknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5824660313967021040.post-8536675093359142132010-06-02T14:25:57.504-07:002010-06-02T14:25:57.504-07:00@Anthony,
Yes, the example and links are really o...@Anthony,<br /><br />Yes, the example and links are really old. When version 5.x came out, I think they got rid of some of the older sites and examples. <br /><br />First, have you asked the creator of the form? I say this because a lot depends on what type of form you are using: AcroForm (like the example) or LiveCycle. LiveCycle forms have a completely different structure. So a lot of what applies to AcroForms, does not even apply to LiveCycle forms.<br /><br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-85815216651675085632010-06-02T10:12:40.410-07:002010-06-02T10:12:40.410-07:00I tried the example, seems to be just what I am lo...I tried the example, seems to be just what I am looking for. Alas, the link to the PDF you gave is blank, so I tried it with my own PDF form. It ran fine and threw no errors, even generated the output PDF. But in the output PDF there arent any buttons that were created. Any ideas? I'm trying to work on this problem:<br /><br />http://stackoverflow.com/questions/2959810/saving-the-modified-contents-of-a-pdfAnthonyhttps://www.blogger.com/profile/07372843870784100420noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-36166033700759610032009-07-27T05:45:40.116-07:002009-07-27T05:45:40.116-07:00@Brook,
I threw together a quick example.
BTW, I...@Brook,<br /><br />I threw together a <a href="http://cfsearching.blogspot.com/2009/07/coldfusion-basic-example-positioning.html" rel="nofollow">quick example</a>.<br /><br />BTW, I like the idea of an entry on deconstructing an iText example and porting it to ColdFusion.<br /><br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-77073106231694643222009-07-27T02:50:22.184-07:002009-07-27T02:50:22.184-07:00@Brook,
You can change the button position by cha...@Brook,<br /><br />You can change the button position by changing the Rectangle values used in step 4. The four (4) values you pass into the Rectangle determine both the button dimensions and the button position: <br /><br /> llx - lower left x<br /> lly - lower left y<br /> urx - upper right x<br /> ury - upper right y<br /><br />If you are not familiar with the iText coordinate system, I would highly recommend reading the faq's on coordinates and measurements. It requires a bit of adjustment in thinking at first ;)<br /><br /><a href="http://cfsearching.blogspot.com/2007/12/itext-faqs-measurements.html" rel="nofollow">iText-Measurements</a><br /><a href="http://itextdocs.lowagie.com/tutorial/directcontent/coordinates/index.php" rel="nofollow">iText-coordinates</a><br /><br />Adding multiple buttons is not really that different than creating a single one. Just create a new instance and add it the writer/stamper. <br /><br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-44417370164284224912009-07-26T18:48:08.892-07:002009-07-26T18:48:08.892-07:00This is very cool. Do you know how I would positio...This is very cool. Do you know how I would position the button on the page? Button Right Corner? How would I put the same button on each page if there were multiple pages?<br /><br />I have been trying things out, but am having trouble converting the itext example JAVA code to the CF syntax. Maybe an article on the key differences and how to read/translate the itext examples would be extremely helpful!!<br /><br />Looks like you are the master at this stuff though!Unknownhttps://www.blogger.com/profile/08807217962925143010noreply@blogger.com