@sapui5/ts-types 1.101.1 → 1.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/types/sap.apf.d.ts +89 -1
- package/types/sap.ca.ui.d.ts +1747 -124
- package/types/sap.chart.d.ts +375 -29
- package/types/sap.collaboration.d.ts +320 -40
- package/types/sap.esh.search.ui.d.ts +1 -669
- package/types/sap.f.d.ts +1785 -100
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +70 -2
- package/types/sap.fe.macros.d.ts +78 -34
- package/types/sap.fe.navigation.d.ts +144 -4
- package/types/sap.fe.templates.d.ts +26 -5
- package/types/sap.fe.test.d.ts +497 -2
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +7203 -502
- package/types/sap.insights.d.ts +80 -0
- package/types/sap.landvisz.d.ts +1015 -66
- package/types/sap.m.d.ts +16491 -1149
- package/types/sap.makit.d.ts +575 -54
- package/types/sap.me.d.ts +578 -51
- package/types/sap.ndc.d.ts +63 -5
- package/types/sap.ovp.d.ts +5 -6
- package/types/sap.rules.ui.d.ts +171 -15
- package/types/sap.sac.df.d.ts +1430 -215
- package/types/sap.sac.grid.d.ts +91 -8
- package/types/sap.suite.ui.commons.d.ts +5515 -396
- package/types/sap.suite.ui.generic.template.d.ts +157 -69
- package/types/sap.suite.ui.microchart.d.ts +1801 -160
- package/types/sap.tnt.d.ts +279 -19
- package/types/sap.ui.codeeditor.d.ts +89 -8
- package/types/sap.ui.commons.d.ts +3784 -313
- package/types/sap.ui.comp.d.ts +3853 -276
- package/types/sap.ui.core.d.ts +6248 -313
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +61 -6
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +238 -64
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +316 -23
- package/types/sap.ui.layout.d.ts +1851 -199
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +340 -49
- package/types/sap.ui.rta.d.ts +5 -1
- package/types/sap.ui.suite.d.ts +87 -6
- package/types/sap.ui.support.d.ts +30 -1
- package/types/sap.ui.table.d.ts +1050 -80
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +2704 -202
- package/types/sap.ui.ux3.d.ts +2379 -181
- package/types/sap.ui.vbm.d.ts +2002 -197
- package/types/sap.ui.vk.d.ts +5353 -310
- package/types/sap.ui.vtm.d.ts +1130 -41
- package/types/sap.uiext.inbox.d.ts +423 -22
- package/types/sap.ushell.d.ts +1488 -49
- package/types/sap.ushell_abap.d.ts +4 -1
- package/types/sap.uxap.d.ts +902 -87
- package/types/sap.viz.d.ts +5514 -380
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +165 -20
- package/types/sap.zen.crosstab.d.ts +217 -21
- package/types/sap.zen.dsh.d.ts +227 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.102.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -29,14 +29,16 @@ declare namespace sap {
|
|
|
29
29
|
*/
|
|
30
30
|
textDirection?:
|
|
31
31
|
| sap.ui.core.TextDirection
|
|
32
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
32
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
33
|
+
| `{${string}}`;
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* Width of RichTextEditor control in CSS units.
|
|
36
37
|
*/
|
|
37
38
|
width?:
|
|
38
39
|
| sap.ui.core.CSSSize
|
|
39
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
40
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
41
|
+
| `{${string}}`;
|
|
40
42
|
|
|
41
43
|
/**
|
|
42
44
|
* Height of RichTextEditor control in CSS units. **Note:** If the height property results in a value smaller
|
|
@@ -44,7 +46,8 @@ declare namespace sap {
|
|
|
44
46
|
*/
|
|
45
47
|
height?:
|
|
46
48
|
| sap.ui.core.CSSSize
|
|
47
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
49
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
50
|
+
| `{${string}}`;
|
|
48
51
|
|
|
49
52
|
/**
|
|
50
53
|
* The editor implementation to use.
|
|
@@ -71,89 +74,134 @@ declare namespace sap {
|
|
|
71
74
|
* Determines whether the editor content can be modified by the user. When set to "false" there might not
|
|
72
75
|
* be any editor toolbar.
|
|
73
76
|
*/
|
|
74
|
-
editable?:
|
|
77
|
+
editable?:
|
|
78
|
+
| boolean
|
|
79
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
80
|
+
| `{${string}}`;
|
|
75
81
|
|
|
76
82
|
/**
|
|
77
83
|
* Determines whether the toolbar button group containing commands like Bold, Italic, Underline and Strikethrough
|
|
78
|
-
* is available. Changing this after the initial rendering will result in some visible redrawing.
|
|
84
|
+
* is available. Changing this after the initial rendering will result in some visible redrawing. Note:
|
|
85
|
+
* This property will not be synchronized with group configuration provided via the buttonGroups property
|
|
86
|
+
* or when groups are added on a later stage.
|
|
79
87
|
*/
|
|
80
88
|
showGroupFontStyle?:
|
|
81
89
|
| boolean
|
|
82
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
90
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
91
|
+
| `{${string}}`;
|
|
83
92
|
|
|
84
93
|
/**
|
|
85
94
|
* Determines whether the toolbar button group containing text alignment commands is available. Changing
|
|
86
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
95
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
96
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
97
|
+
* on a later stage.
|
|
87
98
|
*/
|
|
88
99
|
showGroupTextAlign?:
|
|
89
100
|
| boolean
|
|
90
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
101
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
102
|
+
| `{${string}}`;
|
|
91
103
|
|
|
92
104
|
/**
|
|
93
105
|
* Determines whether the toolbar button group containing commands like Bullets and Indentation is available.
|
|
94
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
106
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
107
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
108
|
+
* are added on a later stage.
|
|
95
109
|
*/
|
|
96
110
|
showGroupStructure?:
|
|
97
111
|
| boolean
|
|
98
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
112
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
113
|
+
| `{${string}}`;
|
|
99
114
|
|
|
100
115
|
/**
|
|
101
116
|
* Determines whether the toolbar button group containing commands like Font, Font Size and Colors is available.
|
|
102
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
117
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
118
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
119
|
+
* are added on a later stage.
|
|
103
120
|
*/
|
|
104
|
-
showGroupFont?:
|
|
121
|
+
showGroupFont?:
|
|
122
|
+
| boolean
|
|
123
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
124
|
+
| `{${string}}`;
|
|
105
125
|
|
|
106
126
|
/**
|
|
107
127
|
* Determines whether the toolbar button group containing commands like Cut, Copy and Paste is available.
|
|
108
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
128
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
129
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
130
|
+
* are added on a later stage.
|
|
109
131
|
*/
|
|
110
132
|
showGroupClipboard?:
|
|
111
133
|
| boolean
|
|
112
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
134
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
135
|
+
| `{${string}}`;
|
|
113
136
|
|
|
114
137
|
/**
|
|
115
138
|
* Determines whether the toolbar button group containing commands like Insert Image and Insert Smiley is
|
|
116
|
-
* available. Changing this after the initial rendering will result in some visible redrawing.
|
|
139
|
+
* available. Changing this after the initial rendering will result in some visible redrawing. Note: This
|
|
140
|
+
* property will not be synchronized with group configuration provided via the buttonGroups property or
|
|
141
|
+
* when groups are added on a later stage.
|
|
117
142
|
*/
|
|
118
143
|
showGroupInsert?:
|
|
119
144
|
| boolean
|
|
120
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
145
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
146
|
+
| `{${string}}`;
|
|
121
147
|
|
|
122
148
|
/**
|
|
123
149
|
* Determines whether the toolbar button group containing commands like Create Link and Remove Link is available.
|
|
124
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
150
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
151
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
152
|
+
* are added on a later stage.
|
|
125
153
|
*/
|
|
126
|
-
showGroupLink?:
|
|
154
|
+
showGroupLink?:
|
|
155
|
+
| boolean
|
|
156
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
157
|
+
| `{${string}}`;
|
|
127
158
|
|
|
128
159
|
/**
|
|
129
160
|
* Determines whether the toolbar button group containing commands like Undo and Redo is available. Changing
|
|
130
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
161
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
162
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
163
|
+
* on a later stage.
|
|
131
164
|
*/
|
|
132
|
-
showGroupUndo?:
|
|
165
|
+
showGroupUndo?:
|
|
166
|
+
| boolean
|
|
167
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
168
|
+
| `{${string}}`;
|
|
133
169
|
|
|
134
170
|
/**
|
|
135
171
|
* Determines whether the text in the editor is wrapped. This does not affect the editor's value, only the
|
|
136
172
|
* representation in the control.
|
|
137
173
|
*/
|
|
138
|
-
wrapping?:
|
|
174
|
+
wrapping?:
|
|
175
|
+
| boolean
|
|
176
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
177
|
+
| `{${string}}`;
|
|
139
178
|
|
|
140
179
|
/**
|
|
141
180
|
* Determines whether a value is required.
|
|
142
181
|
*/
|
|
143
|
-
required?:
|
|
182
|
+
required?:
|
|
183
|
+
| boolean
|
|
184
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
185
|
+
| `{${string}}`;
|
|
144
186
|
|
|
145
187
|
/**
|
|
146
188
|
* Determines whether to run the HTML sanitizer once the value (HTML markup) is applied or not. To configure
|
|
147
189
|
* allowed URLs please use the validator API via {@link module:sap/base/security/URLListValidator#add URLListValidator
|
|
148
190
|
* API}.
|
|
149
191
|
*/
|
|
150
|
-
sanitizeValue?:
|
|
192
|
+
sanitizeValue?:
|
|
193
|
+
| boolean
|
|
194
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
195
|
+
| `{${string}}`;
|
|
151
196
|
|
|
152
197
|
/**
|
|
153
198
|
* An array of plugin configuration objects with the obligatory property "name". Each object has to contain
|
|
154
199
|
* a property "name" which then contains the plugin name/ID.
|
|
155
200
|
*/
|
|
156
|
-
plugins?:
|
|
201
|
+
plugins?:
|
|
202
|
+
| object[]
|
|
203
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
204
|
+
| `{${string}}`;
|
|
157
205
|
|
|
158
206
|
/**
|
|
159
207
|
* @deprecated (since 1.97.0) - This property became obsolete after the deprecation of TinyMCE v3.
|
|
@@ -165,7 +213,8 @@ declare namespace sap {
|
|
|
165
213
|
*/
|
|
166
214
|
useLegacyTheme?:
|
|
167
215
|
| boolean
|
|
168
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
216
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
217
|
+
| `{${string}}`;
|
|
169
218
|
|
|
170
219
|
/**
|
|
171
220
|
* An array of button configurations. These configurations contain the names of buttons as array in the
|
|
@@ -173,11 +222,14 @@ declare namespace sap {
|
|
|
173
222
|
* should be placed, a "priority" and whether the buttons are "visible". See method addButtonGroup() for
|
|
174
223
|
* more details on the structure of the objects in this array. **Note:** `buttonGroups` is a feature from
|
|
175
224
|
* the native editor. Its supported scope with `customToolbar` is limited up to the grouping- the user could
|
|
176
|
-
* turn on/off a whole group, but
|
|
225
|
+
* turn on/off a whole group, but modifying buttons within a group is not possible. In order to achieve
|
|
177
226
|
* that functionality with `customToolbar`, the developer needs to turn the group off and instantiate their
|
|
178
227
|
* own `sap.m.Button`(s) with the desired functionality.
|
|
179
228
|
*/
|
|
180
|
-
buttonGroups?:
|
|
229
|
+
buttonGroups?:
|
|
230
|
+
| object[]
|
|
231
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
232
|
+
| `{${string}}`;
|
|
181
233
|
|
|
182
234
|
/**
|
|
183
235
|
* @SINCE 1.48
|
|
@@ -187,7 +239,10 @@ declare namespace sap {
|
|
|
187
239
|
* property will have effect only on initial loading. Changing it during runtime will not affect the initially
|
|
188
240
|
* loaded toolbar.
|
|
189
241
|
*/
|
|
190
|
-
customToolbar?:
|
|
242
|
+
customToolbar?:
|
|
243
|
+
| boolean
|
|
244
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
245
|
+
| `{${string}}`;
|
|
191
246
|
|
|
192
247
|
/**
|
|
193
248
|
* @SINCE 1.48
|
|
@@ -199,7 +254,8 @@ declare namespace sap {
|
|
|
199
254
|
customButtons?:
|
|
200
255
|
| sap.ui.core.Control[]
|
|
201
256
|
| sap.ui.core.Control
|
|
202
|
-
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
257
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
258
|
+
| `{${string}}`;
|
|
203
259
|
|
|
204
260
|
/**
|
|
205
261
|
* @SINCE 1.76.0
|
|
@@ -273,6 +329,46 @@ declare namespace sap {
|
|
|
273
329
|
* text area} instead.
|
|
274
330
|
* - Use callbacks to the native third-party API with care, as there may be compatibility issues with
|
|
275
331
|
* later versions.
|
|
332
|
+
*
|
|
333
|
+
* Custom toolbar - adding and removing buttons: With version 1.102 it is possible to redefine the button
|
|
334
|
+
* groups configuration in order to show only particular set of buttons in the custom toolbar of the `RichTextEditor`.
|
|
335
|
+
* This is possible in few ways:
|
|
336
|
+
* - By providing the buttons group configurations as a whole by setting the `buttonGroups` property of
|
|
337
|
+
* the control.
|
|
338
|
+
* - By providing individual button group configuration via `addButtonGroup` method.
|
|
339
|
+
*
|
|
340
|
+
* Consider the following when choosing your approach:
|
|
341
|
+
* - Setting `buttonGroups` will override all current custom toolbar button group configurations. This
|
|
342
|
+
* method allows for total redefining of the custom toolbar groups.
|
|
343
|
+
* - Using `addButtonGroups` will try to add non-existing group into the configuration array, however,
|
|
344
|
+
* if such group configuration exists already, a warning will be logged and the new configuration will not
|
|
345
|
+
* be added. In order to replace the existing configuration you will need to remove it first via `removeButtonGroup`.
|
|
346
|
+
*
|
|
347
|
+
*
|
|
348
|
+
* Below is a list of supported groups and buttons, which can be specified in the configuration objects
|
|
349
|
+
* (format is <>: <>):
|
|
350
|
+
* - font-style: bold, italic, underline, strikethrough
|
|
351
|
+
* - font: fontselect, fontsizeselect, forecolor, backcolor
|
|
352
|
+
* - clipboard: cut, copy, paste
|
|
353
|
+
* - structure: bullist, numlist, outdent, indent
|
|
354
|
+
* - undo: undo, redo
|
|
355
|
+
* - insert: image, emoticons
|
|
356
|
+
* - link: link, unlink
|
|
357
|
+
* - text-align: alignleft, aligncenter, alignright, alignjustify Additional supported groups, which
|
|
358
|
+
* can be added only after the editor is loaded (they can not be specified in the above mentioned configuration):
|
|
359
|
+
*
|
|
360
|
+
* - table: table
|
|
361
|
+
* - styleselect: styleselect **Note!** Adding configuration for "text-align" group with any buttons
|
|
362
|
+
* will still render a menu button with all available options inside. Removing/hiding the group can be achieved
|
|
363
|
+
* by invoking `removeButtonGroup` or `setShowGroupTextAlign(false)` depending on the desired result.
|
|
364
|
+
*
|
|
365
|
+
* **Note!** There is no synchronization between the `setShowGroup*` properties and the configuration object
|
|
366
|
+
* that the application can specifying via `buttonGroups` in the constructor or on a later stage. This means
|
|
367
|
+
* that in case new configuration is provided and for particular group the passed object contains property
|
|
368
|
+
* `visible: true`, this group property will be respected no matter if the `RichTextEditor`'s property for
|
|
369
|
+
* this particular group is set to `false`. Example: Providing the following object as group configuration:
|
|
370
|
+
* { name: "font" visible: true } Will make the "font" group visible, no matter that calling `RichTextEditor.getShowGroupFont()`
|
|
371
|
+
* returns `false`.
|
|
276
372
|
*/
|
|
277
373
|
class RichTextEditor extends sap.ui.core.Control {
|
|
278
374
|
/**
|
|
@@ -317,6 +413,8 @@ declare namespace sap {
|
|
|
317
413
|
* it with the information contained in `oClassInfo`.
|
|
318
414
|
*
|
|
319
415
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
416
|
+
*
|
|
417
|
+
* @returns Created class / constructor function
|
|
320
418
|
*/
|
|
321
419
|
static extend<T extends Record<string, unknown>>(
|
|
322
420
|
/**
|
|
@@ -335,12 +433,16 @@ declare namespace sap {
|
|
|
335
433
|
): Function;
|
|
336
434
|
/**
|
|
337
435
|
* Returns a metadata object for class sap.ui.richtexteditor.RichTextEditor.
|
|
436
|
+
*
|
|
437
|
+
* @returns Metadata object describing this class
|
|
338
438
|
*/
|
|
339
439
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
340
440
|
/**
|
|
341
441
|
* @SINCE 1.76.0
|
|
342
442
|
*
|
|
343
443
|
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
444
|
+
*
|
|
445
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
344
446
|
*/
|
|
345
447
|
addAriaLabelledBy(
|
|
346
448
|
/**
|
|
@@ -349,13 +451,17 @@ declare namespace sap {
|
|
|
349
451
|
vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
|
|
350
452
|
): this;
|
|
351
453
|
/**
|
|
352
|
-
* Adds a button group to the editor.
|
|
454
|
+
* Adds a button group to the editor. **Note**: Adding already existing group will not do anything. If a
|
|
455
|
+
* button group needs to be changed, it first needs to be removed and then added by providing its name or
|
|
456
|
+
* map object, containing its desired configuration.
|
|
457
|
+
*
|
|
458
|
+
* @returns Control instance (for method chaining)
|
|
353
459
|
*/
|
|
354
460
|
addButtonGroup(
|
|
355
461
|
/**
|
|
356
462
|
* Name/ID of a single button or object containing the group information
|
|
357
463
|
*/
|
|
358
|
-
|
|
464
|
+
vGroup?:
|
|
359
465
|
| {
|
|
360
466
|
/**
|
|
361
467
|
* Array of name/IDs of the buttons in the group
|
|
@@ -389,6 +495,8 @@ declare namespace sap {
|
|
|
389
495
|
* @SINCE 1.48
|
|
390
496
|
*
|
|
391
497
|
* Adds some customButton to the aggregation {@link #getCustomButtons customButtons}.
|
|
498
|
+
*
|
|
499
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
392
500
|
*/
|
|
393
501
|
addCustomButton(
|
|
394
502
|
/**
|
|
@@ -398,6 +506,8 @@ declare namespace sap {
|
|
|
398
506
|
): this;
|
|
399
507
|
/**
|
|
400
508
|
* Allows to add a plugin (that must already be installed on the server) to the RichTextEditor.
|
|
509
|
+
*
|
|
510
|
+
* @returns Control instance (for method chaining)
|
|
401
511
|
*/
|
|
402
512
|
addPlugin(
|
|
403
513
|
/**
|
|
@@ -416,6 +526,8 @@ declare namespace sap {
|
|
|
416
526
|
* object that will be given to TinyMCE. The parameter "configuration" is the javascript oject that will
|
|
417
527
|
* be given to TinyMCE upon first instantiation. The configuration parameter contains a map that can be
|
|
418
528
|
* changed in the case of TinyMCE.
|
|
529
|
+
*
|
|
530
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
419
531
|
*/
|
|
420
532
|
attachBeforeEditorInit(
|
|
421
533
|
/**
|
|
@@ -444,6 +556,8 @@ declare namespace sap {
|
|
|
444
556
|
* object that will be given to TinyMCE. The parameter "configuration" is the javascript oject that will
|
|
445
557
|
* be given to TinyMCE upon first instantiation. The configuration parameter contains a map that can be
|
|
446
558
|
* changed in the case of TinyMCE.
|
|
559
|
+
*
|
|
560
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
447
561
|
*/
|
|
448
562
|
attachBeforeEditorInit(
|
|
449
563
|
/**
|
|
@@ -464,6 +578,8 @@ declare namespace sap {
|
|
|
464
578
|
*
|
|
465
579
|
* Event is fired when the text in the field has changed AND the focus leaves the editor or when the Enter
|
|
466
580
|
* key is pressed.
|
|
581
|
+
*
|
|
582
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
467
583
|
*/
|
|
468
584
|
attachChange(
|
|
469
585
|
/**
|
|
@@ -489,6 +605,8 @@ declare namespace sap {
|
|
|
489
605
|
*
|
|
490
606
|
* Event is fired when the text in the field has changed AND the focus leaves the editor or when the Enter
|
|
491
607
|
* key is pressed.
|
|
608
|
+
*
|
|
609
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
492
610
|
*/
|
|
493
611
|
attachChange(
|
|
494
612
|
/**
|
|
@@ -508,6 +626,8 @@ declare namespace sap {
|
|
|
508
626
|
* otherwise it will be bound to this `sap.ui.richtexteditor.RichTextEditor` itself.
|
|
509
627
|
*
|
|
510
628
|
* Fired when the used editor is loaded and ready (its HTML is also created).
|
|
629
|
+
*
|
|
630
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
511
631
|
*/
|
|
512
632
|
attachReady(
|
|
513
633
|
/**
|
|
@@ -532,6 +652,8 @@ declare namespace sap {
|
|
|
532
652
|
* otherwise it will be bound to this `sap.ui.richtexteditor.RichTextEditor` itself.
|
|
533
653
|
*
|
|
534
654
|
* Fired when the used editor is loaded and ready (its HTML is also created).
|
|
655
|
+
*
|
|
656
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
535
657
|
*/
|
|
536
658
|
attachReady(
|
|
537
659
|
/**
|
|
@@ -553,6 +675,8 @@ declare namespace sap {
|
|
|
553
675
|
*
|
|
554
676
|
* Analogous to the ready event, the event is fired when the used editor is loaded and ready. But the event
|
|
555
677
|
* is fired after every time the control is ready to use and not only once like the ready event.
|
|
678
|
+
*
|
|
679
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
556
680
|
*/
|
|
557
681
|
attachReadyRecurring(
|
|
558
682
|
/**
|
|
@@ -579,6 +703,8 @@ declare namespace sap {
|
|
|
579
703
|
*
|
|
580
704
|
* Analogous to the ready event, the event is fired when the used editor is loaded and ready. But the event
|
|
581
705
|
* is fired after every time the control is ready to use and not only once like the ready event.
|
|
706
|
+
*
|
|
707
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
582
708
|
*/
|
|
583
709
|
attachReadyRecurring(
|
|
584
710
|
/**
|
|
@@ -595,6 +721,8 @@ declare namespace sap {
|
|
|
595
721
|
* @SINCE 1.48
|
|
596
722
|
*
|
|
597
723
|
* Destroys all the customButtons in the aggregation {@link #getCustomButtons customButtons}.
|
|
724
|
+
*
|
|
725
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
598
726
|
*/
|
|
599
727
|
destroyCustomButtons(): this;
|
|
600
728
|
/**
|
|
@@ -602,6 +730,8 @@ declare namespace sap {
|
|
|
602
730
|
* this `sap.ui.richtexteditor.RichTextEditor`.
|
|
603
731
|
*
|
|
604
732
|
* The passed function and listener object must match the ones used for event registration.
|
|
733
|
+
*
|
|
734
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
605
735
|
*/
|
|
606
736
|
detachBeforeEditorInit(
|
|
607
737
|
/**
|
|
@@ -617,6 +747,8 @@ declare namespace sap {
|
|
|
617
747
|
* Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.ui.richtexteditor.RichTextEditor`.
|
|
618
748
|
*
|
|
619
749
|
* The passed function and listener object must match the ones used for event registration.
|
|
750
|
+
*
|
|
751
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
620
752
|
*/
|
|
621
753
|
detachChange(
|
|
622
754
|
/**
|
|
@@ -632,6 +764,8 @@ declare namespace sap {
|
|
|
632
764
|
* Detaches event handler `fnFunction` from the {@link #event:ready ready} event of this `sap.ui.richtexteditor.RichTextEditor`.
|
|
633
765
|
*
|
|
634
766
|
* The passed function and listener object must match the ones used for event registration.
|
|
767
|
+
*
|
|
768
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
635
769
|
*/
|
|
636
770
|
detachReady(
|
|
637
771
|
/**
|
|
@@ -648,6 +782,8 @@ declare namespace sap {
|
|
|
648
782
|
* `sap.ui.richtexteditor.RichTextEditor`.
|
|
649
783
|
*
|
|
650
784
|
* The passed function and listener object must match the ones used for event registration.
|
|
785
|
+
*
|
|
786
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
651
787
|
*/
|
|
652
788
|
detachReadyRecurring(
|
|
653
789
|
/**
|
|
@@ -661,6 +797,8 @@ declare namespace sap {
|
|
|
661
797
|
): this;
|
|
662
798
|
/**
|
|
663
799
|
* Fires event {@link #event:beforeEditorInit beforeEditorInit} to attached listeners.
|
|
800
|
+
*
|
|
801
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
664
802
|
*/
|
|
665
803
|
fireBeforeEditorInit(
|
|
666
804
|
/**
|
|
@@ -670,6 +808,8 @@ declare namespace sap {
|
|
|
670
808
|
): this;
|
|
671
809
|
/**
|
|
672
810
|
* Fires event {@link #event:change change} to attached listeners.
|
|
811
|
+
*
|
|
812
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
673
813
|
*/
|
|
674
814
|
fireChange(
|
|
675
815
|
/**
|
|
@@ -684,6 +824,8 @@ declare namespace sap {
|
|
|
684
824
|
): this;
|
|
685
825
|
/**
|
|
686
826
|
* Fires event {@link #event:ready ready} to attached listeners.
|
|
827
|
+
*
|
|
828
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
687
829
|
*/
|
|
688
830
|
fireReady(
|
|
689
831
|
/**
|
|
@@ -693,6 +835,8 @@ declare namespace sap {
|
|
|
693
835
|
): this;
|
|
694
836
|
/**
|
|
695
837
|
* Fires event {@link #event:readyRecurring readyRecurring} to attached listeners.
|
|
838
|
+
*
|
|
839
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
696
840
|
*/
|
|
697
841
|
fireReadyRecurring(
|
|
698
842
|
/**
|
|
@@ -715,11 +859,13 @@ declare namespace sap {
|
|
|
715
859
|
* should be placed, a "priority" and whether the buttons are "visible". See method addButtonGroup() for
|
|
716
860
|
* more details on the structure of the objects in this array. **Note:** `buttonGroups` is a feature from
|
|
717
861
|
* the native editor. Its supported scope with `customToolbar` is limited up to the grouping- the user could
|
|
718
|
-
* turn on/off a whole group, but
|
|
862
|
+
* turn on/off a whole group, but modifying buttons within a group is not possible. In order to achieve
|
|
719
863
|
* that functionality with `customToolbar`, the developer needs to turn the group off and instantiate their
|
|
720
864
|
* own `sap.m.Button`(s) with the desired functionality.
|
|
721
865
|
*
|
|
722
866
|
* Default value is `[]`.
|
|
867
|
+
*
|
|
868
|
+
* @returns Value of property `buttonGroups`
|
|
723
869
|
*/
|
|
724
870
|
getButtonGroups(): object[];
|
|
725
871
|
/**
|
|
@@ -743,6 +889,8 @@ declare namespace sap {
|
|
|
743
889
|
* loaded toolbar.
|
|
744
890
|
*
|
|
745
891
|
* Default value is `false`.
|
|
892
|
+
*
|
|
893
|
+
* @returns Value of property `customToolbar`
|
|
746
894
|
*/
|
|
747
895
|
getCustomToolbar(): boolean;
|
|
748
896
|
/**
|
|
@@ -752,6 +900,8 @@ declare namespace sap {
|
|
|
752
900
|
* be any editor toolbar.
|
|
753
901
|
*
|
|
754
902
|
* Default value is `true`.
|
|
903
|
+
*
|
|
904
|
+
* @returns Value of property `editable`
|
|
755
905
|
*/
|
|
756
906
|
getEditable(): boolean;
|
|
757
907
|
/**
|
|
@@ -763,6 +913,8 @@ declare namespace sap {
|
|
|
763
913
|
* to set this property after the first rendering will not have any effect.
|
|
764
914
|
*
|
|
765
915
|
* Default value is `'js/tiny_mce4/tinymce.js'`.
|
|
916
|
+
*
|
|
917
|
+
* @returns Value of property `editorLocation`
|
|
766
918
|
*/
|
|
767
919
|
getEditorLocation(): string;
|
|
768
920
|
/**
|
|
@@ -779,6 +931,8 @@ declare namespace sap {
|
|
|
779
931
|
* - Any attempts to set this property after the first rendering will not have any effect.
|
|
780
932
|
*
|
|
781
933
|
* Default value is `'TinyMCE4'`.
|
|
934
|
+
*
|
|
935
|
+
* @returns Value of property `editorType`
|
|
782
936
|
*/
|
|
783
937
|
getEditorType(): string;
|
|
784
938
|
/**
|
|
@@ -786,12 +940,16 @@ declare namespace sap {
|
|
|
786
940
|
*
|
|
787
941
|
* Height of RichTextEditor control in CSS units. **Note:** If the height property results in a value smaller
|
|
788
942
|
* than 200px, the minimum height of 200px will be applied.
|
|
943
|
+
*
|
|
944
|
+
* @returns Value of property `height`
|
|
789
945
|
*/
|
|
790
946
|
getHeight(): sap.ui.core.CSSSize;
|
|
791
947
|
/**
|
|
792
948
|
* Returns the current editor's instance. CAUTION: using the native editor introduces a dependency to that
|
|
793
949
|
* editor and breaks the wrapping character of the RichTextEditor control, so it should only be done in
|
|
794
950
|
* justified cases.
|
|
951
|
+
*
|
|
952
|
+
* @returns The native editor object (here: The TinyMCE editor instance)
|
|
795
953
|
*/
|
|
796
954
|
getNativeApi(): object;
|
|
797
955
|
/**
|
|
@@ -801,6 +959,8 @@ declare namespace sap {
|
|
|
801
959
|
* a property "name" which then contains the plugin name/ID.
|
|
802
960
|
*
|
|
803
961
|
* Default value is `[]`.
|
|
962
|
+
*
|
|
963
|
+
* @returns Value of property `plugins`
|
|
804
964
|
*/
|
|
805
965
|
getPlugins(): object[];
|
|
806
966
|
/**
|
|
@@ -809,6 +969,8 @@ declare namespace sap {
|
|
|
809
969
|
* Determines whether a value is required.
|
|
810
970
|
*
|
|
811
971
|
* Default value is `false`.
|
|
972
|
+
*
|
|
973
|
+
* @returns Value of property `required`
|
|
812
974
|
*/
|
|
813
975
|
getRequired(): boolean;
|
|
814
976
|
/**
|
|
@@ -819,78 +981,112 @@ declare namespace sap {
|
|
|
819
981
|
* API}.
|
|
820
982
|
*
|
|
821
983
|
* Default value is `true`.
|
|
984
|
+
*
|
|
985
|
+
* @returns Value of property `sanitizeValue`
|
|
822
986
|
*/
|
|
823
987
|
getSanitizeValue(): boolean;
|
|
824
988
|
/**
|
|
825
989
|
* Gets current value of property {@link #getShowGroupClipboard showGroupClipboard}.
|
|
826
990
|
*
|
|
827
991
|
* Determines whether the toolbar button group containing commands like Cut, Copy and Paste is available.
|
|
828
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
992
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
993
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
994
|
+
* are added on a later stage.
|
|
829
995
|
*
|
|
830
996
|
* Default value is `true`.
|
|
997
|
+
*
|
|
998
|
+
* @returns Value of property `showGroupClipboard`
|
|
831
999
|
*/
|
|
832
1000
|
getShowGroupClipboard(): boolean;
|
|
833
1001
|
/**
|
|
834
1002
|
* Gets current value of property {@link #getShowGroupFont showGroupFont}.
|
|
835
1003
|
*
|
|
836
1004
|
* Determines whether the toolbar button group containing commands like Font, Font Size and Colors is available.
|
|
837
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1005
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1006
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1007
|
+
* are added on a later stage.
|
|
838
1008
|
*
|
|
839
1009
|
* Default value is `false`.
|
|
1010
|
+
*
|
|
1011
|
+
* @returns Value of property `showGroupFont`
|
|
840
1012
|
*/
|
|
841
1013
|
getShowGroupFont(): boolean;
|
|
842
1014
|
/**
|
|
843
1015
|
* Gets current value of property {@link #getShowGroupFontStyle showGroupFontStyle}.
|
|
844
1016
|
*
|
|
845
1017
|
* Determines whether the toolbar button group containing commands like Bold, Italic, Underline and Strikethrough
|
|
846
|
-
* is available. Changing this after the initial rendering will result in some visible redrawing.
|
|
1018
|
+
* is available. Changing this after the initial rendering will result in some visible redrawing. Note:
|
|
1019
|
+
* This property will not be synchronized with group configuration provided via the buttonGroups property
|
|
1020
|
+
* or when groups are added on a later stage.
|
|
847
1021
|
*
|
|
848
1022
|
* Default value is `true`.
|
|
1023
|
+
*
|
|
1024
|
+
* @returns Value of property `showGroupFontStyle`
|
|
849
1025
|
*/
|
|
850
1026
|
getShowGroupFontStyle(): boolean;
|
|
851
1027
|
/**
|
|
852
1028
|
* Gets current value of property {@link #getShowGroupInsert showGroupInsert}.
|
|
853
1029
|
*
|
|
854
1030
|
* Determines whether the toolbar button group containing commands like Insert Image and Insert Smiley is
|
|
855
|
-
* available. Changing this after the initial rendering will result in some visible redrawing.
|
|
1031
|
+
* available. Changing this after the initial rendering will result in some visible redrawing. Note: This
|
|
1032
|
+
* property will not be synchronized with group configuration provided via the buttonGroups property or
|
|
1033
|
+
* when groups are added on a later stage.
|
|
856
1034
|
*
|
|
857
1035
|
* Default value is `false`.
|
|
1036
|
+
*
|
|
1037
|
+
* @returns Value of property `showGroupInsert`
|
|
858
1038
|
*/
|
|
859
1039
|
getShowGroupInsert(): boolean;
|
|
860
1040
|
/**
|
|
861
1041
|
* Gets current value of property {@link #getShowGroupLink showGroupLink}.
|
|
862
1042
|
*
|
|
863
1043
|
* Determines whether the toolbar button group containing commands like Create Link and Remove Link is available.
|
|
864
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1044
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1045
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1046
|
+
* are added on a later stage.
|
|
865
1047
|
*
|
|
866
1048
|
* Default value is `false`.
|
|
1049
|
+
*
|
|
1050
|
+
* @returns Value of property `showGroupLink`
|
|
867
1051
|
*/
|
|
868
1052
|
getShowGroupLink(): boolean;
|
|
869
1053
|
/**
|
|
870
1054
|
* Gets current value of property {@link #getShowGroupStructure showGroupStructure}.
|
|
871
1055
|
*
|
|
872
1056
|
* Determines whether the toolbar button group containing commands like Bullets and Indentation is available.
|
|
873
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1057
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1058
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1059
|
+
* are added on a later stage.
|
|
874
1060
|
*
|
|
875
1061
|
* Default value is `true`.
|
|
1062
|
+
*
|
|
1063
|
+
* @returns Value of property `showGroupStructure`
|
|
876
1064
|
*/
|
|
877
1065
|
getShowGroupStructure(): boolean;
|
|
878
1066
|
/**
|
|
879
1067
|
* Gets current value of property {@link #getShowGroupTextAlign showGroupTextAlign}.
|
|
880
1068
|
*
|
|
881
1069
|
* Determines whether the toolbar button group containing text alignment commands is available. Changing
|
|
882
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
1070
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
1071
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
1072
|
+
* on a later stage.
|
|
883
1073
|
*
|
|
884
1074
|
* Default value is `true`.
|
|
1075
|
+
*
|
|
1076
|
+
* @returns Value of property `showGroupTextAlign`
|
|
885
1077
|
*/
|
|
886
1078
|
getShowGroupTextAlign(): boolean;
|
|
887
1079
|
/**
|
|
888
1080
|
* Gets current value of property {@link #getShowGroupUndo showGroupUndo}.
|
|
889
1081
|
*
|
|
890
1082
|
* Determines whether the toolbar button group containing commands like Undo and Redo is available. Changing
|
|
891
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
1083
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
1084
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
1085
|
+
* on a later stage.
|
|
892
1086
|
*
|
|
893
1087
|
* Default value is `false`.
|
|
1088
|
+
*
|
|
1089
|
+
* @returns Value of property `showGroupUndo`
|
|
894
1090
|
*/
|
|
895
1091
|
getShowGroupUndo(): boolean;
|
|
896
1092
|
/**
|
|
@@ -899,6 +1095,8 @@ declare namespace sap {
|
|
|
899
1095
|
* The text direction
|
|
900
1096
|
*
|
|
901
1097
|
* Default value is `Inherit`.
|
|
1098
|
+
*
|
|
1099
|
+
* @returns Value of property `textDirection`
|
|
902
1100
|
*/
|
|
903
1101
|
getTextDirection(): sap.ui.core.TextDirection;
|
|
904
1102
|
/**
|
|
@@ -912,6 +1110,8 @@ declare namespace sap {
|
|
|
912
1110
|
* might lead to invisible buttons with the legacy theme - use the default editor theme in this case.
|
|
913
1111
|
*
|
|
914
1112
|
* Default value is `true`.
|
|
1113
|
+
*
|
|
1114
|
+
* @returns Value of property `useLegacyTheme`
|
|
915
1115
|
*/
|
|
916
1116
|
getUseLegacyTheme(): boolean;
|
|
917
1117
|
/**
|
|
@@ -923,12 +1123,16 @@ declare namespace sap {
|
|
|
923
1123
|
* initial state.
|
|
924
1124
|
*
|
|
925
1125
|
* Default value is `empty string`.
|
|
1126
|
+
*
|
|
1127
|
+
* @returns Value of property `value`
|
|
926
1128
|
*/
|
|
927
1129
|
getValue(): string;
|
|
928
1130
|
/**
|
|
929
1131
|
* Gets current value of property {@link #getWidth width}.
|
|
930
1132
|
*
|
|
931
1133
|
* Width of RichTextEditor control in CSS units.
|
|
1134
|
+
*
|
|
1135
|
+
* @returns Value of property `width`
|
|
932
1136
|
*/
|
|
933
1137
|
getWidth(): sap.ui.core.CSSSize;
|
|
934
1138
|
/**
|
|
@@ -938,6 +1142,8 @@ declare namespace sap {
|
|
|
938
1142
|
* representation in the control.
|
|
939
1143
|
*
|
|
940
1144
|
* Default value is `true`.
|
|
1145
|
+
*
|
|
1146
|
+
* @returns Value of property `wrapping`
|
|
941
1147
|
*/
|
|
942
1148
|
getWrapping(): boolean;
|
|
943
1149
|
/**
|
|
@@ -945,6 +1151,8 @@ declare namespace sap {
|
|
|
945
1151
|
*
|
|
946
1152
|
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getCustomButtons customButtons}.
|
|
947
1153
|
* and returns its index if found or -1 otherwise.
|
|
1154
|
+
*
|
|
1155
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
948
1156
|
*/
|
|
949
1157
|
indexOfCustomButton(
|
|
950
1158
|
/**
|
|
@@ -956,6 +1164,8 @@ declare namespace sap {
|
|
|
956
1164
|
* @SINCE 1.48
|
|
957
1165
|
*
|
|
958
1166
|
* Inserts a customButton into the aggregation {@link #getCustomButtons customButtons}.
|
|
1167
|
+
*
|
|
1168
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
959
1169
|
*/
|
|
960
1170
|
insertCustomButton(
|
|
961
1171
|
/**
|
|
@@ -973,6 +1183,8 @@ declare namespace sap {
|
|
|
973
1183
|
* @SINCE 1.76.0
|
|
974
1184
|
*
|
|
975
1185
|
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
1186
|
+
*
|
|
1187
|
+
* @returns An array of the removed elements (might be empty)
|
|
976
1188
|
*/
|
|
977
1189
|
removeAllAriaLabelledBy(): sap.ui.core.ID[];
|
|
978
1190
|
/**
|
|
@@ -981,12 +1193,16 @@ declare namespace sap {
|
|
|
981
1193
|
* Removes all the controls from the aggregation {@link #getCustomButtons customButtons}.
|
|
982
1194
|
*
|
|
983
1195
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
1196
|
+
*
|
|
1197
|
+
* @returns An array of the removed elements (might be empty)
|
|
984
1198
|
*/
|
|
985
1199
|
removeAllCustomButtons(): sap.ui.core.Control[];
|
|
986
1200
|
/**
|
|
987
1201
|
* @SINCE 1.76.0
|
|
988
1202
|
*
|
|
989
1203
|
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
1204
|
+
*
|
|
1205
|
+
* @returns The removed ariaLabelledBy or `null`
|
|
990
1206
|
*/
|
|
991
1207
|
removeAriaLabelledBy(
|
|
992
1208
|
/**
|
|
@@ -994,10 +1210,23 @@ declare namespace sap {
|
|
|
994
1210
|
*/
|
|
995
1211
|
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
996
1212
|
): sap.ui.core.ID;
|
|
1213
|
+
/**
|
|
1214
|
+
* Removes a button group from the editor.
|
|
1215
|
+
*
|
|
1216
|
+
* @returns Control instance (for method chaining)
|
|
1217
|
+
*/
|
|
1218
|
+
removeButtonGroup(
|
|
1219
|
+
/**
|
|
1220
|
+
* The name of the group to be removed.
|
|
1221
|
+
*/
|
|
1222
|
+
sGroupName?: string
|
|
1223
|
+
): object;
|
|
997
1224
|
/**
|
|
998
1225
|
* @SINCE 1.48
|
|
999
1226
|
*
|
|
1000
1227
|
* Removes a customButton from the aggregation {@link #getCustomButtons customButtons}.
|
|
1228
|
+
*
|
|
1229
|
+
* @returns The removed customButton or `null`
|
|
1001
1230
|
*/
|
|
1002
1231
|
removeCustomButton(
|
|
1003
1232
|
/**
|
|
@@ -1007,6 +1236,8 @@ declare namespace sap {
|
|
|
1007
1236
|
): sap.ui.core.Control;
|
|
1008
1237
|
/**
|
|
1009
1238
|
* Removes the plugin with the given name/ID from the list of plugins to load
|
|
1239
|
+
*
|
|
1240
|
+
* @returns Control instance (for method chaining)
|
|
1010
1241
|
*/
|
|
1011
1242
|
removePlugin(
|
|
1012
1243
|
/**
|
|
@@ -1016,6 +1247,8 @@ declare namespace sap {
|
|
|
1016
1247
|
): object;
|
|
1017
1248
|
/**
|
|
1018
1249
|
* Sets the button groups to the editor.
|
|
1250
|
+
*
|
|
1251
|
+
* @returns Control instance (for method chaining)
|
|
1019
1252
|
*/
|
|
1020
1253
|
setButtonGroups(
|
|
1021
1254
|
/**
|
|
@@ -1036,6 +1269,8 @@ declare namespace sap {
|
|
|
1036
1269
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1037
1270
|
*
|
|
1038
1271
|
* Default value is `false`.
|
|
1272
|
+
*
|
|
1273
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1039
1274
|
*/
|
|
1040
1275
|
setCustomToolbar(
|
|
1041
1276
|
/**
|
|
@@ -1052,6 +1287,8 @@ declare namespace sap {
|
|
|
1052
1287
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1053
1288
|
*
|
|
1054
1289
|
* Default value is `true`.
|
|
1290
|
+
*
|
|
1291
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1055
1292
|
*/
|
|
1056
1293
|
setEditable(
|
|
1057
1294
|
/**
|
|
@@ -1070,6 +1307,8 @@ declare namespace sap {
|
|
|
1070
1307
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1071
1308
|
*
|
|
1072
1309
|
* Default value is `'js/tiny_mce4/tinymce.js'`.
|
|
1310
|
+
*
|
|
1311
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1073
1312
|
*/
|
|
1074
1313
|
setEditorLocation(
|
|
1075
1314
|
/**
|
|
@@ -1080,6 +1319,8 @@ declare namespace sap {
|
|
|
1080
1319
|
/**
|
|
1081
1320
|
* Switches the editor type and sets the default settings for the editor. All plugins and button groups
|
|
1082
1321
|
* should be set after this has been invoked
|
|
1322
|
+
*
|
|
1323
|
+
* @returns Control instance (for method chaining)
|
|
1083
1324
|
*/
|
|
1084
1325
|
setEditorType(
|
|
1085
1326
|
/**
|
|
@@ -1094,6 +1335,8 @@ declare namespace sap {
|
|
|
1094
1335
|
* than 200px, the minimum height of 200px will be applied.
|
|
1095
1336
|
*
|
|
1096
1337
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1338
|
+
*
|
|
1339
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1097
1340
|
*/
|
|
1098
1341
|
setHeight(
|
|
1099
1342
|
/**
|
|
@@ -1103,6 +1346,8 @@ declare namespace sap {
|
|
|
1103
1346
|
): this;
|
|
1104
1347
|
/**
|
|
1105
1348
|
* Sets the plugins to the editor.
|
|
1349
|
+
*
|
|
1350
|
+
* @returns Control instance (for method chaining)
|
|
1106
1351
|
*/
|
|
1107
1352
|
setPlugins(
|
|
1108
1353
|
/**
|
|
@@ -1118,6 +1363,8 @@ declare namespace sap {
|
|
|
1118
1363
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1119
1364
|
*
|
|
1120
1365
|
* Default value is `false`.
|
|
1366
|
+
*
|
|
1367
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1121
1368
|
*/
|
|
1122
1369
|
setRequired(
|
|
1123
1370
|
/**
|
|
@@ -1135,6 +1382,8 @@ declare namespace sap {
|
|
|
1135
1382
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1136
1383
|
*
|
|
1137
1384
|
* Default value is `true`.
|
|
1385
|
+
*
|
|
1386
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1138
1387
|
*/
|
|
1139
1388
|
setSanitizeValue(
|
|
1140
1389
|
/**
|
|
@@ -1146,11 +1395,15 @@ declare namespace sap {
|
|
|
1146
1395
|
* Sets a new value for property {@link #getShowGroupClipboard showGroupClipboard}.
|
|
1147
1396
|
*
|
|
1148
1397
|
* Determines whether the toolbar button group containing commands like Cut, Copy and Paste is available.
|
|
1149
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1398
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1399
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1400
|
+
* are added on a later stage.
|
|
1150
1401
|
*
|
|
1151
1402
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1152
1403
|
*
|
|
1153
1404
|
* Default value is `true`.
|
|
1405
|
+
*
|
|
1406
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1154
1407
|
*/
|
|
1155
1408
|
setShowGroupClipboard(
|
|
1156
1409
|
/**
|
|
@@ -1162,11 +1415,15 @@ declare namespace sap {
|
|
|
1162
1415
|
* Sets a new value for property {@link #getShowGroupFont showGroupFont}.
|
|
1163
1416
|
*
|
|
1164
1417
|
* Determines whether the toolbar button group containing commands like Font, Font Size and Colors is available.
|
|
1165
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1418
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1419
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1420
|
+
* are added on a later stage.
|
|
1166
1421
|
*
|
|
1167
1422
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1168
1423
|
*
|
|
1169
1424
|
* Default value is `false`.
|
|
1425
|
+
*
|
|
1426
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1170
1427
|
*/
|
|
1171
1428
|
setShowGroupFont(
|
|
1172
1429
|
/**
|
|
@@ -1178,11 +1435,15 @@ declare namespace sap {
|
|
|
1178
1435
|
* Sets a new value for property {@link #getShowGroupFontStyle showGroupFontStyle}.
|
|
1179
1436
|
*
|
|
1180
1437
|
* Determines whether the toolbar button group containing commands like Bold, Italic, Underline and Strikethrough
|
|
1181
|
-
* is available. Changing this after the initial rendering will result in some visible redrawing.
|
|
1438
|
+
* is available. Changing this after the initial rendering will result in some visible redrawing. Note:
|
|
1439
|
+
* This property will not be synchronized with group configuration provided via the buttonGroups property
|
|
1440
|
+
* or when groups are added on a later stage.
|
|
1182
1441
|
*
|
|
1183
1442
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1184
1443
|
*
|
|
1185
1444
|
* Default value is `true`.
|
|
1445
|
+
*
|
|
1446
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1186
1447
|
*/
|
|
1187
1448
|
setShowGroupFontStyle(
|
|
1188
1449
|
/**
|
|
@@ -1194,11 +1455,15 @@ declare namespace sap {
|
|
|
1194
1455
|
* Sets a new value for property {@link #getShowGroupInsert showGroupInsert}.
|
|
1195
1456
|
*
|
|
1196
1457
|
* Determines whether the toolbar button group containing commands like Insert Image and Insert Smiley is
|
|
1197
|
-
* available. Changing this after the initial rendering will result in some visible redrawing.
|
|
1458
|
+
* available. Changing this after the initial rendering will result in some visible redrawing. Note: This
|
|
1459
|
+
* property will not be synchronized with group configuration provided via the buttonGroups property or
|
|
1460
|
+
* when groups are added on a later stage.
|
|
1198
1461
|
*
|
|
1199
1462
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1200
1463
|
*
|
|
1201
1464
|
* Default value is `false`.
|
|
1465
|
+
*
|
|
1466
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1202
1467
|
*/
|
|
1203
1468
|
setShowGroupInsert(
|
|
1204
1469
|
/**
|
|
@@ -1210,11 +1475,15 @@ declare namespace sap {
|
|
|
1210
1475
|
* Sets a new value for property {@link #getShowGroupLink showGroupLink}.
|
|
1211
1476
|
*
|
|
1212
1477
|
* Determines whether the toolbar button group containing commands like Create Link and Remove Link is available.
|
|
1213
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1478
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1479
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1480
|
+
* are added on a later stage.
|
|
1214
1481
|
*
|
|
1215
1482
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1216
1483
|
*
|
|
1217
1484
|
* Default value is `false`.
|
|
1485
|
+
*
|
|
1486
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1218
1487
|
*/
|
|
1219
1488
|
setShowGroupLink(
|
|
1220
1489
|
/**
|
|
@@ -1226,11 +1495,15 @@ declare namespace sap {
|
|
|
1226
1495
|
* Sets a new value for property {@link #getShowGroupStructure showGroupStructure}.
|
|
1227
1496
|
*
|
|
1228
1497
|
* Determines whether the toolbar button group containing commands like Bullets and Indentation is available.
|
|
1229
|
-
* Changing this after the initial rendering will result in some visible redrawing.
|
|
1498
|
+
* Changing this after the initial rendering will result in some visible redrawing. Note: This property
|
|
1499
|
+
* will not be synchronized with group configuration provided via the buttonGroups property or when groups
|
|
1500
|
+
* are added on a later stage.
|
|
1230
1501
|
*
|
|
1231
1502
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1232
1503
|
*
|
|
1233
1504
|
* Default value is `true`.
|
|
1505
|
+
*
|
|
1506
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1234
1507
|
*/
|
|
1235
1508
|
setShowGroupStructure(
|
|
1236
1509
|
/**
|
|
@@ -1242,11 +1515,15 @@ declare namespace sap {
|
|
|
1242
1515
|
* Sets a new value for property {@link #getShowGroupTextAlign showGroupTextAlign}.
|
|
1243
1516
|
*
|
|
1244
1517
|
* Determines whether the toolbar button group containing text alignment commands is available. Changing
|
|
1245
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
1518
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
1519
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
1520
|
+
* on a later stage.
|
|
1246
1521
|
*
|
|
1247
1522
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1248
1523
|
*
|
|
1249
1524
|
* Default value is `true`.
|
|
1525
|
+
*
|
|
1526
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1250
1527
|
*/
|
|
1251
1528
|
setShowGroupTextAlign(
|
|
1252
1529
|
/**
|
|
@@ -1258,11 +1535,15 @@ declare namespace sap {
|
|
|
1258
1535
|
* Sets a new value for property {@link #getShowGroupUndo showGroupUndo}.
|
|
1259
1536
|
*
|
|
1260
1537
|
* Determines whether the toolbar button group containing commands like Undo and Redo is available. Changing
|
|
1261
|
-
* this after the initial rendering will result in some visible redrawing.
|
|
1538
|
+
* this after the initial rendering will result in some visible redrawing. Note: This property will not
|
|
1539
|
+
* be synchronized with group configuration provided via the buttonGroups property or when groups are added
|
|
1540
|
+
* on a later stage.
|
|
1262
1541
|
*
|
|
1263
1542
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1264
1543
|
*
|
|
1265
1544
|
* Default value is `false`.
|
|
1545
|
+
*
|
|
1546
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1266
1547
|
*/
|
|
1267
1548
|
setShowGroupUndo(
|
|
1268
1549
|
/**
|
|
@@ -1278,6 +1559,8 @@ declare namespace sap {
|
|
|
1278
1559
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1279
1560
|
*
|
|
1280
1561
|
* Default value is `Inherit`.
|
|
1562
|
+
*
|
|
1563
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1281
1564
|
*/
|
|
1282
1565
|
setTextDirection(
|
|
1283
1566
|
/**
|
|
@@ -1298,6 +1581,8 @@ declare namespace sap {
|
|
|
1298
1581
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1299
1582
|
*
|
|
1300
1583
|
* Default value is `true`.
|
|
1584
|
+
*
|
|
1585
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1301
1586
|
*/
|
|
1302
1587
|
setUseLegacyTheme(
|
|
1303
1588
|
/**
|
|
@@ -1316,6 +1601,8 @@ declare namespace sap {
|
|
|
1316
1601
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1317
1602
|
*
|
|
1318
1603
|
* Default value is `empty string`.
|
|
1604
|
+
*
|
|
1605
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1319
1606
|
*/
|
|
1320
1607
|
setValue(
|
|
1321
1608
|
/**
|
|
@@ -1329,6 +1616,8 @@ declare namespace sap {
|
|
|
1329
1616
|
* Width of RichTextEditor control in CSS units.
|
|
1330
1617
|
*
|
|
1331
1618
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1619
|
+
*
|
|
1620
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1332
1621
|
*/
|
|
1333
1622
|
setWidth(
|
|
1334
1623
|
/**
|
|
@@ -1345,6 +1634,8 @@ declare namespace sap {
|
|
|
1345
1634
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1346
1635
|
*
|
|
1347
1636
|
* Default value is `true`.
|
|
1637
|
+
*
|
|
1638
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1348
1639
|
*/
|
|
1349
1640
|
setWrapping(
|
|
1350
1641
|
/**
|