All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.pdfservices.operation.pdfjobs.result.pdfproperties.PDFProperties Maven / Gradle / Ivy

Go to download

Adobe PDF Services SDK allows you to access RESTful APIs to create, convert, and manipulate PDFs within your applications. Older versions can be found under groupId: com.adobe.documentservices, artifactId: pdftools-sdk

There is a newer version: 4.2.0
Show newest version
/*
 * Copyright 2024 Adobe
 * All Rights Reserved.
 *
 * NOTICE: Adobe permits you to use, modify, and distribute this file in
 * accordance with the terms of the Adobe license agreement accompanying
 * it. If you have received this file from a source other than Adobe,
 * then your use, modification, or distribution of it requires the prior
 * written permission of Adobe.
 */
package com.adobe.pdfservices.operation.pdfjobs.result.pdfproperties;

import java.util.List;

/**
 * This class represents the metadata of the specified PDF file. It consists of information related to document,
 * pages, security settings etc.
 */
public class PDFProperties {
    private Document document;

    private SecuritySettings permissions;

    private List pages;

    /**
     * Returns a {@link Document} instance specifying document level properties such as fonts, PDF versions etc.
     *
     * @return A {@link Document} instance consisting of document level properties.
     */
    public Document getDocument() {
        return document;
    }

    /**
     * Returns a {@link SecuritySettings} instance specifying security settings of the such as encryption
     * algorithm, user and owner passwords etc.
     *
     * @return A {@link SecuritySettings} instance consisting of security settings of the PDF.
     */
    public SecuritySettings getSecuritySettings() {
        return permissions;
    }

    /**
     * Returns a list of {@link Page} instances specifying page level properties of the pages from the specified PDF
     * file
     * such as page number, page height etc.
     *
     * @return A List of {@link Page} instances.
     */
    public List getPages() {
        return pages;
    }

    void setDocument(Document document) {
        this.document = document;
    }

    void setPermissions(SecuritySettings permissions) {
        this.permissions = permissions;
    }

    void setPages(List pages) {
        this.pages = pages;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy