aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_InlineImage.cc
blob: 9769630cf878ee54d9c69c8978074757b14c1eb9 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include <qpdf/QPDF_InlineImage.hh>

#include <qpdf/QUtil.hh>

QPDF_InlineImage::QPDF_InlineImage(std::string const& val) :
    val(val)
{
}

QPDF_InlineImage::~QPDF_InlineImage()
{
}

std::string
QPDF_InlineImage::unparse()
{
    return this->val;
}

JSON
QPDF_InlineImage::getJSON()
{
    return JSON::makeNull();
}

QPDFObject::object_type_e
QPDF_InlineImage::getTypeCode() const
{
    return QPDFObject::ot_inlineimage;
}

char const*
QPDF_InlineImage::getTypeName() const
{
    return "inline-image";
}

std::string
QPDF_InlineImage::getVal() const
{
    return this->val;
}