Re: [iText-questions] Search replace in iText
On Mon, Jul 5, 2010 at 3:54 PM, Lu, Tao (MOH) tao...@ontario.ca wrote: Hi, Guys, I have an existing PDF doc, I need to replace all occurrence of USA to CANADA. Any idea how to do that in iText? ... No. That is, although many newcomers to iText imagine that a task such as you describe is likely a good one for iText, it's not. The textual substitution you describe is almost certainly infeasible. It's very, very likely that the most satisfying solution to your problem is to return to the original text formatted as PDF, replace its USA-s, and write it out again as PDF. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Insert text at bookmark
On Fri, Jun 25, 2010 at 8:12 AM, jpcoder jonp...@houseofjones.com wrote: Is it possible with iText to find a bookmark in an existing PDF document, insert text at that bookmark and then save out the modified PDF? If so, can I get a code snippet? ... No. Well, yes and no. Yes, but it's very unlikely you'll get what you think you want. What *do* you want? Are you expecting the text which follows to flow to the end of the document? If the bookmark is just before, Andrew Jackson's documented disputes with banks and bankers began ..., and you insert, According to Peter Styron, , do you expect to see According to Peter Styron, Andrew Jackson's documented ... ? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] SVG Salamander does not support data URI schemein SVG images?
On Wed, Jun 23, 2010 at 4:36 PM, Mark Storer msto...@autonomy.com wrote: The spam is just our idiot firewall jumping to incorrect conclusions. As for an SVG mailing list... http://tinyurl.com/24mqb9a It was trivially easy to find. ... I have a feeling that you, Mark, see different results there than I do, or than the original questioner is likely to understand. Rather than debate how easy something was, I'll relate the little I know: *) Batik URL: http://xmlgraphics.apache.org/batik has its own mailing list; *) Salamander has an active mailing list URL: https://svgsalamander.dev.java.net/servlets/ProjectMailingListList ; *) There are several SVG mailing lists; URL: http://lists.w3.org/Archives/Public/public-svg-ig/ is the likeliest starting point. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] MS Word to PDF (2)
On Tue, Jun 22, 2010 at 7:37 AM, OmegaZiv ziv991...@yahoo.com wrote: Excellent answer. Exactly what I was looking for. Kudos. Unfortunately, my manager refuses to move to Open Office. No. Only Word. MS Word is missing the functionality of Create PDF Form, existing in OO. Word only publish to PDF, without fields. Which is why I tried the trick of using bookmarks to identify fields location. A trick that didn't work. If you happen to know how to Create PDF Form in Word, please let me know. ... Several commercial products render Word documents to PDF. If you're not allowed access to Open Office ... well, that makes me think you have constraints we don't yet fully understand. If it'll help, I'm willing to productize OO into a supported utility that simply automates .DOC-.PDF. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] Query regarding feasibility
On Tue, Jun 22, 2010 at 1:30 PM, Mark Storer msto...@autonomy.com wrote: In theory, yeah. In practice? Ouch. ... If you can limit your PDF inputs (say they're all coming from the same program), then you can safely ignore the OCR stuff. This'll cover a good 80-90% of the random PDFs out there in the world anyway. On the other hand, if you want to recognize anything from anyone, you have a very thorny problem to work through. You HAVE to do OCR. ... ... and if you *can* limit your PDF inputs, you might very well be in a position to go directly to some underlying datasource, as previous conversations in this mailing list and elsewhere have noted before. PLEASE be aware that managers often don't, to put it bluntly, know what they're talking about URL: http://www.itworld.com/software/102862/friends-dont-let-friends-extract-pdf-content. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] MS Word to PDF (2)
On Mon, Jun 21, 2010 at 6:12 AM, OmegaZiv ziv991...@yahoo.com wrote: Hi, The latest message of this topic was from 2007. I hope there is new information. I was given a task to: 1) create a document template with dynamic fields, using a high-level editor, such as Word 2) Convert that template to PDF (maybe FDF), including the dynamic fields 3) Use iText to edit the PDF and put actual values in the dynamic fields. When Word 2007 and Open Office publish PDF I can't find the fields. I only find the field value. * Is there an editor that can publish the PDF with the fields? * Can iText find the fields? Then I tried to wrap the fields with bookmarks, which are converted to the PDF. But I am unable to match bookmark information to a specific (wrapped) string in the PDF body. * Am I missing some method in iText that can match a bookmark to the bookmarked string? ... I believe you are accurately reporting what you were told to do. I think what you were told to do is ... confused. What does Use iText to edit the fields mean? Is there any user input, or is this an entirely automated process? If the latter, why bother with templating, entry fields, and so on? In what way is, construct a finished PDF from given data not a complete solution to the requirements? I suspect you might be best off to have a PDF-experienced developer interview your manager or customer. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] MalformedByteSequenceException
On Sat, Jun 12, 2010 at 7:22 PM, Cameron Laird claird.visipr...@gmail.comwrote: On Thu, Jun 10, 2010 at 7:14 AM, Mike Marchywka marchy...@hotmail.comwrote: To: itext-questions@lists.sourceforge.net From: kishore.chitt...@tcs.com Date: Thu, 10 Jun 2010 17:30:36 +0530 Subject: Re: [iText-questions] MalformedByteSequenceException Hi, Can you please guide me how to resolve this issue. Even though it is not related with itext. The fact that it isn't related to itext doesn't stop people from responding, however you are likely to get responses like hire a programmer at this point :) Know one here knows what your input data looks like, you need to validate it in any case for a real app - never assume another server returns good stuff. ... I'm a candidate for hiring. I work daily with XML and PDF, and can handle even erratic situations such as this one appears to be. It occurs to me I should use less culturally-ambiguous language: it would be better to write that my company is available for *contracting* to solve specific problems such as the one at hand. I'm not particularly advertising my availability for full-time employment, only for specialized, temporary consulting. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] MalformedByteSequenceException
On Thu, Jun 10, 2010 at 7:14 AM, Mike Marchywka marchy...@hotmail.comwrote: To: itext-questions@lists.sourceforge.net From: kishore.chitt...@tcs.com Date: Thu, 10 Jun 2010 17:30:36 +0530 Subject: Re: [iText-questions] MalformedByteSequenceException Hi, Can you please guide me how to resolve this issue. Even though it is not related with itext. The fact that it isn't related to itext doesn't stop people from responding, however you are likely to get responses like hire a programmer at this point :) Know one here knows what your input data looks like, you need to validate it in any case for a real app - never assume another server returns good stuff. ... I'm a candidate for hiring. I work daily with XML and PDF, and can handle even erratic situations such as this one appears to be. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] iText Read Chuncks of PDF into java
On Sun, May 30, 2010 at 8:57 AM, crimeunit nielspauwel...@gmail.com wrote: Thx both of you for replying on my answer. What I can show you all is the both (I tried with debugging on PDFOne library [as in the picture]) ..but I want to do it with the iText library!!! but I don't can take out the names of the links. (the pictures will explain a lot more..) [what I need with iText is this (as in pdfone debugging screen showed up: m1\m1-toc.pdf)] m1-toc.pdf = directory of m1\m1-toc.pdf ..\m1\.. is the folder. Root pdf-file by PDFReader function (the content- links m1-toc.pdf m2-toc.pdf I need!!) http://itext-general.2136553.n4.nabble.com/file/n2236285/pdf-file_of_pdfreader.jpg PDFOne analyse http://itext-general.2136553.n4.nabble.com/file/n2236285/analyse_-_PDFOneJava.jpg also this i tried, but I can't call the method: 'getAllAnnotations' (or do I don't need to use this?) http://itext-general.2136553.n4.nabble.com/file/n2236285/iText_example.jpg can somebody help me out, thx?! ... I'm lost. I appreciate that you have provided more detail, and gone to significant trouble to inform us with pertinent screenshots. I really don't know what it's all about, though. The best I can offer is to point you to Chapter 7 of the book URL: http://itextpdf.com/book/toc.php ; I suspect your interest has to do with what PDF calls actions. -- ___ 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] Question about converting HTML to PDF
On Wed, May 26, 2010 at 11:27 AM, Mike Marchywka marchy...@hotmail.comwrote: Date: Wed, 26 May 2010 18:30:42 +0300 From: dhryvas...@serena.com To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Question about converting HTML to PDF ... The question that I have is: does iText support converting HTML which includes css references and JavaScript to PDF? If I have JavaScript embedded in my HTML will it work in the generated PDF? Is it a way to do this? There is a webkit app that does this, http://code.google.com/p/wkhtmltopdf/ ... I answer the original question more directly: Flying Saucer is a project that uses iText to render HTML *and* CSS as PDF. -- ___ 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] Create a PDF from submission of a web form?
On Tue, May 25, 2010 at 3:00 PM, Brandon Kaminsky bkami...@broward.eduwrote: I didn’t want to bore the thread with our intended solution but if it will help set the context that you need to be able to answer to the question then here you are: 1.)We are serving a web form to students who may or may not have Adobe Acrobat - hence the need for a web-based form. 2.)We need a complete “snapshot” of the form along with the student answers stored in our imaging system for government-required record keeping. 3.)The form has graphics, logos, etc and is formatted in a fairly precise manner. 4.)Our imaging system requires files to be in PDF or TIFF format. Based on your response, I’m guessing that we’d capture the data from the form submission and use it to populate a pre-built PDF using itext? Is that how it would function? Thank you. ... *I* certainly manage Web forms that capture data for government operations, and render the results to PDF for statutory requirements of one form or another. Sometimes, but not always, I rely on iText. In that sense, then, I suppose, yes, I constitute an existence proof that it *could* function that way for you. I don't understand your precise requirements, though, and certainly am not in a position to judge whether iText is the *best* solution. I'll tangentially speculate, though, based on my own experience, that there might be *no* solution: that is, this talk about precise graphics and exact layouts makes me wonder whether, once again, the agencies involved have specified an impossible target. I know there are plenty of times when I've had to figure out what makes sense, then go back to the decision-makers to ask them to change their specs to match reality. Good luck. -- ___ 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] iText - nameddest over specified content
On Sat, May 22, 2010 at 10:28 AM, 1T3XT BVBA i...@1t3xt.info wrote: On 05/22/2010 05:05 PM, noemie wrote: Hello, I'd like to add content to an existing pdf file in order to be able to open it with the 'nameddest' option. For example, I have a string in my document, let say Note and I'd like to add the property which will be understood by nameddest option over this String. Is it possible ? Yes, but probably not the way you expect it. Does somebody knows how to do it ? You have a String somewhere on a page in a PDF file. This String is part of the page content. Now you want to add a named destination. This is NOT part of the page content. Named destinations are stored in a different structure and they are not aware of the content of the page. So what you need to do, is to find the position of the String on the page. This is not impossible, but it can be very difficult. You need to read AND UNDERSTAND chapter 15 of the second edition of iText in Action very well. It's not something that can be explained in a simple mail. Once you have the coordinates of the String, it's very easy to add the named destination. That's explained in chapter 7. ... Indeed, though, it can be quite easy to add the nameddest to, for example, the top of the known page. In many practical cases, this meets the real requirements of the task just as well as adding the nameddest to the exact location of the string in question on that same page. -- ___ 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] iText-questions Digest, Vol 48, Issue 66
On Fri, May 21, 2010 at 3:19 AM, Victor Badic victor_ba...@yahoo.comwrote: Thank you guys! You have been helpful. It's now clearer what my approach should be. ... Victor, a particularly meaningful way to show thanks might be to report back on your implementation, once you're successful, so that others might learn from it. -- ___ 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] text searching + opening a document directly to the search result location
On Thu, May 20, 2010 at 11:09 AM, Mike Marchywka marchy...@hotmail.comwrote: Date: Thu, 20 May 2010 05:27:32 -0700 From: victor_ba...@yahoo.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] text searching + opening a document directly to the search result location Hello again! Ok, I'll try to make it a bit clearer. Imagine this table: Property Name | Blah 1 | Blah n | HELP_BUTTON property 1 | | | btnHelp propery 2 | | |btnHelp Is this in a browser or your own app? It the user presses the btnHelp, the Pdf help-file should appear on the screen. This document has the explanations for all the properties. For example: 1. Property 1 blahblah and more blah. 2. Property 2 blh (tables, diagrams...) are the properties and help responses relatively static and known apriori or quite dyanmic? Because the help is amassed in one file, the client would want this behavior: -user clicks on property n btnHelp -pdf document opens scrolled directly to n. Property n. - much like the bookmark behavior Well, everyone gets requests like this you may want to get a better idea of what the actual end product should be from the user's view point. If the concern is general quality of the help text or there is some unique facility provided by pdf it may make sense but for users who want information for an immediate need they may not need lots of pictures. You probably don't want a tutorial as you are getting ready to submit a form to trade securities, launch a missile, or land a plane. I found the SetOpenAction method. It executes when the document opens. But it needs some parameters. It needs a LocalDestination. And here i thought that the text searching would come in. I was thinking that: - get Property Name from the table - search n. property n string in the PDF - get the coordinates, location of the string occurrence presumably the search is being done by the viewer or do you want itext to do this? - set the Open Action would to the trick. But can I do that? Any other suggestions or solutions would be welcomed. Get a better idea of what the user is supposed to experience and write scripts to parse the source pdf into a suitable format unless pdf is the right choice. Thank you for your time patience. It is easier now than to find out later you have designed a system that I need to use to do something simple- many agencies have been sold on pdf and probably try to do stuff like this all the time. There are some very good pdf products generated each week by govt agencies that have pictorical information, but then there are many submissions from people forced to make public declarations that use pdf as a big way to hide data from automated processing etc etc etc. ... To my surprise, Mike, this time I think *I* understand what Victor is after. Victor imagines he's asking for a simple operation, and, in the first place, just wants to know if iText can be part of the solution. The answer, unfortunately, is yes and no (as so often happens). If I'm correct, Mike, this is all about browser-oriented work. Victor expected iText would have some sort of method whose input is a textual string, like a piece of text found in the content, and whose output is something like (page number, x-coordinate, y-coordinate). No, iText does *not* have that; Victor, textual extraction remains a hard problem URL: http://www.itworld.com/software/102862/friends-dont-let-friends-extract-pdf-content. HOWEVER, Victor, it might be that you're in a position to decorate your PDFs with named destinations; at that point, your solution is trivial. -- ___ 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] URGENT - iText - Print Total Number of pages at Runtime in PDF File
On Wed, May 19, 2010 at 3:23 AM, 1T3XT info i...@1t3xt.info wrote: Viswanathan Puthucode Mahadevan wrote: Question : When opening the PDF file in Adobe Reader, how to get the 'Page n of m', because when generating the PDF file, it is not possible to know the Total number. There are two ways to do this. Both are explained in http://itextpdf.com/book Question 2 : In MS Word there is Field 'NUMPAGES' which print the total number of pages, is there any similar function in PDF to print the total number of pages? One of the two ways mentioned above works more or less like that. The other way involves creating the document in two passes. This is a question that has been answered over and over again, please don't use the mailing list for trivial questions. ... I personally find it extraordinarily difficult to judge what is trivial, let alone communicate it to newcomers. I wish I saw this more clearly. Viswanathan, along with the examples already offered you, a variant of the two-pass approach appears in URL: http://www.itworld.com/development/106575/pdf-pagination-only-takes-a-few-lines. -- ___ 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] iText Read Chuncks of PDF into java
On Wed, May 19, 2010 at 1:52 AM, 1T3XT info i...@1t3xt.info wrote: crimeunit wrote: Dear all, Does somebody else know maybe that I can use another library where I can specially read out the links of content (to another pdf file) into a pdf? Reading out the links is a completely different question. Links (anchors, hyperlinks, external go to actions,...) are not part of the page content stream; they are stored in Link annotations and very easy to retrieve. Your problem is that you are not using the correct terminology, therefore it is impossible for anybody to answer your question. I interpreted your question as a request to do something that is impossible: you want to extract structure from a PDF that isn't structured (a PDF that isn't tagged). You won't find any tool that can do that. Maybe your question is of a completely different nature. Maybe you're asking something that is easy to achieve, but given the poor phrasing, we can't be sure. ... crimeunit, my personal guess is that iText *can* help you achieve what you're after. You'll do well to sharpen your question and ask it again, probably with a pertinent example. -- ___ 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] text searching + opening a document directly to the search result location
On Tue, May 18, 2010 at 6:50 AM, Mike Marchywka marchy...@hotmail.comwrote: Date: Tue, 18 May 2010 04:30:48 -0700 From: victor_ba...@yahoo.com To: itext-questions@lists.sourceforge.net Subject: [iText-questions] text searching + opening a document directly to the search result location Hello! In my app. I have a table. On each row there is a help button. The help is provided in the form of a large PDF file. If the user presses the help button on a row, the PDF should open directly where the explanation for that row properties is. Can I do this with iText (actually iTextSharp)? Can I search the document (using the property name on that row) and then open the document to the user, directly at that location? This is a bit like the prior question about , how do I use a servlet to deal with big pdf files. The first answer might be, why are you using PDF in this setting? Rather than having a help button provoke a search, wouldn't you be better off doing the search previously or can help point to arbitrary locations? In the former case, html with fragments may work or just having separate pages, in the latter case a DB may be more appropriate although I guess you could ask about PDF indexing or TOC capabilities. Leonard, you care to explain how PDF is a good choice here? Thanks. My interest of course is that I end up having to use some of these creations that people design... Victor, it occurs to me that URL: http://www.itworld.com/development/107909/tools-pdf-internal-links might bear on your target. -- ___ 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] Iterate through existing bookmarks in a PDF doc using iTextSharp with .Net
On Wed, Feb 24, 2010 at 11:12 PM, hLalit hla...@gmail.com wrote: Hi, I have an existing pdf doc. I want to iterate through existing bookamarks in the pdf doc collapse the bookmark where there is a parent child relation. For e.g -1.0 - 1.1 - 1.1.1 - 1.1.2 - 1.2 - 1.2.1 - 1.2.2 In the above I would like to collapse 1.1 1.2 I am using ITextSharp dll with .Net. ... This question was posted (and reposted) months ago. Even with this delay, I think it deserves response. I don't understand the question--that is, I find it ambiguous. I *think* hLalit intends a result of -1.0 -1.1 -1.2 but I'm unsure. In any case, yes, iText includes bookmarking capabilities, and should be able to handle the precise requirements, whatever they are. I myself don't work with iTextSharp, so there's probably little value in me speculating on the details of an implementation. -- ___ 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] Multiple PDF documents
On Wed, May 19, 2010 at 10:58 AM, Gabe Calabro g...@kahunaworld.com wrote: I am trying to create a PDF that merges a PDF with multiple instances. Basically, I would like to do this in memory, and iterate thru a list of people. I would like to populate the PDF for each unique person and merge them into one PDF. I can get it to work for a single person passing back a MemoryStream. But when I loop it, it basically gets overwritten and the final PDF is a single page with the last iterations data. Here is a question on stackoverflow that gives my exact logic. Please let me know if I can do something like this. http://stackoverflow.com/questions/2866423/populate-multiple-pdfs ... Are you saying that the response of MHinton in stackoverflow three hours ago did *not* adequately address your need? -- ___ 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] To go to a particular page in PDF
On Tue, May 4, 2010 at 5:32 AM, SRI!0! srikan...@live.in wrote: Hi, I have a small problem. Iam having a PDF sitting on the file system. I need to read the this file and I get the page number from some other source. Now depending on the page number I need to stream the file and go to that particular page in PDF while its opened. Please let me know how to do this in itext. ... Srikanth, what does it mean to you to go to that particular page in PDF? Are you saying that you want to extract a specific page programmatically, or view a particular page as a human reader? -- ___ 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] What action is requred in terms of License
On Thu, Apr 22, 2010 at 3:45 PM, David Hoffer dhoff...@gmail.com wrote: Hi Michael, I feel your pain, I am in similar situation. The commercial side of the licensing is geared for very big projects only, nothing small. I had no choice but to use 2.x and FOP will be next if I need more. Again I don't need free but I need something manageable. ... Me, three. -- ___ 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] What action is requred in terms of License
On Wed, Apr 21, 2010 at 10:17 AM, Paulo Soares psoa...@glintt.com wrote: If you're using it in an intranet you don't have to do anything. If you're exposing the service to the exterior either you provide the source code of your application or you buy a commercial license. ... What does intranet mean in this context? Is a license required if the Web application is restricted to faculty in a particular department of a particular university [my speculation: that is an intranet, and the license requires nothing further]? What if such a faculty member reaches the departmental application from a Web browser at his home off-campus [my speculation: that is *not* an intranet, and source-code-or-license is required]? What if the departmental application is open to academic collaborators who might potentially be based anywhere in the (IP-connected) world [my speculation: that is even less of an intranet, and source-code-or-license is required--but it's really not very commercial, as the purpose is only to promote academic research]? Thank you, Paulo, for your help in these matters. -- ___ 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] Send PDF to printer without Acrobat
You want to *automate* printing of PDF instances. I think you'll find useful ideas with that keyword; if not, write here again, and I will provide more detailed help. On Thu, Apr 15, 2010 at 2:32 PM, Jérôme AIRAUDO jerome.aira...@c2jinfo.comwrote: Thank you for your answer. What I really want to do is quite simple : I have a lot of existing PDF and I want to print it. The biggest problem with using acrobat is that I cannot wait until the print job finished. So when I send a lot of PDF with acrobat to print (with dde command print) some of PDF are not printed and the order is not good. So I’m looking for printing a PDF document and wait until it’s finished. It seems to be very simple but I did not find anything in google to help me. If you have some idea, I’ll be very interesting. Cheers, Jérôme AIRAUDO *C2J INFO* *Groupe COGESER* *De :* wasegraves [mailto:wasegra...@bellsouth.net] *Envoyé :* jeudi 15 avril 2010 15:23 *À :* Post all your questions about iText here *Objet :* Re: [iText-questions] Send PDF to printer without Acrobat Short answer = NO. There is no way to print a PDF without a reader. Of course, you really could send a PDF directly to ANY printer; but you wouldn't like the behavior of said printer when it is unable to process some of the strange commands. ;-) Leonard has already pointed out to you that what you want can only be done with a printer that understands PDF natively. That said, even a PDF printer must read your PDF in order to be able to print it. Perhaps you should let us know what your real requirements are. If your question is about printing without a viewer, you may wish to look into the use of AFPL Ghostscript. Cheers, Bill Segraves -- *From:* Jérôme AIRAUDO jerome.aira...@c2jinfo.com *To:* itext-questions@lists.sourceforge.net *Sent:* Thu, April 15, 2010 5:45:33 AM *Subject:* [iText-questions] Send PDF to printer without Acrobat Hello everybody, I’d like to know if, from itextsharp or dotnet, it is possible to print a PDF file without using Acrobat or any reader. May be using BytesArray ? I really need your help. Thanks a lot. Jérôme AIRAUDO *C2J INFO* *Groupe COGESER* -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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/ -- Cameron Laird Phaseit, Inc. +1 281 648 9889 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Extracting a page as an Image
On Wed, Feb 24, 2010 at 1:22 PM, Mike Marchywka marchy...@hotmail.comwrote: Date: Wed, 24 Feb 2010 14:31:51 +0100 From: jmr...@gmail.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Extracting a page as an Image Hello, I did this some years ago: Use pdftk (based on itext) to extract the page(s) and then convert it to image using ghostscript. pdftk is at http://www.accesspdf.com/pdftk/ ghostscript is at http://www.gnu.org/software/ghostscript/ Bruno et al I think you could save time with a page of tools somewhere on itext site similar to faq and an acrynum list ( THNTDWI- this has nothing to do with itext for example). ... iText and its mailing list certainly could support beefier or multiplied FAQs; I agree with that. I also recognize how many commitments everyone involved already has. In the meantime, I'm collecting such references in URL: http://phaseit.net/claird/comp.text.pdf/PDF_converters.html , although my updates to it are rather erratic. Look for another rewrite in about a week. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Conversion of Excel !
On Thu, Feb 4, 2010 at 10:24 PM, Ashwath Krishna ashwath.krishna.iyen...@oracle.com wrote: Exactly !! That IS my requirement. I want an exact photocopy of my excel in a pdf file. Regardless of what data i have in my Excel. And by the way , i would like to do it using iText . The reason being this is part of an application developed using Java.. ... On a paid basis, several of us can help you meet what you've presented as your requirements. We can even come up with a solution that involves iText, if you insist. In a technical sense, though, your project is outside the scope of the iText mailing list, as a couple of others have already expressed. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Conversion of Excel !
On Thu, Feb 4, 2010 at 4:48 AM, Ashwath Krishna ashwath.krishna.iyen...@oracle.com wrote: Well , i know it isnt possible to directly convert an excel sheet to a pdf file. What i wanna know is , How to create a pdf using the data from an excel sheet parsed using POI . ! . How can i capture the data and create the pdf ? ... 'Depends. Is URL: http://www.pdfonline.com/convert-pdf/ sufficient to your requirements? How are data parsed using POI different from any other data? Are you making the point that you know how to deal with the numeric data, but you want your PDF result to have the same visual appearance as the original Excel instance, and you don't know how to do that styling with iText? -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Unknown Source is such a bad thing?
After considerable effort, we narrowed down a symptom in a much larger system to this traceback: java.lang.NullPointerException at com.lowagie.text.pdf.SimpleBookmark.bookmarkDepth(Unknown Source) at com.lowagie.text.pdf.SimpleBookmark.getBookmark(Unknown Source) at com.lowagie.tools.concat_pdf.main(Unknown Source) from, in effect, an invocation of java -cp /usr/share/java/itext.jar com.lowagie.tools.concat_pdf L1.pdf O1.pdf This is 1.4.5 of iText. What are my prospects? L1.pdf is a 52-page instance that *looks* OK at a casual glance. It's probable that L1.pdf is the output from HTMLDOC operations. I suspect I can cut L1.pdf down more to probably just a few crucial pages that yield the NullPointerException. I'm open to advice, though: A. Is there any reason to think that someone else is already working on this fault? B. Is there any way I can pre-process L1.pdf or invoke iText differently so that the two get along better? C. Is there someone else who'd like to tackle this? Pay is possible, if that makes a difference. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Unknown Source is such a bad thing?
On Wed, Jan 27, 2010 at 5:22 PM, Mark Storer msto...@autonomy.com wrote: I suggest you try that tool commad with a more recent version of iText. 1.4.5 is a bit long in the tooth. ... 1.4.5 seems to be the one currently packaged for Ubuntu. I appreciate your suggestion that an update might be in order. I've installed 5.0.0, but it'll be tomorrow before I can recompile concat_pdf. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] How to Detect doubles in PDF using iText
On Thu, Jan 7, 2010 at 9:29 AM, Leonard Rosenthol lrose...@adobe.comwrote: I wouldn’t use iText. I would write a script around something like GraphicsMagick that can rasterize each page into a bitmap image and then compare the bitmaps for you. ... I've had occasions where the nature of the pages was such that comparison of their pdf2txt contents was an effective solution. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] What's the opposite of annotate or comment?
On Sun, Nov 29, 2009 at 5:01 PM, Leonard Rosenthol lrose...@adobe.comwrote: Why would you want to do that? You use all the usefulness of the comments – including information about who made them, when they made them, and any associated notes that they added to go along with them… ... *In order* to lose all the usefulness of the comments: the manager *wants* to strip out all those other potentials, and simply freeze the visual image at a certain point for archiving. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] What's the opposite of annotate or comment?
On Mon, Nov 30, 2009 at 4:58 AM, Fabrizio Arosio devlst-it...@yahoo.itwrote: If you need to copy a PDF with annotations to a new PDF without annotations, you can use PdfWriter to create a new pdf with all pages imported from the source pdf. PdfImportedPage with PdfWriter does not preserve annotations. Something similar to: Document document = new Document(PageSize.A4); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(output.pdf)); PdfReader reader = new PdfReader(source.pdf); document.open(); PdfContentByte canvas = writer.getDirectContent(); for (int i = 1; i = reader.getNumberOfPages(); i++) { canvas.addTemplate(writer.getImportedPage(reader, i), 0, 0); document.newPage(); } document.close(); you should also consider source page size and rotation. ... Thank you; there might also be a need eventually to strip out annotations. My current requirement, though, is to render the annotations so they become part of the page images. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] What's the opposite of annotate or comment?
On Mon, Nov 30, 2009 at 7:03 AM, Leonard Rosenthol lrose...@adobe.comwrote: PDF/A (ISO 19005-1), the standard for long term archiving of PDF documents, FULLY SUPPORTS live annotations. There is no reason to strip them out. ... I've confused you. The request is not--NOT--to strip out annotations. As I first wrote, I don't know what word to use to describe this requirement. The manager wants to render the annotations so they are no longer annotations, but have an indistinguishable visual image when, for example, printed. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] What's the opposite of annotate or comment?
How do I flatten comments and annotations? I doubt that my question has much to do with iText; however, after looking through The Book and The Standard, I still don't even know how to phrase my question well, so I ask the indulgence of the list: please help me figure out at least the right keywords to use in investigating this matter. Quite a few applications decorate a PDF instance with annotations, comments, sticky notes, ... How can I flatten (I recognize that's a misnomer, with a specific meaning related to FDFs) an annotated PDF into an integral PDF with the same appearance? The Preview application supplied with Mac OS does what I want: print as PDF produces just the flattened form I want, in which the comments are visible, but appear as part of the document, and are no longer comments. While I suspect that iText or perhaps other libraries give me programmatic access to the same operation, I haven't figured out what it's called well enough to identify it in The Book or elsewhere. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] convertions to pdf
On Tue, Nov 10, 2009 at 3:49 AM, Alexis Pigeon pigeon.ale...@gmail.comwrote: 2009/11/10 popprem popp...@gmail.com ... That's ok, but try to do a bit af investigation before rushing to the mailing lists... I need to write an java application to convert various file formats to PDF. Is there any libraries which i can use for this??? Please forward your suggestions. The formats i wanted to convert are : .rtf Rich Text Format File .wpd - WordPerfect Document .wps - Microsoft Works Document .odt - Open Office Document .odp - Open Office Presentation .xps - Microsoft's PDFformat .svg - Scalable Vector Graphics File .wri - Microsoft Write .wst / .wsd - Word Star .drw - Drawing File .eps - Encapsulated PostScript File .ps - PostScript File .fnt - Windows Font File .fon - Generic Font File .otf - OpenType Font Wow... That's an impressive list you have here... First thing I would do is to refuse the assignment: that's a huge workload, and in no way it could be achieved by a single person, specially on a short-term basis. Secondly I would suggest your client to use a PDF printer, such as PDFCreator for example. ... There *are* commercial applications which advertise a substantial part of these capabilities. On the whole, though, Alexis correctly summarizes: those requirements are infeasible in the short term, particularly for someone so inexperienced as to speculate that iText might be a big part of the solution. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Hello from Boston, USA ;-) and Question
On Thu, Oct 1, 2009 at 9:29 AM, Jason Berk jb...@purdueefcu.com wrote: This would be awesome. I use java / iText for bank statement production and enjoy the power of Java in that case, but I have on the fly cases I would love to create a simplistic PDF straight from PERLwhich I use like a swiss army knife. ... I've been a member of PEFCU for over thirty years, by the way. The descriptions here puzzle me. I wonder whether those posting to this thread are aware that Perl can manage Java-coded processes, and also that PDF::API, PDF::API2, PDF::Reuse, ... are already available. For myself, I get a lot of satisfaction through scripted generation with HTMLDOC of PDF from HTML descriptions. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] how to convert pdf to text data using i-text api?
On Wed, Sep 30, 2009 at 7:39 PM, Bejawada, Madhusudhan Rao (US - Costa Mesa) mbejaw...@deloitte.com wrote: Hi, I have a requirement of converting pdf data to text data. ... URL: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg32127.html -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Re ad pdf content and store it in a text file
On Sat, Sep 19, 2009 at 6:08 PM, Alexis Pigeon pigeon.ale...@gmail.comwrote: Hi satheeshsamiappan, 2009/9/19 satheeshsamiappan cssathe...@gmail.com Hi all, I have a situation where i need to read pdf content and store it in text file. .. Long answer : have a look at the FAQ in the iText website, and/or search the mailing list archive, you'll find exhaustive exlpainations on why this is not possible. ... And yet, there are scores of organizations and individuals in the business of doing exactly that: rendering PDF into text. You're of course correct, alexis, that the requirements as expressed are impossible. At the same time, it's only fair to satheeshsamiappan to observe that a slight perturbation of the problem might yield an easy answer. In any case, pursuit of the subject belongs outside iText. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] RTF to PDF
On Tue, Sep 15, 2009 at 5:55 AM, donanik duck nald...@yahoo.com wrote: Finally, openOffice is not an option at all. It turned out that we don' t want to couple our application with another one (openOffice.org). Therefore, I am lost. After searching everything that can be searched in the web I find no solution. Is there really not a solution for my problem??? I think I saw somewhere talking about XSL-FO ... How could this help me, if it could? ... The suggestion to rely on XSL-FO I don't understand; I'll leave that to others. Is there really not a solution ...? Yes and no; if you need it open-sourced and coded in Java, well, no, I know of none. HOWEVER, there are quite a few RTF-PDF converters, several available at no charge, that are available specifically for Windows or Linux. If I understand your situation, therefore, what's before you is to decide how you feel about coupl[ing your] application with a combination of other ones. How else *would* a solution look? Are you making the point that your organization rejects an external executable, but would be OK with a library? -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] RTF to PDF
On Tue, Sep 15, 2009 at 7:32 AM, donanik duck nald...@yahoo.com wrote: HOWEVER, there are quite a few RTF-PDF converters, several available at no charge. I guess you' re talking about tools and not APIs. I already have mentioned the conversion has to be made programmaticaly. I also have mentioned my application has to be portable and not coupled with a specific OS like Windows or Linux. If you are talking about APIs at no charge that can make the conversion, please name them I' d be very interested. Are you making the point that your organization rejects an external executable, but would be OK with a library? Well, yes. With a library you just import it to your Project and use it. Then it is compiled along with the rest of your project and delivered to your customer with no extra actions. Whereas with the openOffice solution, our customer will have to install openOffice.org as well in the same machine that will host our application and make sure the openOffice.org service is always running in order for our application to be functional (Right? Or, have I misunderstood something here?). Let aside the fact that having a whole project (openOffice.org) running just to be able to use a small port of its capabilities (document conversion) doesn' t exactly seem so good, at list to me. I understand your description. While my own experience makes me chuckle at [w]ith a library you just import it to your Project and use it ..., I recognize the ideal. In any case, I can reasonably confidently report to you that what you're after isn't available: there's no nicely-packaged Java-coded RTF-PDF (or DOC-PDF ...) library. I know the alternatives are far less convenient for you. Similarly, as silly as it is to launch OpenOffice or Word itself just to achieve such an apparently straightforward result, I leave it to you to decide whether it's even sillier not to achieve your goal at all. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] RTF to PDF
On Mon, Sep 14, 2009 at 3:37 AM, donanik duck nald...@yahoo.com wrote: ... Is your host likely to be Linux, Mac OS, Win* ... We are not aware of the system that will host the app, therefore it should be as portable as Java can be. ... So, it seems that I need to find out how to programmatically convert an RTF (or DOC) to PDF. The rest is solved. Do you have a suggestion on that? Would you suggest a different solution? ... My own experience in this area has *not* emphasized Java. URL: http://www.dancrintea.ro/doc-to-pdf/ and URL: http://www.daniweb.com/forums/thread130906.html# , though, appear to me to be feasible. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] RTF to PDF
Howard Shank has already answered this. I'll add a few words. Are you sure you want to concatenate the RTFs first, *then* convert to PDF? In my own work, I find it more appropriate to convert all the RTFs to PDF, then concatenate PDFs (often, though not always, with iText). An abundance of tools other than iText is available for the RTF-PDF transformation. What other constraints do you face? Do you want this operation to be interactive or programmatic? Is your host likely to be Linux, Mac OS, Win*, ...? How many files are involved? On Fri, Sep 11, 2009 at 9:32 AM, donanik duck nald...@yahoo.com wrote: Hi everyone, I have a simple question. Can I convert RTF or DOC files to PDF using iText? My complete need is to combine many RTF (or DOC. either is fine) documents to one single document and then transform the result (the one RTF or DOC file) to PDF. I had a hard time trying to parse the DOC format so I tried to see if I can easily do the merge having many PDF files. This worked fine so my only problem now is to transform the RTF or DOC files to PDF so I can do the merge using iText. Can iText help me with that? ... -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] itext - 64bit windows server 2008 OS
I see many instances in the archives of what appears to me to be the same confusion. While I certainly don't know how to eliminate it, I'll say a few words of my own:A. iText is a well-managed Java project, with all that implies. All the questions about the host--32-bit, 64-bit, 64-bit-running-32-bit--are really about Java, and not iText. B. iText is a well-managed Java project to the extent that it has quite a nice test/ tree. Folks with questions can quickly download all sources, generate, and exercise the tests themselves. C. Requests for official link or work perfectly make me wonder whether the questioner is simply parroting something he's been asked by a manager. This raises all sorts of issues about how one explains Open Source to decision-makers; these, also, have little content to them specific to iText. On Mon, Aug 31, 2009 at 8:40 AM, mister bean abinst...@pacificdataworks.com wrote: This has nothing to do with iText. JSE code that runs on 32-bit JVMs runs without modification on 64-bit JVMs. ---mr. bean Thanikaiarasu wrote: Thanks for the reply. You mean to say iText wil work any where 32 bit or 64 bit. I can instal 64 version of JRE in windows server 2008 64 bit OS,then iText wil work perfectly. -original message- Subject: Re: [iText-questions] itext - 64bit windows server 2008 OS From: Paulo Soares psoa...@glintt.com Date: 31/08/2009 4:24 pm If Java works there, iText will also work. Paulo -Original Message- From: Thanikaiarasu [mailto:than...@ovi.com] Sent: Monday, August 31, 2009 7:50 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] itext - 64bit windows server 2008 OS Dear All, I would like to know whether itext- 2.0.8 will work properly in a 64bit windows server 2008 operating system. Kindly reply and provide any official link for knowing the same. ... -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] iText and Portfolios
I will need several Portfolio-related capabilities. A great start would simply be a method which reports whether a PDF is a Portfolio or not. Where can I read what iText knows about Portfolios? I've read through the archives of the mailing list, with no satisfaction. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Self-help facilities (was: Help needed)
Maybe you can help me; this thread has *me* confused. I certainly believe [t]here are numerous messages ... about, for example, how to get* XY* coordinates for any string in a PDF. I have the feeling that Mr. Nagarajaiah has been unable to locate even one; I know I've found it difficult. Mr. Pigeon recommended URL: http://1t3xt.com/docs/index.php and URL: http://1t3xt.com/docs/book.php . The iText book is indeed quite valuable, and I can only second your recommendation, although I don't know where it directly answers Mr. Nagarajaiah's question. The on-line documentation ... well, I've tried to read it all, and I remember nothing that seems to me to address Mr. Nagarajaiah's question directly. Do you use the search facility at URL: http://sourceforge.net/mailarchive/forum.php?forum_name=itext-questions ? I've tried it. I have *never* found anything useful to me with it, nor have I figured out any magic formula that makes search of the GMANE, Nabble, mail-archive, or open-Subscriber lists effective. Perhaps you can illustrate how you'd go about tracking down the answer Mr. Nagarajaiah seeks. I suspect I, at least, would learn a lot from that. I also suspect that part of the difficulty here might be that I don't understand the question as well as you. Mr. Nagarajaiah of course does himself no favor in choosing Help needed as his subject, nor does he detail what steps he's already taken to research his topic. Perhaps your existing deep familiarity with the mailing-list corpus helps you decode his intent. I have the feeling you know how to use existing resources much more efficiently than I. I'd like to learn your techniques. On Tue, Aug 18, 2009 at 3:46 AM, mister bean abinst...@pacificdataworks.com wrote: Seconding what Alexis wrote to you. There are numerous messages on this list and discussions in the docs regarding why what you want to do is not possible. --mr.bean Hi, I would like to know how to get XY coordinates for any string in a PDF and it does not associated with any tag. Thanks in advance. Thanks Mahadev -- View this message in context: http://www.nabble.com/Help-needed-tp25009464p25020808.html Sent from the iText - General mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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] Reading
You've already been referred to the FAQ. It's almost certain that the manager who has assigned you this task actually wants something different. In any case, iText does NOT take on the responsibility of extracting the human prose we see in a PDF image, so your question might better be addressed in some different forum. Maybe URL: http://phaseit.net/claird/comp.text.pdf/PDF_converters.html#pdf2txt will also interest you. On Tue, Aug 18, 2009 at 2:03 PM, Chase Preuninger chasepreunin...@gmail.com wrote: I just want to be able to read a PDF file. This may sound like a simple task however there are no tutorials which show how to do this. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/ -- Cameron Laird +1 817 280 1145 Building 27, Q2/#35 +1 281 648 9889 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/