Skip to content

This free consulting project uses Aspose.PDF to enable you to create TOC in exisiting PDF document by extracting first line/phrase of each page. It also showcases a functionality to extract lengthy content pages and create a separate PDF document from them. https://www.aspose.com/

Notifications You must be signed in to change notification settings

aspose-free-consulting/Create-TOC-in-Existing-PDF-by-Extracting-Page-Titles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create TOC in Existing PDF by Extracting Page Titles

This free consulting project uses Aspose.PDF to enable you to create TOC in exisiting PDF document by extracting first line/phrase of each page. It also showcases a functionality to extract lengthy content pages and create a separate PDF document from them. For example, if a Chapter has title "Chapter 1" and it expands over more than one page of the PDF, this utility will extract all pages containing "Chapter 1" title and create a new PDF file from them.

ScreenShots of Usage

Below is the main screen of the application which is annotated as well to describe functionality of each control:

Screen1

Set License File: You must have a valid license file before using the application. In case you do not have one, you can apply for a 30-days free temporary license to use and evaluate the API without any restriction.

Select a PDF: The application uses a sample PDF document (sample.pdf) which is also available in the project but, you can use any PDF document having similar structure.

Extract First Phrase/Word of each Page: This will extract very first phrase/word/title of every page inside selected PDF and list it in the below ListBox. e.g. Below ScreenShot:

Screen2

Create TOC in PDF with Unique Titles: This will create/add TOC in selected PDF document containing unique titles and hyperlinks pointing to the corresponding pages. Below is a screenshot of sample output PDF document:

Output1

Create separate PDF for long titles and Create TOC for Rest: This option will extract all chapters expanding over more than one page and create separate PDF for them. Also, it will create TOC for the remaining chapters in selected PDF.

Interested in Aspose free consulting project?

If you are also interested in a free consulting project by Aspose team then please view details on this page

If you have any questions about Aspose APIs, please feel free to post your query in Aspose file format APIs Forums.

Also, you can keep in touch with the latest developments in file format APIs offered by Aspose at our Blog.

This free consulting project is based on the following issue:

create a project that does Epub to PDF, Preview PDF converter

About

This free consulting project uses Aspose.PDF to enable you to create TOC in exisiting PDF document by extracting first line/phrase of each page. It also showcases a functionality to extract lengthy content pages and create a separate PDF document from them. https://www.aspose.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages