blob: cc4dc31a6a2b1398b64eb60bf5fab2a54f4a30b2 (
plain) (
blame)
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
|
#ifndef QPDF_INLINEIMAGE_HH
#define QPDF_INLINEIMAGE_HH
#include <qpdf/QPDFValue.hh>
class QPDF_InlineImage: public QPDFValue
{
public:
~QPDF_InlineImage() override = default;
static std::shared_ptr<QPDFObject> create(std::string const& val);
std::shared_ptr<QPDFObject> copy(bool shallow = false) override;
std::string unparse() override;
JSON getJSON(int json_version) override;
void writeJSON(int json_version, JSON::Writer& p) override;
std::string
getStringValue() const override
{
return val;
}
private:
QPDF_InlineImage(std::string const& val);
std::string val;
};
#endif // QPDF_INLINEIMAGE_HH
|