Updated Esperanto translation
[gtkhtml.git] / components / editor / gtkhtml-editor-actions.h
blob80b0e73639ae1e9bb9af50bc6df1f3df7c1c5239
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* gtkhtml-editor-actions.h
4 * Copyright (C) 2008 Novell, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef GTKHTML_EDITOR_ACTIONS_H
22 #define GTKHTML_EDITOR_ACTIONS_H
24 #define GTKHTML_EDITOR_ACTION(editor, name) \
25 (gtkhtml_editor_get_action (GTKHTML_EDITOR (editor), (name)))
27 #define GTKHTML_EDITOR_ACTION_BOLD(editor) \
28 GTKHTML_EDITOR_ACTION ((editor), "bold")
29 #define GTKHTML_EDITOR_ACTION_CONFIRM_REPLACE(editor) \
30 GTKHTML_EDITOR_ACTION ((editor), "confirm-replace")
31 #define GTKHTML_EDITOR_ACTION_CONFIRM_REPLACE_ALL(editor) \
32 GTKHTML_EDITOR_ACTION ((editor), "confirm-replace-all")
33 #define GTKHTML_EDITOR_ACTION_CONFIRM_REPLACE_CANCEL(editor) \
34 GTKHTML_EDITOR_ACTION ((editor), "confirm-replace-cancel")
35 #define GTKHTML_EDITOR_ACTION_CONFIRM_REPLACE_NEXT(editor) \
36 GTKHTML_EDITOR_ACTION ((editor), "confirm-replace-next")
37 #define GTKHTML_EDITOR_ACTION_CONTEXT_DELETE_CELL(editor) \
38 GTKHTML_EDITOR_ACTION ((editor), "context-delete-cell")
39 #define GTKHTML_EDITOR_ACTION_CONTEXT_DELETE_COLUMN(editor) \
40 GTKHTML_EDITOR_ACTION ((editor), "context-delete-column")
41 #define GTKHTML_EDITOR_ACTION_CONTEXT_DELETE_ROW(editor) \
42 GTKHTML_EDITOR_ACTION ((editor), "context-delete-row")
43 #define GTKHTML_EDITOR_ACTION_CONTEXT_DELETE_TABLE(editor) \
44 GTKHTML_EDITOR_ACTION ((editor), "context-delete-table")
45 #define GTKHTML_EDITOR_ACTION_CONTEXT_INSERT_COLUMN_AFTER(editor) \
46 GTKHTML_EDITOR_ACTION ((editor), "context-insert-column-after")
47 #define GTKHTML_EDITOR_ACTION_CONTEXT_INSERT_COLUMN_BEFORE(editor) \
48 GTKHTML_EDITOR_ACTION ((editor), "context-insert-column-before")
49 #define GTKHTML_EDITOR_ACTION_CONTEXT_INSERT_ROW_ABOVE(editor) \
50 GTKHTML_EDITOR_ACTION ((editor), "context-insert-row-above")
51 #define GTKHTML_EDITOR_ACTION_CONTEXT_INSERT_ROW_BELOW(editor) \
52 GTKHTML_EDITOR_ACTION ((editor), "context-insert-row-below")
53 #define GTKHTML_EDITOR_ACTION_CONTEXT_INSERT_TABLE(editor) \
54 GTKHTML_EDITOR_ACTION ((editor), "context-insert-table")
55 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_CELL(editor) \
56 GTKHTML_EDITOR_ACTION ((editor), "context-properties-cell")
57 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_IMAGE(editor) \
58 GTKHTML_EDITOR_ACTION ((editor), "context-properties-image")
59 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_LINK(editor) \
60 GTKHTML_EDITOR_ACTION ((editor), "context-properties-link")
61 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_PARAGRAPH(editor) \
62 GTKHTML_EDITOR_ACTION ((editor), "context-properties-paragraph")
63 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_RULE(editor) \
64 GTKHTML_EDITOR_ACTION ((editor), "context-properties-rule")
65 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_TABLE(editor) \
66 GTKHTML_EDITOR_ACTION ((editor), "context-properties-table")
67 #define GTKHTML_EDITOR_ACTION_CONTEXT_PROPERTIES_TEXT(editor) \
68 GTKHTML_EDITOR_ACTION ((editor), "context-properties-text")
69 #define GTKHTML_EDITOR_ACTION_CONTEXT_REMOVE_LINK(editor) \
70 GTKHTML_EDITOR_ACTION ((editor), "context-remove-link")
71 #define GTKHTML_EDITOR_ACTION_CONTEXT_SPELL_ADD(editor) \
72 GTKHTML_EDITOR_ACTION ((editor), "context-spell-add")
73 #define GTKHTML_EDITOR_ACTION_CONTEXT_SPELL_ADD_MENU(editor) \
74 GTKHTML_EDITOR_ACTION ((editor), "context-spell-add-menu")
75 #define GTKHTML_EDITOR_ACTION_CONTEXT_SPELL_IGNORE(editor) \
76 GTKHTML_EDITOR_ACTION ((editor), "context-spell-ignore")
77 #define GTKHTML_EDITOR_ACTION_COPY(editor) \
78 GTKHTML_EDITOR_ACTION ((editor), "copy")
79 #define GTKHTML_EDITOR_ACTION_CUT(editor) \
80 GTKHTML_EDITOR_ACTION ((editor), "cut")
81 #define GTKHTML_EDITOR_ACTION_EDIT_MENU(editor) \
82 GTKHTML_EDITOR_ACTION ((editor), "edit-menu")
83 #define GTKHTML_EDITOR_ACTION_FIND(editor) \
84 GTKHTML_EDITOR_ACTION ((editor), "find")
85 #define GTKHTML_EDITOR_ACTION_FIND_AND_REPLACE(editor) \
86 GTKHTML_EDITOR_ACTION ((editor), "find-and-replace")
87 #define GTKHTML_EDITOR_ACTION_FORMAT_MENU(editor) \
88 GTKHTML_EDITOR_ACTION ((editor), "format-menu")
89 #define GTKHTML_EDITOR_ACTION_FORMAT_TEXT(editor) \
90 GTKHTML_EDITOR_ACTION ((editor), "format-text")
91 #define GTKHTML_EDITOR_ACTION_INSERT_IMAGE(editor) \
92 GTKHTML_EDITOR_ACTION ((editor), "insert-image")
93 #define GTKHTML_EDITOR_ACTION_INSERT_LINK(editor) \
94 GTKHTML_EDITOR_ACTION ((editor), "insert-link")
95 #define GTKHTML_EDITOR_ACTION_INSERT_MENU(editor) \
96 GTKHTML_EDITOR_ACTION ((editor), "insert-menu")
97 #define GTKHTML_EDITOR_ACTION_INSERT_RULE(editor) \
98 GTKHTML_EDITOR_ACTION ((editor), "insert-rule")
99 #define GTKHTML_EDITOR_ACTION_INSERT_TABLE(editor) \
100 GTKHTML_EDITOR_ACTION ((editor), "insert-table")
101 #define GTKHTML_EDITOR_ACTION_ITALIC(editor) \
102 GTKHTML_EDITOR_ACTION ((editor), "italic")
103 #define GTKHTML_EDITOR_ACTION_JUSTIFY_CENTER(editor) \
104 GTKHTML_EDITOR_ACTION ((editor), "justify-center")
105 #define GTKHTML_EDITOR_ACTION_JUSTIFY_LEFT(editor) \
106 GTKHTML_EDITOR_ACTION ((editor), "justify-left")
107 #define GTKHTML_EDITOR_ACTION_JUSTIFY_RIGHT(editor) \
108 GTKHTML_EDITOR_ACTION ((editor), "justify-right")
109 #define GTKHTML_EDITOR_ACTION_MODE_HTML(editor) \
110 GTKHTML_EDITOR_ACTION ((editor), "mode-html")
111 #define GTKHTML_EDITOR_ACTION_MODE_PLAIN(editor) \
112 GTKHTML_EDITOR_ACTION ((editor), "mode-plain")
113 #define GTKHTML_EDITOR_ACTION_MONOSPACED(editor) \
114 GTKHTML_EDITOR_ACTION ((editor), "monospaced")
115 #define GTKHTML_EDITOR_ACTION_PROPERTIES_RULE(editor) \
116 GTKHTML_EDITOR_ACTION ((editor), "properties-rule")
117 #define GTKHTML_EDITOR_ACTION_PROPERTIES_TABLE(editor) \
118 GTKHTML_EDITOR_ACTION ((editor), "properties-table")
119 #define GTKHTML_EDITOR_ACTION_SHOW_FIND(editor) \
120 GTKHTML_EDITOR_ACTION ((editor), "show-find")
121 #define GTKHTML_EDITOR_ACTION_SHOW_REPLACE(editor) \
122 GTKHTML_EDITOR_ACTION ((editor), "show-replace")
123 #define GTKHTML_EDITOR_ACTION_SIZE_PLUS_ZERO(editor) \
124 GTKHTML_EDITOR_ACTION ((editor), "size-plus-zero")
125 #define GTKHTML_EDITOR_ACTION_SPELL_CHECK(editor) \
126 GTKHTML_EDITOR_ACTION ((editor), "spell-check")
127 #define GTKHTML_EDITOR_ACTION_STRIKETHROUGH(editor) \
128 GTKHTML_EDITOR_ACTION ((editor), "strikethrough")
129 #define GTKHTML_EDITOR_ACTION_STYLE_ADDRESS(editor) \
130 GTKHTML_EDITOR_ACTION ((editor), "style-address")
131 #define GTKHTML_EDITOR_ACTION_STYLE_H1(editor) \
132 GTKHTML_EDITOR_ACTION ((editor), "style-h1")
133 #define GTKHTML_EDITOR_ACTION_STYLE_H2(editor) \
134 GTKHTML_EDITOR_ACTION ((editor), "style-h2")
135 #define GTKHTML_EDITOR_ACTION_STYLE_H3(editor) \
136 GTKHTML_EDITOR_ACTION ((editor), "style-h3")
137 #define GTKHTML_EDITOR_ACTION_STYLE_H4(editor) \
138 GTKHTML_EDITOR_ACTION ((editor), "style-h4")
139 #define GTKHTML_EDITOR_ACTION_STYLE_H5(editor) \
140 GTKHTML_EDITOR_ACTION ((editor), "style-h5")
141 #define GTKHTML_EDITOR_ACTION_STYLE_H6(editor) \
142 GTKHTML_EDITOR_ACTION ((editor), "style-h6")
143 #define GTKHTML_EDITOR_ACTION_STYLE_NORMAL(editor) \
144 GTKHTML_EDITOR_ACTION ((editor), "style-normal")
145 #define GTKHTML_EDITOR_ACTION_TEST_URL(editor) \
146 GTKHTML_EDITOR_ACTION ((editor), "test-url")
147 #define GTKHTML_EDITOR_ACTION_UNDERLINE(editor) \
148 GTKHTML_EDITOR_ACTION ((editor), "underline")
149 #define GTKHTML_EDITOR_ACTION_UNINDENT(editor) \
150 GTKHTML_EDITOR_ACTION ((editor), "unindent")
152 #endif /* GTKHTML_EDITOR_ACTIONS_H */