Example usage for com.itextpdf.text.pdf PdfOutline PdfOutline

List of usage examples for com.itextpdf.text.pdf PdfOutline PdfOutline

Introduction

In this page you can find the example usage for com.itextpdf.text.pdf PdfOutline PdfOutline.

Prototype

public PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title, boolean open) 

Source Link

Document

Constructs a PdfOutline.

Usage

From source file:com.kohmiho.mpsr.export.PDFGenerator.java

private PdfOutline addOutline(PdfOutline parent, PdfWriter writer, String title) {

    return new PdfOutline(parent,
            new PdfDestination(PdfDestination.XYZ, 0, writer.getVerticalPosition(true), 0), title, true);
}