2
/******************************************************************************
3
* MODULE : typesetter.hpp
4
* DESCRIPTION: The result of typesetting a paragraph is
5
* an instance of the paragraph class
6
* COPYRIGHT : (C) 1999 Joris van der Hoeven
7
*******************************************************************************
8
* This software falls under the GNU general public license and comes WITHOUT
9
* ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for more details.
10
* If you don't have this file, write to the Free Software Foundation, Inc.,
11
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
12
******************************************************************************/
21
typedef typesetter_rep* typesetter;
23
typesetter new_typesetter (edit_env& env, tree& et, path ip);
24
void delete_typesetter (typesetter ttt);
26
void notify_assign (typesetter ttt, path p, tree u);
27
void notify_insert (typesetter ttt, path p, tree u);
28
void notify_remove (typesetter ttt, path p, int nr);
29
void notify_split (typesetter ttt, path p);
30
void notify_join (typesetter ttt, path p);
31
void notify_ins_unary (typesetter ttt, path p, tree_label op);
32
void notify_rem_unary (typesetter ttt, path p);
33
void exec_until (typesetter ttt, path p);
34
box typeset (typesetter ttt, SI& x1, SI& y1, SI& x2, SI& y2);
36
box typeset_as_concat (edit_env env, tree t, path ip);
37
box typeset_as_stack (edit_env env, tree t, path ip);
38
box typeset_as_table (edit_env env, tree t, path ip);
39
array<box> typeset_as_var_table (edit_env env, tree t, path ip);
40
box typeset_as_paragraph (edit_env e, tree t, path ip);
41
box typeset_as_document (edit_env e, tree t, path ip);
43
#endif // defined TYPESETTER_H