Re: getting page numbers of named destinations

2010-05-19 Thread Kevin Brown
I can't seem to get this done with pdfbox. There doesn't seem to be a way to get the page number from the context of the named destination. Am I wrong? Anyone got any sample code for working with named destinations? On Wed, May 19, 2010 at 12:45 PM, Kevin Brown wrote: > Thanks. I do need to do t

Re: Create PDF with Umlauts (ä,ö,ü)

2010-05-19 Thread Michael Fischer v. Mollard
Am Samstag, den 08.05.2010, 16:51 +0200 schrieb Andreas Lehmkuehler: > Hi, > > dysign.ch schrieb: > > Hello everybody > > > > I recently started a java project where one of the tasks is to generate > > pdf files from some stored texts. As I'm from Switzerland, many texts > > contain umlauts like

ExtractImages on Cairo PDF

2010-05-19 Thread Kenneth Berland
List, I generated this file from Inkscape 0.46 and saved with the PDF via Cairo option. http://pdfbox-test.s3.amazonaws.com/test.pdf http://pdfbox-test.s3.amazonaws.com/test.svg I can see the embedded tiffg4 in Reader and xpdf yet ExtractImages yields nothing. Any ideas? -KB

Re: getting page numbers of named destinations

2010-05-19 Thread Kevin Brown
Thanks. I do need to do that! At the moment I'm trying to see if I can get the GotoSecondBookmarkOnOpen.java sample has any clues... if PDOutlineItem could refer to a named destination then I may be in business! On Wed, May 19, 2010 at 11:57 AM, wrote: > I haven't dealt with named destinatio

Re: getting page numbers of named destinations

2010-05-19 Thread Adam
I haven't dealt with named destinations, but if you get get the object ID of the page, you can look up the page number with doc.getPageMap(). If you haven't already, I'd suggest tracing through a PDF with a hex editor (or any good quality text editor will work fine) to find out how everything

getting page numbers of named destinations

2010-05-19 Thread Kevin Brown
Is it possible to, for a PDF, get the named destinations in it, and find out what page each is on? It doesn't look like it from my perusal of the documentation, but I'm not sure. Seems like you can get the destination names but that's about it.