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

org.jpedal.constants.PDFflags Maven / Gradle / Ivy

There is a newer version: 7.15.25
Show newest version
/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * PDFflags.java
 * ---------------
 */
package org.jpedal.constants;

public class PDFflags {

    /**
     * see Table 3.20 in PDF spec for meaning of values returned
     */
    public static final Integer USER_ACCESS_PERMISSIONS = 1;

    /**
     * ask JPedal for status on password
     */
    public static final Integer VALID_PASSWORD_SUPPLIED = 2;

    /**
     * possible return keys from VALID_PASSWORD_SUPPLIED
     */
    public static final int NO_VALID_PASSWORD = 0;
    public static final int VALID_USER_PASSWORD = 1;
    public static final int VALID_OWNER_PASSWORD = 2;

    public static final int IS_FILE_VIEWABLE = 100;

    public static final int IS_FILE_ENCRYPTED = 101;

    public static final int IS_METADATA_ENCRYPTED = 102;

    public static final int IS_EXTRACTION_ALLOWED = 103;

    public static final int IS_PASSWORD_SUPPLIED = 104;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy