Spaces:
Running
Running
File size: 1,088 Bytes
a9694d2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
//========================================================================
//
// LocalPDFDocBuilder.h
//
// This file is licensed under the GPLv2 or later
//
// Copyright 2010 Hib Eris <[email protected]>
// Copyright 2010, 2018, 2022 Albert Astals Cid <[email protected]>
// Copyright 2021 Oliver Sander <[email protected]>
//
//========================================================================
#ifndef LOCALPDFDOCBUILDER_H
#define LOCALPDFDOCBUILDER_H
#include "PDFDocBuilder.h"
//------------------------------------------------------------------------
// LocalPDFDocBuilder
//
// The LocalPDFDocBuilder implements a PDFDocBuilder for local files.
//------------------------------------------------------------------------
class LocalPDFDocBuilder : public PDFDocBuilder
{
public:
std::unique_ptr<PDFDoc> buildPDFDoc(const GooString &uri, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr) override;
bool supports(const GooString &uri) override;
};
#endif /* LOCALPDFDOCBUILDER_H */
|