Updated Hungarian translation
[evolution.git] / e-util / e-html-editor-actions.h
blob8999add9dc92ae2b1e7c8ede943e363d72006634
1 /* e-html-editor-actions.h
3 * Copyright (C) 2012 Dan Vrátil <dvratil@redhat.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU Lesser General Public
7 * License as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
21 #error "Only <e-util/e-util.h> should be included directly."
22 #endif
24 #ifndef E_HTML_EDITOR_ACTIONS_H
25 #define E_HTML_EDITOR_ACTIONS_H
27 #define E_HTML_EDITOR_ACTION(editor, name) \
28 (e_html_editor_get_action (E_HTML_EDITOR (editor), (name)))
30 #define E_HTML_EDITOR_ACTION_BOLD(editor) \
31 E_HTML_EDITOR_ACTION ((editor), "bold")
32 #define E_HTML_EDITOR_ACTION_CONTEXT_DELETE_CELL(editor) \
33 E_HTML_EDITOR_ACTION ((editor), "context-delete-cell")
34 #define E_HTML_EDITOR_ACTION_CONTEXT_DELETE_COLUMN(editor) \
35 E_HTML_EDITOR_ACTION ((editor), "context-delete-column")
36 #define E_HTML_EDITOR_ACTION_CONTEXT_DELETE_ROW(editor) \
37 E_HTML_EDITOR_ACTION ((editor), "context-delete-row")
38 #define E_HTML_EDITOR_ACTION_CONTEXT_DELETE_TABLE(editor) \
39 E_HTML_EDITOR_ACTION ((editor), "context-delete-table")
40 #define E_HTML_EDITOR_ACTION_CONTEXT_INSERT_COLUMN_AFTER(editor) \
41 E_HTML_EDITOR_ACTION ((editor), "context-insert-column-after")
42 #define E_HTML_EDITOR_ACTION_CONTEXT_INSERT_COLUMN_BEFORE(editor) \
43 E_HTML_EDITOR_ACTION ((editor), "context-insert-column-before")
44 #define E_HTML_EDITOR_ACTION_CONTEXT_INSERT_ROW_ABOVE(editor) \
45 E_HTML_EDITOR_ACTION ((editor), "context-insert-row-above")
46 #define E_HTML_EDITOR_ACTION_CONTEXT_INSERT_ROW_BELOW(editor) \
47 E_HTML_EDITOR_ACTION ((editor), "context-insert-row-below")
48 #define E_HTML_EDITOR_ACTION_CONTEXT_INSERT_TABLE(editor) \
49 E_HTML_EDITOR_ACTION ((editor), "context-insert-table")
50 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_CELL(editor) \
51 E_HTML_EDITOR_ACTION ((editor), "context-properties-cell")
52 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_IMAGE(editor) \
53 E_HTML_EDITOR_ACTION ((editor), "context-properties-image")
54 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_LINK(editor) \
55 E_HTML_EDITOR_ACTION ((editor), "context-properties-link")
56 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_PARAGRAPH(editor) \
57 E_HTML_EDITOR_ACTION ((editor), "context-properties-paragraph")
58 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_RULE(editor) \
59 E_HTML_EDITOR_ACTION ((editor), "context-properties-rule")
60 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_TABLE(editor) \
61 E_HTML_EDITOR_ACTION ((editor), "context-properties-table")
62 #define E_HTML_EDITOR_ACTION_CONTEXT_PROPERTIES_TEXT(editor) \
63 E_HTML_EDITOR_ACTION ((editor), "context-properties-text")
64 #define E_HTML_EDITOR_ACTION_CONTEXT_REMOVE_LINK(editor) \
65 E_HTML_EDITOR_ACTION ((editor), "context-remove-link")
66 #define E_HTML_EDITOR_ACTION_CONTEXT_SPELL_ADD(editor) \
67 E_HTML_EDITOR_ACTION ((editor), "context-spell-add")
68 #define E_HTML_EDITOR_ACTION_CONTEXT_SPELL_ADD_MENU(editor) \
69 E_HTML_EDITOR_ACTION ((editor), "context-spell-add-menu")
70 #define E_HTML_EDITOR_ACTION_CONTEXT_SPELL_IGNORE(editor) \
71 E_HTML_EDITOR_ACTION ((editor), "context-spell-ignore")
72 #define E_HTML_EDITOR_ACTION_COPY(editor) \
73 E_HTML_EDITOR_ACTION ((editor), "copy")
74 #define E_HTML_EDITOR_ACTION_CUT(editor) \
75 E_HTML_EDITOR_ACTION ((editor), "cut")
76 #define E_HTML_EDITOR_ACTION_EDIT_MENU(editor) \
77 E_HTML_EDITOR_ACTION ((editor), "edit-menu")
78 #define E_HTML_EDITOR_ACTION_FIND_AGAIN(editor) \
79 E_HTML_EDITOR_ACTION ((editor), "find-again")
80 #define E_HTML_EDITOR_ACTION_FONT_SIZE_GROUP(editor) \
81 E_HTML_EDITOR_ACTION ((editor), "size-plus-zero")
82 #define E_HTML_EDITOR_ACTION_FORMAT_MENU(editor) \
83 E_HTML_EDITOR_ACTION ((editor), "format-menu")
84 #define E_HTML_EDITOR_ACTION_FORMAT_TEXT(editor) \
85 E_HTML_EDITOR_ACTION ((editor), "format-text")
86 #define E_HTML_EDITOR_ACTION_INSERT_IMAGE(editor) \
87 E_HTML_EDITOR_ACTION ((editor), "insert-image")
88 #define E_HTML_EDITOR_ACTION_INSERT_LINK(editor) \
89 E_HTML_EDITOR_ACTION ((editor), "insert-link")
90 #define E_HTML_EDITOR_ACTION_INSERT_MENU(editor) \
91 E_HTML_EDITOR_ACTION ((editor), "insert-menu")
92 #define E_HTML_EDITOR_ACTION_INSERT_RULE(editor) \
93 E_HTML_EDITOR_ACTION ((editor), "insert-rule")
94 #define E_HTML_EDITOR_ACTION_INSERT_TABLE(editor) \
95 E_HTML_EDITOR_ACTION ((editor), "insert-table")
96 #define E_HTML_EDITOR_ACTION_ITALIC(editor) \
97 E_HTML_EDITOR_ACTION ((editor), "italic")
98 #define E_HTML_EDITOR_ACTION_JUSTIFY_CENTER(editor) \
99 E_HTML_EDITOR_ACTION ((editor), "justify-center")
100 #define E_HTML_EDITOR_ACTION_JUSTIFY_LEFT(editor) \
101 E_HTML_EDITOR_ACTION ((editor), "justify-left")
102 #define E_HTML_EDITOR_ACTION_JUSTIFY_RIGHT(editor) \
103 E_HTML_EDITOR_ACTION ((editor), "justify-right")
104 #define E_HTML_EDITOR_ACTION_MODE_HTML(editor) \
105 E_HTML_EDITOR_ACTION ((editor), "mode-html")
106 #define E_HTML_EDITOR_ACTION_MODE_PLAIN(editor) \
107 E_HTML_EDITOR_ACTION ((editor), "mode-plain")
108 #define E_HTML_EDITOR_ACTION_MONOSPACED(editor) \
109 E_HTML_EDITOR_ACTION ((editor), "monospaced")
110 #define E_HTML_EDITOR_ACTION_PASTE(editor) \
111 E_HTML_EDITOR_ACTION ((editor), "paste")
112 #define E_HTML_EDITOR_ACTION_PROPERTIES_RULE(editor) \
113 E_HTML_EDITOR_ACTION ((editor), "properties-rule")
114 #define E_HTML_EDITOR_ACTION_PROPERTIES_TABLE(editor) \
115 E_HTML_EDITOR_ACTION ((editor), "properties-table")
116 #define E_HTML_EDITOR_ACTION_REDO(editor) \
117 E_HTML_EDITOR_ACTION ((editor), "redo")
118 #define E_HTML_EDITOR_ACTION_SHOW_FIND(editor) \
119 E_HTML_EDITOR_ACTION ((editor), "show-find")
120 #define E_HTML_EDITOR_ACTION_SHOW_REPLACE(editor) \
121 E_HTML_EDITOR_ACTION ((editor), "show-replace")
122 #define E_HTML_EDITOR_ACTION_SIZE_PLUS_ZERO(editor) \
123 E_HTML_EDITOR_ACTION ((editor), "size-plus-zero")
124 #define E_HTML_EDITOR_ACTION_SPELL_CHECK(editor) \
125 E_HTML_EDITOR_ACTION ((editor), "spell-check")
126 #define E_HTML_EDITOR_ACTION_STRIKETHROUGH(editor) \
127 E_HTML_EDITOR_ACTION ((editor), "strikethrough")
128 #define E_HTML_EDITOR_ACTION_STYLE_ADDRESS(editor) \
129 E_HTML_EDITOR_ACTION ((editor), "style-address")
130 #define E_HTML_EDITOR_ACTION_STYLE_H1(editor) \
131 E_HTML_EDITOR_ACTION ((editor), "style-h1")
132 #define E_HTML_EDITOR_ACTION_STYLE_H2(editor) \
133 E_HTML_EDITOR_ACTION ((editor), "style-h2")
134 #define E_HTML_EDITOR_ACTION_STYLE_H3(editor) \
135 E_HTML_EDITOR_ACTION ((editor), "style-h3")
136 #define E_HTML_EDITOR_ACTION_STYLE_H4(editor) \
137 E_HTML_EDITOR_ACTION ((editor), "style-h4")
138 #define E_HTML_EDITOR_ACTION_STYLE_H5(editor) \
139 E_HTML_EDITOR_ACTION ((editor), "style-h5")
140 #define E_HTML_EDITOR_ACTION_STYLE_H6(editor) \
141 E_HTML_EDITOR_ACTION ((editor), "style-h6")
142 #define E_HTML_EDITOR_ACTION_STYLE_NORMAL(editor) \
143 E_HTML_EDITOR_ACTION ((editor), "style-normal")
144 #define E_HTML_EDITOR_ACTION_TEST_URL(editor) \
145 E_HTML_EDITOR_ACTION ((editor), "test-url")
146 #define E_HTML_EDITOR_ACTION_UNDERLINE(editor) \
147 E_HTML_EDITOR_ACTION ((editor), "underline")
148 #define E_HTML_EDITOR_ACTION_UNDO(editor) \
149 E_HTML_EDITOR_ACTION ((editor), "undo")
150 #define E_HTML_EDITOR_ACTION_UNINDENT(editor) \
151 E_HTML_EDITOR_ACTION ((editor), "unindent")
152 #define E_HTML_EDITOR_ACTION_WEBKIT_INSPECTOR(editor) \
153 E_HTML_EDITOR_ACTION ((editor), "webkit-inspector")
155 #endif /* E_HTML_EDITOR_ACTIONS_H */