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_TO_HTML_HPP) 10 #define BOOST_QUICKBOOK_BOOSTBOOK_TO_HTML_HPP 11 12 #include <string> 13 #include "path.hpp" 14 #include "string_view.hpp" 15 16 namespace quickbook 17 { 18 namespace detail 19 { 20 struct html_options 21 { 22 bool chunked_output; 23 boost::filesystem::path home_path; 24 path_or_url boost_root_path; 25 path_or_url css_path; 26 path_or_url graphics_path; 27 bool pretty_print; 28 html_optionsquickbook::detail::html_options29 html_options() : chunked_output(false) {} 30 }; 31 32 int boostbook_to_html(quickbook::string_view, html_options const&); 33 } 34 } 35 36 #endif // BOOST_QUICKBOOK_BOOSTBOOK_TO_HTML_HPP 37