]> matita.cs.unibo.it Git - helm.git/blob - helm/uwobo/uwobo_engine.mli
moved uwobo sources to the root uwobo directory
[helm.git] / helm / uwobo / uwobo_engine.mli
1 (*
2  * Copyright (C) 2003:
3  *    Stefano Zacchiroli <zack@cs.unibo.it>
4  *    for the HELM Team http://helm.cs.unibo.it/
5  *
6  *  This file is part of HELM, an Hypertextual, Electronic
7  *  Library of Mathematics, developed at the Computer Science
8  *  Department, University of Bologna, Italy.
9  *
10  *  HELM is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU General Public License
12  *  as published by the Free Software Foundation; either version 2
13  *  of the License, or (at your option) any later version.
14  *
15  *  HELM is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with HELM; if not, write to the Free Software
22  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23  *  MA  02111-1307, USA.
24  *
25  *  For details, see the HELM World-Wide-Web page,
26  *  http://helm.cs.unibo.it/
27  *)
28
29   (**
30     @param logger logger for processing messages
31     @param styles stylesheets object
32     @param keys (ordered) list of stylesheet names to be applied
33     @param params function mapping stylesheet names to parameters list
34     @param props xml:output properties
35     @param input URI of input document
36     @param channel on which write final output
37     @return a triple: 1st element is a function that takes an out_channel and
38     write the result document on it, 2nd element is a string option representing
39     the desired media-type, 3rd is a string option representing the desired
40     encoding
41   *)
42 val apply:
43   logger: Uwobo_logger.sysLogger ->
44   styles: Uwobo_styles.styles ->
45   keys: string list ->
46   params: (string -> (string * string) list) ->
47   props: (string * string) list ->
48   input: Gdome.document ->
49   (out_channel -> unit) * string option * string option
50