diff options
Diffstat (limited to 'include/qpdf/QPDFObjectHandle.hh')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 4c986af7..41646b79 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -476,6 +476,11 @@ class QPDFObjectHandle static QPDFObjectHandle newReal(std::string const& value); QPDF_DLL static QPDFObjectHandle newReal(double value, int decimal_places = 0); + // ABI: combine with other newReal by adding trim_trailing_zeroes + // above as an optional parameter with a default of true. + QPDF_DLL + static QPDFObjectHandle newReal(double value, int decimal_places, + bool trim_trailing_zeroes); QPDF_DLL static QPDFObjectHandle newName(std::string const& name); QPDF_DLL |