Back to index

texmacs  1.0.7.15
new_style.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : new_style.hpp
00004 * DESCRIPTION: Style and DRD computation and caching
00005 * COPYRIGHT  : (C) 1999-2012  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef NEW_STYLE_H
00013 #define NEW_STYLE_H
00014 #include "drd_std.hpp"
00015 #include "Scheme/object.hpp"
00016 
00017 void style_invalidate_cache ();
00018 void style_set_cache (tree style, hashmap<string,tree> H, tree t);
00019 void style_get_cache (tree style, hashmap<string,tree>& H, tree& t, bool& f);
00020 
00021 bool compute_env_and_drd (tree style);
00022 hashmap<string,tree> get_style_env (tree style);
00023 drd_info get_style_drd (tree style);
00024 tree get_document_preamble (tree t);
00025 drd_info get_document_drd (tree doc);
00026 
00027 object get_style_menu ();
00028 object get_add_package_menu ();
00029 object get_remove_package_menu ();
00030 
00031 #endif // NEW_STYLE_H