1 /*============================================================================= 2 Copyright (c) 2017 Daniel James 3 4 Use, modification and distribution is subject to the Boost Software 5 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 http://www.boost.org/LICENSE_1_0.txt) 7 =============================================================================*/ 8 9 #if !defined(BOOST_QUICKBOOK_BOOSTBOOK_HTML_PRINTER_HPP) 10 #define BOOST_QUICKBOOK_BOOSTBOOK_HTML_PRINTER_HPP 11 12 #include <string> 13 #include "string_view.hpp" 14 15 namespace quickbook 16 { 17 namespace detail 18 { 19 struct html_printer; 20 21 void open_tag(html_printer&, quickbook::string_view name); 22 void close_tag(html_printer&, quickbook::string_view name); 23 void tag_attribute( 24 html_printer&, 25 quickbook::string_view name, 26 quickbook::string_view value); 27 void tag_start(html_printer&, quickbook::string_view name); 28 void tag_end(html_printer&); 29 void tag_end_self_close(html_printer&); 30 31 struct html_printer 32 { 33 std::string html; 34 }; 35 } 36 } 37 38 #endif 39