2018-08-12 18:07:22 +00:00
|
|
|
#ifndef QPDF_NULL_HH
|
|
|
|
#define QPDF_NULL_HH
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2022-08-02 20:35:04 +00:00
|
|
|
#include <qpdf/QPDFValue.hh>
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2022-08-02 20:35:04 +00:00
|
|
|
class QPDF_Null: public QPDFValue
|
2008-04-29 12:55:25 +00:00
|
|
|
{
|
|
|
|
public:
|
2023-06-01 14:21:32 +00:00
|
|
|
~QPDF_Null() override = default;
|
2022-09-08 15:29:23 +00:00
|
|
|
static std::shared_ptr<QPDFObject> create();
|
2023-02-17 14:59:33 +00:00
|
|
|
static std::shared_ptr<QPDFObject> create(
|
|
|
|
std::shared_ptr<QPDFObject> parent,
|
|
|
|
std::string_view const& static_descr,
|
|
|
|
std::string var_descr);
|
|
|
|
static std::shared_ptr<QPDFObject> create(
|
|
|
|
std::shared_ptr<QPDFValue> parent,
|
|
|
|
std::string_view const& static_descr,
|
|
|
|
std::string var_descr);
|
2023-06-01 14:21:32 +00:00
|
|
|
std::shared_ptr<QPDFObject> copy(bool shallow = false) override;
|
|
|
|
std::string unparse() override;
|
2024-02-09 13:09:08 +00:00
|
|
|
void writeJSON(int json_version, JSON::Writer& p) override;
|
2022-06-27 16:50:35 +00:00
|
|
|
|
2022-06-16 16:45:04 +00:00
|
|
|
private:
|
2022-08-02 21:57:33 +00:00
|
|
|
QPDF_Null();
|
2008-04-29 12:55:25 +00:00
|
|
|
};
|
|
|
|
|
2018-08-12 18:07:22 +00:00
|
|
|
#endif // QPDF_NULL_HH
|