• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Manipulating BookMarks-Indexing PDFS

 
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sir,
We have a great huge product and one part of the product is generating documentation or Usermanual for the New Joinees in the project and for end customers.

If suppose many pdfs are generated, i would like to create a master pdf to link those and with search index feature.

Is it possible to add bookmarks and manipulate with IText
 
author
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Karthik Rajendiran:
Is it possible to add bookmarks and manipulate with IText


Yes, if the separate PDFs already have bookmarks, you could use the Concat tool (p415) to concatenate the PDFs. All the bookmarks will be preserved.
If you don't have any bookmarks yet, and you would like to create bookmarks that point to the first page of each of the concatenated PDFs, you should read section 13.4 Adding bookmarks (p407-415). There are different ways to create/add bookmarks with iText.
 
Bruno Lowagie
author
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Karthik Rajendiran:
with search index feature.


Do you mean an index that can be printed out? A list of words with references to page numbers? That isn't possible. You can create such an index with iText if you create the PDF from scratch (as explained in section 4.6.3), but if you start from existing PDFs, you should use another library such as Lucene (specialized in indexing of all kinds of document formats).
 
reply
    Bookmark Topic Watch Topic
  • New Topic