~ubuntu-branches/ubuntu/hardy/texmacs/hardy

« back to all changes in this revision

Viewing changes to src/Typeset/typesetter.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Treinen
  • Date: 2004-04-19 20:34:00 UTC
  • Revision ID: james.westby@ubuntu.com-20040419203400-g4e34ih0315wcn8v
Tags: upstream-1.0.3-R2
ImportĀ upstreamĀ versionĀ 1.0.3-R2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
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
******************************************************************************/
 
13
 
 
14
#ifndef TYPESETTER_H
 
15
#define TYPESETTER_H
 
16
#include "boxes.hpp"
 
17
#include "env.hpp"
 
18
#include "array.hpp"
 
19
 
 
20
class typesetter_rep;
 
21
typedef typesetter_rep* typesetter;
 
22
 
 
23
typesetter new_typesetter (edit_env& env, tree& et, path ip);
 
24
void       delete_typesetter (typesetter ttt);
 
25
 
 
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);
 
35
 
 
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);
 
42
 
 
43
#endif // defined TYPESETTER_H