From 149366116ad0ffb936eaa042823211731e9dcdee Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 16 Oct 2020 00:10:05 +0200 Subject: Add multi-line PROJ string export capability, and use it by default in projinfo (unless --single-line is specified) (fixes #1543) --- include/proj/io.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/proj') diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 9a4c7f9d..20dcedfe 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -387,6 +387,10 @@ class PROJ_GCC_DLL PROJStringFormatter { PROJ_DLL ~PROJStringFormatter(); //! @endcond + PROJ_DLL PROJStringFormatter &setMultiLine(bool multiLine) noexcept; + PROJ_DLL PROJStringFormatter &setIndentationWidth(int width) noexcept; + PROJ_DLL PROJStringFormatter &setMaxLineLength(int maxLineLength) noexcept; + PROJ_DLL void setUseApproxTMerc(bool flag); PROJ_DLL const std::string &toString() const; -- cgit v1.2.3