aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDFValue.hh
AgeCommit message (Collapse)Author
2024-02-16Reimplement QPDFObjectHandle::getJSON in terms of writeJSONm-holger
2024-02-16Add new writeJSON methodsm-holger
Create an alternative to getJSON to allow an object handle to be written as JSON without the overhead of creating a JSON object.
2023-05-21Rerun clang-formatJay Berkenbilt
2023-02-18Add method QPDFValue::setChildDescriptionm-holger
2023-02-18Move definition of QPDF::JSONReactor into QPDF_jsonm-holger
Allow access to private header files when defining data members.
2023-02-18Refactor setting of object descriptions in QPDF::JSONReactorm-holger
2023-02-18Refactor QPDFValue::setDefaultDescriptionm-holger
2023-02-18Remove restriction that only owned objects can have descriptionsm-holger
2023-02-18Change type of QPDFValue::object_description to std::shared_ptr<std::variant>m-holger
Also, name the type QPDFValue::Description.
2023-02-18Un-inline QPDFValue::getDescriptionm-holger
2022-12-31Refactor QPDFValue::getDescriptionm-holger
Remove parameters and return the description.
2022-12-31Delay adding offsets to object descriptions until necessarym-holger
2022-12-31Delay adding ObjGen to object descriptions until necessarym-holger
2022-12-31Make QPDFValue::object_description a shared pointerm-holger
2022-12-31Add new method QPDFObject::setDefaultDescriptionm-holger
2022-12-31Refactor QPDFParser::setDescriptionFromInput and rename to setDescriptionm-holger
Set parsed offset at the same time as setting description.
2022-12-31Add new virtual method QPDFObject::getStringValuem-holger
Avoid dynamic casting.
2022-11-20Rename QPDFObject::shallowCopy to copym-holger
Add optional parameter shallow. Change logic errors to runtime errors.
2022-11-19Remove QPDF_Stream::offsetm-holger
2022-09-08Rename QPDFValueProxy back to QPDFObjectJay Berkenbilt
QPDFValueProxy wasn't a good name for it. We decided the evil of having the header file be named QPDFObject_private.hh was less than the evil of having the class be named something other than what it should have been named.
2022-09-08Change reset to disconnect and clarify commentsJay Berkenbilt
I decided that it's actually fine to copy a direct object to another QPDF. Even if we eventually prevent a QPDFObject from having multiple parents, this could happen if an object is moved.
2022-09-08Clear owning QPDF information for all objects, not just indirectJay Berkenbilt
2022-09-08Remove unneeded owning_qpdf from QPDFValueJay Berkenbilt
The qpdf member was already sufficient. Removing this actually fixed a few pre-existing issues around detecting foreign ownership and allowing certain conditions to be warnings rather than exceptions.
2022-09-06Rename QPDFObject -> QPDFValueProxyJay Berkenbilt
This is in preparation for restoring a QPDFObject.hh to ease the transition on qpdf_object_type_e. This commit was created by * Renaming QPDFObject.cc and QPDFObject.hh * Replacing QPDFObject\b with QPDFValueProxy (where \b is word boundary) * Running format-code * Manually resorting files in libqpdf/CMakeLists.txt * Manually refilling the comment in QPDF.hh near class Resolver
2022-09-04Fix commit 805c1ad : Reset QPDFValue::qpdf and QPDFValue::og when ...m-holger
On destruction of the QPDF object replace all indirect object references with direct nulls. Remove all existing code to release resolved references. Fixes performance issue due to interaction of resetting QPDFValue::qpdf and og members and prior code.
2022-09-02Remove copyright banner from newly private header filesJay Berkenbilt
We don't put specific copyright banners on files that aren't installed.
2022-09-02Remove QPDFObject and QPDFValue from public include directoryJay Berkenbilt