2013-01-20 19:55:01 +00:00
|
|
|
#include <qpdf/QPDF_InlineImage.hh>
|
|
|
|
|
|
|
|
QPDF_InlineImage::QPDF_InlineImage(std::string const& val) :
|
2022-08-02 21:57:33 +00:00
|
|
|
QPDFValue(::ot_inlineimage, "inline-image"),
|
2013-01-20 19:55:01 +00:00
|
|
|
val(val)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-06-16 16:45:04 +00:00
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_InlineImage::create(std::string const& val)
|
|
|
|
{
|
|
|
|
return do_create(new QPDF_InlineImage(val));
|
|
|
|
}
|
|
|
|
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_InlineImage::shallowCopy()
|
|
|
|
{
|
|
|
|
return create(val);
|
|
|
|
}
|
|
|
|
|
2013-01-20 19:55:01 +00:00
|
|
|
std::string
|
|
|
|
QPDF_InlineImage::unparse()
|
|
|
|
{
|
|
|
|
return this->val;
|
|
|
|
}
|
|
|
|
|
2018-12-17 22:40:29 +00:00
|
|
|
JSON
|
2022-05-07 11:53:45 +00:00
|
|
|
QPDF_InlineImage::getJSON(int json_version)
|
2018-12-17 22:40:29 +00:00
|
|
|
{
|
|
|
|
return JSON::makeNull();
|
|
|
|
}
|
|
|
|
|
2013-01-20 19:55:01 +00:00
|
|
|
std::string
|
|
|
|
QPDF_InlineImage::getVal() const
|
|
|
|
{
|
|
|
|
return this->val;
|
|
|
|
}
|