From 1748d1e662c9618cc16f80d5e67669e9e9d6d4be Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 12 Jan 2024 03:01:12 +0000 Subject: CTAN sync 202401120301 --- dviware/dvisvgm/src/ImageToSVG.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dviware/dvisvgm/src/ImageToSVG.hpp') diff --git a/dviware/dvisvgm/src/ImageToSVG.hpp b/dviware/dvisvgm/src/ImageToSVG.hpp index eccb48e5f7..943600dbbb 100644 --- a/dviware/dvisvgm/src/ImageToSVG.hpp +++ b/dviware/dvisvgm/src/ImageToSVG.hpp @@ -2,7 +2,7 @@ ** ImageToSVG.hpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2023 Martin Gieseking ** +** Copyright (C) 2005-2024 Martin Gieseking ** ** ** ** This program is free software; you can redistribute it and/or ** ** modify it under the terms of the GNU General Public License as ** @@ -37,6 +37,7 @@ class ImageToSVG : protected SpecialActions { void convert (int firstPage, int lastPage, std::pair *pageinfo); void convert (const std::string &rangestr, std::pair *pageinfo); void setPageTransformation (const std::string &transCmds) {_transCmds = transCmds;} + void setUserMessage (const std::string &msg) {_userMessage = msg;} std::string filename () const {return _fname;} PSInterpreter& psInterpreter () const {return _psHandler.psInterpreter();} virtual bool isSinglePageFormat () const =0; @@ -84,8 +85,9 @@ class ImageToSVG : protected SpecialActions { unsigned _currentPageNumber=0; BoundingBox _bbox; mutable PsSpecialHandler _psHandler; - int _gsVersion=0; ///< Ghostscript version found - std::string _transCmds; ///< transformation commands + int _gsVersion=0; ///< Ghostscript version found + std::string _transCmds; ///< transformation commands + std::string _userMessage; ///< message printed after conversion }; #endif -- cgit v1.2.3