Example usage for com.itextpdf.text Document addSubject

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

Introduction

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

Prototype


public boolean addSubject(String subject) 

Source Link

Document

Adds the subject to a Document.

Usage

From source file:report.pdfs.Herd_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Herd Overview Report");
    document.addSubject("Herd");
    document.addKeywords("Beef, Herd, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Labour_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Labour Overview Report");
    document.addSubject("Labour");
    document.addKeywords("Basics, Labour, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Lighting_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Lighting Overview Report");
    document.addSubject("Lighting");
    document.addKeywords("Basics, Lighting, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Machinery_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Machinery Overview Report");
    document.addSubject("Machinery");
    document.addKeywords("Basics, Machinery, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Medical_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Medical Overview Report");
    document.addSubject("Medical");
    document.addKeywords("Beef, Medical, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Mortgaged_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Mortgaged Overview Report");
    document.addSubject("Mortgaged");
    document.addKeywords("Basics, Mortgaged, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Rented_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Rented Overview Report");
    document.addSubject("Rented");
    document.addKeywords("Basics, Rented, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Slurry_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Slurry Overview Report");
    document.addSubject("Slurry");
    document.addKeywords("Basics, Slurry, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Vet_Visit_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Vet Visit Overview Report");
    document.addSubject("Vet Visit");
    document.addKeywords("Beef, Vet Visit, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}

From source file:report.pdfs.Water_PDF_Report.java

private void addMetaData(Document document) {
    document.addTitle("Water Overview Report");
    document.addSubject("Water");
    document.addKeywords("Basics, Water, Report");
    document.addAuthor("admin");
    document.addCreator(System.getProperty("user.name"));
}