Commit 919b735d authored by Hib Eris's avatar Hib Eris Committed by Albert Astals Cid

Add PDFDocBuilder

parent 1ab07faf
......@@ -400,6 +400,7 @@ if(ENABLE_XPDF_HEADERS)
poppler/PageTransition.h
poppler/Parser.h
poppler/PDFDoc.h
poppler/PDFDocBuilder.h
poppler/PDFDocEncoding.h
poppler/PopplerCache.h
poppler/ProfileData.h
......
......@@ -218,6 +218,7 @@ poppler_include_HEADERS = \
PageTransition.h \
Parser.h \
PDFDoc.h \
PDFDocBuilder.h \
PDFDocEncoding.h \
PopplerCache.h \
ProfileData.h \
......
//========================================================================
//
// PDFDocBuilder.h
//
// This file is licensed under the GPLv2 or later
//
// Copyright 2010 Hib Eris <hib@hiberis.nl>
//
//========================================================================
#ifndef PDFDOCBUILDER_H
#define PDFDOCBUILDER_H
#include "PDFDoc.h"
class GooString;
//------------------------------------------------------------------------
// PDFDocBuilder
//------------------------------------------------------------------------
class PDFDocBuilder {
public:
virtual ~PDFDocBuilder() {};
virtual PDFDoc *buildPDFDoc(GooString* uri, GooString *ownerPassword = NULL,
GooString *userPassword = NULL, void *guiDataA = NULL) = 0;
virtual GBool supports(GooString* uri) = 0;
};
#endif /* PDFDOCBUILDER_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment