Re: How to modify a document Field before the document is indexed?

2010-07-19 Thread Ken Bowen
Look at this example: Developers Guide > Cookbook > Dealing with Forms > SetField On Jul 19, 2010, at 6:38 PM, Joe Hansen wrote: Hey All, I am using Apache Lucene (2.9.1) with PDFBox 0.8.0. The combination works really great for our website. I use the following command to create Lucent Docum

How to modify a document Field before the document is indexed?

2010-07-19 Thread Joe Hansen
Hey All, I am using Apache Lucene (2.9.1) with PDFBox 0.8.0. The combination works really great for our website. I use the following command to create Lucent Document from a PDF file: Document document = org.apache.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument(docFile); Now, document,

Re: Adding named destinations to PDf file

2010-07-19 Thread Adam
There were a few e-mails on the mailing list a couple weeks ago. In one of my e-mails of that thread I explain what a named destination is (it's a type of bookmark). Another e-mail by Kevin Brown explained how to create, read and update named destinations. The subject of the latest e-mail was

Re: Adding named destinations to PDF file

2010-07-19 Thread Kevin Brown
If no one here helps you, perhaps try stackoverlow.com? There seem to be at least a few friendly folks over there who use pdfbox (and like tools). On Mon, Jul 19, 2010 at 8:08 AM, Kevin Brown wrote: > Chemi, > > Yes, working with named dests in pdfbox can be a little frustrating. I > hope to

Re: Adding named destinations to PDF file

2010-07-19 Thread Kevin Brown
Chemi, Yes, working with named dests in pdfbox can be a little frustrating. I hope to experiment further some time soon. Hope some one else can chime in with some wisdom. Re your first point, maybe you could use PDF CanOpener or something like that to get a good look at how the pdfbox named dest

Re: Adding named destinations to PDF file

2010-07-19 Thread Chemi
On 7/19/2010 1:31 PM, Kevin Brown wrote: Pleasure to meet a fellow named destination seeker! You have done what I was able to do and more, so far. I have only been able to edit existing named destinations so far, I'm afraid. In fact, I found that if you use this method to change the names of n

Error with PDFTextStripper

2010-07-19 Thread Yogesh
> > Hi, > > I am using pdfbox-1.2.0 for extracting text from PDFs. I am getting the > following error when using it. > > org.apache.pdfbox.pdmodel.font.PDFontFactory createFont > WARNING: Failed to create Type1C font. Falling back to Type1 font > > I do not know what is wrong. Please help. > > Than

Re: User List URL?

2010-07-19 Thread Chemi
It seems here it is: http://pdfbox.markmail.org/ On 7/19/2010 1:14 PM, Andreas Lehmkühler wrote: Hi, Which is the User List URL to browse old messages? From PDFBox URL, I get: http://pdfbox.apache.org/mailing-list.html#users but it doesn't exist. Try http://pdfbox.apache.org/mail-lists.

Re: Adding named destinations to PDF file

2010-07-19 Thread Kevin Brown
Pleasure to meet a fellow named destination seeker! You have done what I was able to do and more, so far. I have only been able to edit existing named destinations so far, I'm afraid. In fact, I found that if you use this method to change the names of named destinations, their properties are chan

Re: User List URL?

2010-07-19 Thread Andreas Lehmkühler
Hi, > Which is the User List URL to browse old messages? > From PDFBox URL, I get: > http://pdfbox.apache.org/mailing-list.html#users but it doesn't exist. Try http://pdfbox.apache.org/mail-lists.html BR Andreas Lehmkühler

User List URL?

2010-07-19 Thread Chemi
Which is the User List URL to browse old messages? From PDFBox URL, I get: http://pdfbox.apache.org/mailing-list.html#users but it doesn't exist. Thanks! Chemi.

Re: Adding named destinations to PDF file

2010-07-19 Thread Chemi
I have investigated further... and I have added already a PDPageXYZDestination to my PDF file. But I have some issues/questions: 1.- I would like to add a destination pointing to a specific String. I got COString reference but, I don't know how to find its X, Y coords. Any help? 2.- When I

Re: getting page numbers of named destinations

2010-07-19 Thread Chemi
Kevin Brown wrote: One thing I haven't been able to get is the actual name of the named destinations. You would think there would be something like getName() setName() methods. I'll keep poking around. Hi Kevin, I found your comments in mail archive in Internet. Don't know if you found the a