Package de.pdf_scrutinizer.document

Examples of de.pdf_scrutinizer.document.DocumentAdapter


import de.pdf_scrutinizer.Scrutinizer;
import de.pdf_scrutinizer.document.DocumentAdapter;

public class Info {
    public Info(Scrutinizer scrutinizer) {
        DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
        if (documentAdapter != null && documentAdapter.IsDocLoaded()) {
            PDDocument pd = documentAdapter.getDocument();
            PDDocumentInformation docinfo = pd.getDocumentInformation();
            if (docinfo != null) {
                Title = title = docinfo.getTitle();
                Author = author = docinfo.getAuthor();
                Subject = subject = docinfo.getSubject();
View Full Code Here


        if (output == null) {
            output = new OutputToFiles(this, hash, resultFolder);
        }

        // load the pdf document using the DocumentAdapter.
        documentAdapter = new DocumentAdapter(this, this.rootPDF);

        if (documentAdapter == null || !documentAdapter.IsDocLoaded()) {
            log.error("no document loaded");
            return AnalysisResult.error();
        }
View Full Code Here

            log.error("no document loaded");
            return;
        }

        // load the pdf document using the DocumentAdapter.
        documentAdapter = new DocumentAdapter(this, this.rootPDF);

        if (documentAdapter == null || !documentAdapter.IsDocLoaded()) {
            log.error("no document loaded");
            return;
        }
View Full Code Here

    public Console console = new Console();
    public double zoom = 100;

    protected Doc(Scrutinizer scrutinizer) {
        this.scrutinizer = scrutinizer;
        DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
        if (documentAdapter != null && documentAdapter.IsDocLoaded()) {
            numPages = documentAdapter.getDocument().getNumberOfPages();
        }

        info = new Info(scrutinizer);
    }
View Full Code Here

//    }

    public Annotation getAnnot(int nPage, String nName) {
        Reflect.getMethodName();

        DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
        return documentAdapter.getAnnot(nPage, nName);
    }
View Full Code Here

//    }

    public String getPageNthWord(int i, int j) {
        Reflect.getMethodName();

        DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
        return documentAdapter.getPageNthWord(i, j);
    }
View Full Code Here

TOP

Related Classes of de.pdf_scrutinizer.document.DocumentAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.