[iText-questions] The document has been changed since it was created and these rights are no longer valid
I have checked the link and have implemented the suggested code, yet I get the same ...the document has been changed since it was created and these rights are no longer valid Anybody has any clue, how to resolve this issue -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2334230.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, http://itext-general.2136553.n4.nabble.com/file/n2334791/Form1B.PDF Form1B.PDF Please find attached, the file that we are getting from our Govt. and we need to fill in the relevant data in it and submit the same. If I insert data manually and opt for 'save/save as', it worked perfectly fine. But, the same doesn't work and give above said message, if we try to fill data through .NET program (from database) Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2334791.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I had checked the book and have written below code (with the line that you had put) to meet this requirement, but still I do get the same error message, when I try to open newly created file (Please see attached) http://itext-general.2136553.n4.nabble.com/file/n2334924/newFile.pdf newFile.pdf try { string ip = @"C:\Documents and Settings\Raj\Desktop\Forms\Form1B.PDF"; string op = @"C:\Documents and Settings\Raj\Desktop\Forms\newFile.pdf"; iTextSharp.text.pdf.PdfReader pr = new iTextSharp.text.pdf.PdfReader(ip); System.IO.FileStream fs = new FileStream(op, System.IO.FileMode.CreateNew, FileAccess.ReadWrite); iTextSharp.text.pdf.PdfStamper ps = new iTextSharp.text.pdf.PdfStamper(pr, fs, '\0', true); iTextSharp.text.pdf.AcroFields pf = ps.AcroFields; pf.SetField("Form1B_Dtls[0].page1[0].CompanyName_C[0]", "My Company"); ps.Close(); fs.Close(); } catch (Exception ex) { MessageBox.Show("Exception: " + ex.Message); } What am I missing ? The version of iText ??? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2334924.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Ok sir, I will check with upgraded iText and i hope this is not a platform (.NET) related issue. In case, if it works fine in JAVA but not in .NET then do we we have any other option ? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2335010.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I have tried it with the latest iTextSharp (5.04) but still I am having the said issue :( Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2335023.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I have tried it with JAVA and t worked. But, the problem is my project is in .NET (C#), hence have got stuck on this point. Any suggestion Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2335139.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi I am sorry but I couldn't understand last few posts., will it be possible (or not possible) to read/write the given PDF through .NET ? Would you please elaborate, what do i need to change in my script (.NET) to meet my requirement ? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2336364.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Thank You Sir, I will download, will do the needful and will update you on the same. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2336410.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi, I am not sure what did you (Paulo) mean by 'That also worked but I decided ', do you mean, you were able to insert data in the given file (please see complete thread) through .NET without an issue ??? Nevertheless, I am getting the same error with the latest dll (as Keith suggested). I have done following steps 1. I have downloaded the changes made by Paulo from SourceForge: http://itextsharp.svn.sourceforge.net/viewvc/itextsharp/ it's the link titled "Download GNU tarball" 2. I did extract it on local system and have got three folders (branches, tag and Trunc) inside 'itextsharp' folder. 3. I have taken the source from 'tags\\tags\iTextSharp_5_0_4 4. I did run the build (VS2008) and have got the new 'itextsharp.dll' in bin\Debug\ folder. 5. I have used this newly created DLL in my application but I am having the same error. I believe I have not missed out any step. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2336593.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi, I tried with the source placed in 'Trunk' and it worked. Paulo and Keith, Thanks a lot, if I face any further issue, i will disturb you again on the same ;-) Thank you Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2336620.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
[iText-questions] The AcroFields return zero fields
Hi I am trying to extract the field information from the attached file, but I am not getting any value from AcroFields. I am using below code, try { string fileContent = ""; PdfReader pr = new PdfReader(iFile); FileStream fs = new FileStream("tmp_File.pdf", FileMode.CreateNew, FileAccess.ReadWrite); PdfStamper ps = new PdfStamper(pr, fs, '\0', true); AcroFields pf = ps.AcroFields; IDictionary dict = pf.Fields; foreach (KeyValuePair kvp in dict) fileContent = fileContent + kvp.Key + ","; pr.Close(); fs.Close(); File.Delete("tmp_File.pdf"); return fileContent.Substring(0, fileContent.Length - 1); } catch (Exception ex) { throw ex; } What could be the issue? http://itext-general.2136553.n4.nabble.com/file/n2339743/1030-Form1A.pdf 1030-Form1A.pdf Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/The-AcroFields-return-zero-fields-tp2339743p2339743.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The AcroFields return zero fields
Hi Leonard Thanks for your input. I have two queries, 1. Is there any mean to find out, if PDF is an XFA based form or based on AcroForms ? 2. How to fill such form ? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/The-AcroFields-return-zero-fields-tp2339743p2339797.html Sent from the iText - General mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi I am having the same old issue, when i try to fill PDF form with XFA. I have attached PDF, XML as well my code for reference. http://itext-general.2136553.n4.nabble.com/file/n2529513/Form32.pdf Form32.pdf http://itext-general.2136553.n4.nabble.com/file/n2529513/Form32_XmlData.xml Form32_XmlData.xml try { PdfReader pr = new PdfReader(iFile); System.IO.FileStream fs = new FileStream(oFile, System.IO.FileMode.CreateNew, FileAccess.ReadWrite); PdfStamper ps = new PdfStamper(pr, fs, '\0', true); AcroFields pf = ps.AcroFields; XfaForm xf = pf.Xfa; xf.FillXfaForm(dataFile); ps.Close(); fs.Close(); } catch (Exception ex) { throw ex; } Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2529513.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
I haev got stuck beacause of this issue, any sort of help would be appreciated. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2529971.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I had read the solution and as per the given suggestion did download the source, did create a new build, which apparently worked well and I did care to reply back to the forum. But, at that time I was using 'setField(...)' option to fill the form but later I have found that some of the files that we received from Govt. are not in "Acroform" format hence have used to XFA to fill these PDF files. We have managed to fill few forms using XFA but the attached form is throwing the same error that i was getting at the first instance. Hence, I have put my query in the same thread than opening a new thread. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2530838.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, Any suggestions ... Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2532344.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, If you check previous threads, it worked on Java then Mr. Paulo has made some changes in SVN (in C#). Next, Mr. Keith has asked me to download the latest code and to build own DLL. I did all the said stuff and it worked well with few files but I am getting the same error (XFA fill) in the attached file. It is possible that the changes are not catering to all scenario and some thing is yet to be corrected. I hope things are clear and will have your valuable input to fix this issue. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2532376.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I have not checked with Java, but this file doesn't work with the new DLL, that I have created from SVN. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2532648.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I have checked it with complete file, yet I am getting the same error. I have noticed one thing it returns non zero values for acrofields dictionary, does it mena that it's an Acroform, hence can not be filled through XFA ? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2534232.html Sent from the iText - General mailing list archive at Nabble.com. -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I am not sure, what did you mean by 'What Data are you using? Also, i would like to know ..can i fill Acroform through XFA ?? Please excuse, if I am wrong, my understanding is if Acrofields return non zero dictionary value then it's an Acroform. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2534708.html Sent from the iText - General mailing list archive at Nabble.com. -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
[iText-questions] XFD to PDF
Hi Is it possible to convert PDF from XFD file, using iTextSharp (or through c#)? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/XFD-to-PDF-tp2965160p2965160.html Sent from the iText - General mailing list archive at Nabble.com. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] XFD to PDF
Any comments ... Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/XFD-to-PDF-tp2965160p2966563.html Sent from the iText - General mailing list archive at Nabble.com. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi Would you please help me to fill the attached PDF file with the attached XML data file, using iTextSharp? http://itext-general.2136553.n4.nabble.com/file/n3000480/Form5.pdf Form5.pdf http://itext-general.2136553.n4.nabble.com/file/n3000480/Form5_Filled_data.xml Form5_Filled_data.xml I have tried couple of methods but failed to meet the requirement. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3000480.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi Mark I have tried XFA (fill form) as well as have tried with setFields("") option but it didn't work. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3001501.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Hi Please see below my code and kindly help me .. public bool fillForm(string iFile, string oFile, string dataFile) { try { //string[] packageitems = { @"C:\Documents and Settings\Raj\Desktop\2083.pdf", @"C:\Documents and Settings\Raj\Desktop\2083.pdf" }; PdfReader pr = new PdfReader(iFile); System.IO.FileStream fs = new FileStream(oFile, System.IO.FileMode.CreateNew, FileAccess.ReadWrite); PdfStamper ps = new PdfStamper(pr, fs, '\0', true); AcroFields pf = ps.AcroFields; if (pf.Fields.Count > 0) pf.SetField("Form5_Dtls[0].Page1[0].CIN_C[0]", "U74140MH2007PTC170726"); else fillXFAForm(pf, dataFile); ps.Close(); fs.Close(); } Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3001620.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Your help is appreciated... Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3002230.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, Kindly respond, i have got stuck at this point... if you need any further details then please let me know Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3003254.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, Unfortunately i don't have second edition but I did post the code that I had written, would you please tell me what am i doing wrong PdfReader pr = new PdfReader(iFile); System.IO.FileStream fs = new FileStream(oFile, System.IO.FileMode.CreateNew, FileAccess.ReadWrite); PdfStamper ps = new PdfStamper(pr, fs, '\0', true); AcroFields pf = ps.AcroFields; if (! pf.Xfa.XfaPresent) fillAcroFields(pf); else fillXFAForm(pf, dataFile); private void fillXFAForm(AcroFields pf, string dataFile) { XfaForm xf = pf.Xfa; xf.FillXfaForm(dataFile); } private void fillAcroFields(AcroFields pf) { pf.SetField(str, "U74140MH2007PTC170726"); // . } Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3003370.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, I have checked the example that has been given in the Book (http://itextpdf.com/examples/iia.php?id=166) and have found that I have implemented the code in the same manner. Yet, I am having the "...rights..." issue. I am hereby attaching the PDF file, once again, please help me to fill the same using iTextSharp. http://itext-general.2136553.n4.nabble.com/file/n3003838/Form5.pdf Form5.pdf Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3003838.html Sent from the iText - General mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, If I have understood you correctly, did you mean that the attached PDF file (previous post) can not be filled through iTextSharp ? In such a case, what could be the other available options ?? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3004099.html Sent from the iText - General mailing list archive at Nabble.com. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid
Sir, Please comment ... Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p3005732.html Sent from the iText - General mailing list archive at Nabble.com. -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
[iText-questions] FCKEditor content (HTML) to PDF Generation
Hi I am trying to generate a PDF document from the content that I get from FCKEditor, which is nothing but an HTML data. I have written following code and it works fine for normal text but for table content it fails. TextReader tr = new StringReader(fckEditor1.Value); PdfWriter.GetInstance(document, fs); document.Open(); List p = HTMLWorker.ParseToList(tr, null); foreach (IElement el in p) { if (el.GetType() == new iTextSharp.text.pdf.PdfPTable(1).GetType()) { PdfPTable reportTable = new PdfPTable((PdfPTable)el); document.Add(reportTable); } else document.Add(el); } For Table, - Formatting is lost - The width for all columns are same I have tried to get formatting as well width information from IElement but it doesn't store the same. Is there any better approach to meet this requirement? Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3039736.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] FCKEditor content (HTML) to PDF Generation
Hi I had tried that but yet I do get the same width for all columns. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3039780.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] FCKEditor content (HTML) to PDF Generation
Hi Please see below the content that I am getting from FCKEditor, which I am using as it is to create PDF document. I do see that there is no width is been mentioned but i don't have any option to add the same. This is Test data... Sr. Name 1. ABC Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3040062.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] FCKEditor content (HTML) to PDF Generation
Hi Nurettin Thanks for your input. It means as of now, we can not have columns of different width, if we directly add an HTML table to document. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3040613.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] FCKEditor content (HTML) to PDF Generation
Thanks Paulo. Would you please update this thread once you are through with it. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3040811.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Re: [iText-questions] FCKEditor content (HTML) to PDF Generation
Hi Paulo I have downloaded the latest version from SVN, few remarks that I have found... 1. The column width works only if i specify the same for each row e.g. below HTML doesn't work Sr. Name 1 A 2 B 2. If I give some color shading to header row it doesn't get reflected in PDF. 3. If I copy word table to FCKEditor then the table gets populated properly in PDF but if I copy table from EXCEL then the table border do not come in the generated PDF. Regards Rajeev Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/FCKEditor-content-HTML-to-PDF-Generation-tp3039736p3041728.html Sent from the iText - General mailing list archive at Nabble.com. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php