2022-08-02 12:12:17 +00:00
|
|
|
#include <qpdf/QPDF_Unresolved.hh>
|
|
|
|
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_Unresolved::create()
|
|
|
|
{
|
|
|
|
return do_create(new QPDF_Unresolved());
|
|
|
|
}
|
|
|
|
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
|
|
QPDF_Unresolved::shallowCopy()
|
|
|
|
{
|
|
|
|
return create();
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string
|
|
|
|
QPDF_Unresolved::unparse()
|
|
|
|
{
|
|
|
|
throw std::logic_error(
|
2022-08-02 20:35:04 +00:00
|
|
|
"attempted to unparse an unresolved QPDFObjectHandle");
|
2022-08-02 12:12:17 +00:00
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
|
|
|
JSON
|
|
|
|
QPDF_Unresolved::getJSON(int json_version)
|
|
|
|
{
|
|
|
|
return JSON::makeNull();
|
|
|
|
}
|
|
|
|
|
2022-08-02 20:35:04 +00:00
|
|
|
qpdf_object_type_e
|
2022-08-02 12:12:17 +00:00
|
|
|
QPDF_Unresolved::getTypeCode() const
|
|
|
|
{
|
2022-08-02 20:35:04 +00:00
|
|
|
return ::ot_unresolved;
|
2022-08-02 12:12:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
char const*
|
|
|
|
QPDF_Unresolved::getTypeName() const
|
|
|
|
{
|
|
|
|
return "unresolved";
|
|
|
|
}
|