Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
or... can I use maybe still PdfCopy to add named destinations, just have then a problem with the offset parameter - I have tried to set it as 0 - will not work. Adding actions are fine, but that is not what I need. Anyone, any help on this please!!! Thanks!! -- View this message in cont

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
ed. I have managed to copy namedDestinations with PdfWriter and add new ones, but then I don't get all the links working correctly. Sorry for all these questions, I'm quite new, and I'm trying to find the most appropriate solution... 1T3XT BVBA wrote: > > On 7/10/2011

[iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
, if I am doing anything wrong, below is my sample od the code Thanks, Vfeki Code: PdfReader reader = new PdfReader(@"pdfFiles\File1.pdf"); IList<Dictionary<string, Object>> list = SimpleBookmark.GetBookmark(reader); Dictionary<string, string> bookmarks = Simple

Re: [iText-questions] Add Named Destinations to Existing PDF

2011-10-06 Thread vfeki
Hi, thanks! Just can you please give a hint, since I am going into a circle. I have managed to get named destinations, but internal link don't seem to exist any more, have been researching also the content dictionary, but again cannot get it working Vfeki -- View this message in context:

[iText-questions] Add Named Destinations to Existing PDF

2011-10-06 Thread vfeki
, but cannot find a way (and have looked through the book also) how to add to an existing PDF document. Also tried with Anchor/Chunk, but it is not what I need. Thank you in advance, Vfeki -- View this message in context: http://itext-general.2136553.n4.nabble.com/Add-Named-Destinations-to-Existing

Re: [iText-questions] Create Bookmak in the top of the page

2011-08-16 Thread vfeki
thanks for your reply!! I have found also that I can return the page size from the reader and put it in the XYZ as Y value, so that way I guess for any page A4, A5.. it will work. But I like your first proposal, I'll try it out, thanks!! -- View this message in context: http://itext-general.2

[iText-questions] Create Bookmak in the top of the page

2011-08-16 Thread vfeki
Hi, Can you please tell me if there is a way to create a Bookmark in the top of the page, in a way to represent 'Home' link to the beginning of the first page. I need to add one to the existing pdf file. I have tried with the code similar from the book, but cannot find a proper parameter to add

Re: [iText-questions] how to retreive a paragraph list or chapter/section list from existing pdf document

2011-08-12 Thread vfeki
Hi, Thanks!! Yes, you're right. I've read a bit more about PDFs, and with no structure it is impossible. But your answer did give me some directions to research further Thanks!! -- View this message in context: http://itext-general.2136553.n4.nabble.com/how-to-retreive-a-paragraph-list-or-cha

[iText-questions] how to retreive a paragraph list or chapter/section list from existing pdf document

2011-08-09 Thread vfeki
cess. I would appreciate much any help with this, since it seems I just cannot find a solution to this. Any other idea how I might get list for outlines from the existing pdf document is also great! Thanks, Vfeki -- View this message in context: http://itext-general.2136553.n4.nabble.com/how-to-