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-09-08 15:29:23 +00:00
|
|
|
std::shared_ptr<QPDFObject>
|
2022-06-16 16:45:04 +00:00
|
|
|
QPDF_InlineImage::create(std::string const& val)
|
|
|
|
{
|
|
|
|
return do_create(new QPDF_InlineImage(val));
|
|
|
|
}
|
|
|
|
|
2022-09-08 15:29:23 +00:00
|
|
|
std::shared_ptr<QPDFObject>
|
2022-11-14 17:54:12 +00:00
|
|
|
QPDF_InlineImage::copy(bool shallow)
|
2022-06-16 16:45:04 +00:00
|
|
|
{
|
|
|
|
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();
|
|
|
|
}
|