2008-04-29 12:55:25 +00:00
|
|
|
#include <qpdf/QPDF_Null.hh>
|
|
|
|
|
2022-08-02 21:57:33 +00:00
|
|
|
QPDF_Null::QPDF_Null() :
|
|
|
|
QPDFValue(::ot_null, "null")
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-06-16 16:45:04 +00:00
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_Null::create()
|
|
|
|
{
|
|
|
|
return do_create(new QPDF_Null());
|
|
|
|
}
|
|
|
|
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_Null::shallowCopy()
|
|
|
|
{
|
|
|
|
return create();
|
|
|
|
}
|
|
|
|
|
2008-04-29 12:55:25 +00:00
|
|
|
std::string
|
|
|
|
QPDF_Null::unparse()
|
|
|
|
{
|
|
|
|
return "null";
|
|
|
|
}
|
2013-01-22 14:57:07 +00:00
|
|
|
|
2018-12-17 22:40:29 +00:00
|
|
|
JSON
|
2022-05-07 11:53:45 +00:00
|
|
|
QPDF_Null::getJSON(int json_version)
|
2018-12-17 22:40:29 +00:00
|
|
|
{
|
|
|
|
return JSON::makeNull();
|
|
|
|
}
|