Re: Creating a PDFSelection...

2010-05-26 Thread John Calhoun
On May 25, 2010, at 9:37 PM, Matthew Weinstein wrote: Actually, I don't need the tiff; I just need the rectangle! People have to be able to sketch the rectangle over the pdf, and then my program stores and restores those rectangles (with some additional information). PDFSelection has a

Creating a PDFSelection...

2010-05-25 Thread Matthew Weinstein
Dear progammers, Thanks for all the help! Onto the next problem... Users need to be able to select sections of a pdfView, and I need to be able to save and analyze the selections (e.g., do they overlap). I also need to be able to restore the selections later. So the question is, can I use

Re: Creating a PDFSelection...

2010-05-25 Thread Matthew Weinstein
António, that's exactly what I needed. But it leads to my next question. The PDFSelection class as far as I can tell basically supports what in Preview.app is the text tool on the toolbar. The selection tool in Preview.app selects an arbitrary rectangle, even if there's no text behind the

Re: Creating a PDFSelection...

2010-05-25 Thread Antonio Nunes
On 26 May 2010, at 03:01, Matthew Weinstein wrote: The PDFSelection class as far as I can tell basically supports what in Preview.app is the text tool on the toolbar. The selection tool in Preview.app selects an arbitrary rectangle, even if there's no text behind the image. So, is

Re: Creating a PDFSelection...

2010-05-25 Thread Matthew Weinstein
Actually, I don't need the tiff; I just need the rectangle! People have to be able to sketch the rectangle over the pdf, and then my program stores and restores those rectangles (with some additional information). On May 25, 2010, at 9:15 PM, Antonio Nunes wrote: On 26 May 2010, at 03:01,