Example usage for com.itextpdf.text Document addKeywords

List of usage examples for com.itextpdf.text Document addKeywords

Introduction

In this page you can find the example usage for com.itextpdf.text Document addKeywords.

Prototype


public boolean addKeywords(String keywords) 

Source Link

Document

Adds the keywords to a Document.

Usage

From source file:wtw.ui.GeneratingPdfAction.java

private static void addMetaData(Document document) {
    document.addTitle("My first PDF");
    document.addSubject("Using iText");
    document.addKeywords("Java, PDF, iText");
    document.addAuthor("Konda Reddy. Lingamdinne");
    document.addCreator("Konda Reddy. Lingamdinne");
}

From source file:za.org.rfm.pdf.EventPDF.java

private static void addMetaData(Document document) {
    document.addTitle("Event report");
    document.addSubject("Test PDF report");
    document.addKeywords("RFM, PDF, iText");
    document.addAuthor("Lars Vogel");
    document.addCreator("Lars Vogel");
}