blob: ec1e971f22edaa6f2727985f0f06741c189ebb48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Interface for the HTML Editor.
*
* Authors:
* Larry Ewing <lewing@helixcode.com>
* Radek Doulik <rodo@helixcode.com>
*
* Copyright (C) 2000 Helix Code, Inc.
*/
#include <Bonobo.idl>
module HTMLEditor {
interface Resolver : Bonobo::Unknown {
exception NotFound {};
void loadURL (in Bonobo::ProgressiveDataSink sink, in string url) raises (NotFound);
};
struct Arg {
any value;
};
typedef sequence<Arg> ListenerArgs;
interface Listener : Bonobo::Unknown {
void event (in string name, in ListenerArgs args);
};
interface Engine : Bonobo::Unknown {
attribute Listener listener;
/*
* return data of current paragraph
*/
any get_paragraph_data (in string key);
/*
* sets data on current paragraph
*/
void set_paragraph_data (in string key, in any value);
/*
* set data which are set to objects of given type while inserting
* we will use that to mark original text paragraph(s) in composer
* and use that data later in editing to implement better reply
* editing
*/
void set_object_data_by_type (in string type_name, in string key, in any data);
/*
* execute editor command
*/
void command (in string command);
};
};
|