OpenPDF is an open-source Java library for creating, editing, rendering, and encrypting PDF documents, as well as generating PDFs from HTML. It is licensed under the LGPL and MPL open source licenses.
Do you have PDFs whose Table of Content (or Outlines) that you want to edit? If so, this is the right software for you. Click on Select input file to open the PDF of which you want to edit the table ...