cirandas.net

ref: master

plugins/web_odf/public/wodotexteditor-0.5.9/docs/symbols/Wodo.html


  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
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - Wodo</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/TextEditor.html">TextEditor</a></li>
	
	<li><a href="../symbols/Wodo.html">Wodo</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Namespace Wodo
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/wodotexteditor.js.html">wodotexteditor.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Wodo.">
				<caption>Namespace Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#constructor">Wodo</a></b>
							</div>
							<div class="description">Namespace of the Wodo.TextEditor</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class Wodo.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#EVENT_DOCUMENTMODIFIEDCHANGED">EVENT_DOCUMENTMODIFIEDCHANGED</a></b>
								</div>
								<div class="description">Id of event if documentModified state changes</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#EVENT_METADATACHANGED">EVENT_METADATACHANGED</a></b>
								</div>
								<div class="description">Id of event if metadata changes</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#EVENT_UNKNOWNERROR">EVENT_UNKNOWNERROR</a></b>
								</div>
								<div class="description">Id of event for an unkown error</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#MODUS_FULLEDITING">MODUS_FULLEDITING</a></b>
								</div>
								<div class="description">Id of full editing modus</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/Wodo.html#MODUS_REVIEW">MODUS_REVIEW</a></b>
								</div>
								<div class="description">Id of review modus</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Wodo.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Wodo.html#createTextEditor">createTextEditor</a></b>(editorContainerElementId, editorOptions, onEditorCreated)
								</div>
								<div class="description">Creates a text editor object and returns it on success in the passed callback.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Namespace Detail
				</div>
				
				<div class="fixedFont">
						<b>Wodo</b>
				</div>
				
				<div class="description">
					Namespace of the Wodo.TextEditor
					
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name="EVENT_DOCUMENTMODIFIEDCHANGED"> </a>
					<div class="fixedFont">
					
					
					<b>EVENT_DOCUMENTMODIFIEDCHANGED</b>
					
					</div>
					<div class="description">
						Id of event if documentModified state changes
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name="EVENT_METADATACHANGED"> </a>
					<div class="fixedFont">
					
					
					<b>EVENT_METADATACHANGED</b>
					
					</div>
					<div class="description">
						Id of event if metadata changes
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name="EVENT_UNKNOWNERROR"> </a>
					<div class="fixedFont">
					
					
					<b>EVENT_UNKNOWNERROR</b>
					
					</div>
					<div class="description">
						Id of event for an unkown error
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name="MODUS_FULLEDITING"> </a>
					<div class="fixedFont">
					
					
					<b>MODUS_FULLEDITING</b>
					
					</div>
					<div class="description">
						Id of full editing modus
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name="MODUS_REVIEW"> </a>
					<div class="fixedFont">
					
					
					<b>MODUS_REVIEW</b>
					
					</div>
					<div class="description">
						Id of review modus
						
						
					</div>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="createTextEditor"> </a>
					<div class="fixedFont">
					
					<span class="light">{undefined}</span>
					<b>createTextEditor</b>(editorContainerElementId, editorOptions, onEditorCreated)
					
					</div>
					<div class="description">
						Creates a text editor object and returns it on success in the passed callback.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{!string}</span> <b>editorContainerElementId</b>
									
								</dt>
								<dd>id of the existing div element which will contain the editor (should be empty before)</dd>
							
								<dt>
									<b>editorOptions</b>
									
								</dt>
								<dd>options to configure the features of the editor. All entries are optional</dd>
							
								<dt>
									<b>editorOptions.modus</b>
									<i>Optional, Default: Wodo.MODUS_FULLEDITING</i>
								</dt>
								<dd>set the editing modus. Current options: Wodo.MODUS_FULLEDITING, Wodo.MODUS_REVIEW</dd>
							
								<dt>
									<b>editorOptions.loadCallback</b>
									<i>Optional</i>
								</dt>
								<dd>parameter-less callback method, adds a "Load" button to the toolbar which triggers this method</dd>
							
								<dt>
									<b>editorOptions.saveCallback</b>
									<i>Optional</i>
								</dt>
								<dd>parameter-less callback method, adds a "Save" button to the toolbar which triggers this method</dd>
							
								<dt>
									<b>editorOptions.saveAsCallback</b>
									<i>Optional</i>
								</dt>
								<dd>parameter-less callback method, adds a "Save as" button to the toolbar which triggers this method</dd>
							
								<dt>
									<b>editorOptions.downloadCallback</b>
									<i>Optional</i>
								</dt>
								<dd>parameter-less callback method, adds a "Download" button to the right of the toolbar which triggers this method</dd>
							
								<dt>
									<b>editorOptions.closeCallback</b>
									<i>Optional</i>
								</dt>
								<dd>parameter-less callback method, adds a "Save" button to the toolbar which triggers this method</dd>
							
								<dt>
									<b>editorOptions.allFeaturesEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', switches the default for all features from 'false' to 'true'</dd>
							
								<dt>
									<b>editorOptions.directTextStylingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the direct styling of text (e.g. bold/italic or font)</dd>
							
								<dt>
									<b>editorOptions.directParagraphStylingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the direct styling of paragraphs (e.g. indentation or alignement)</dd>
							
								<dt>
									<b>editorOptions.paragraphStyleSelectingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables setting of defined paragraph styles to paragraphs</dd>
							
								<dt>
									<b>editorOptions.paragraphStyleEditingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the editing of defined paragraph styles</dd>
							
								<dt>
									<b>editorOptions.imageEditingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the insertion of images</dd>
							
								<dt>
									<b>editorOptions.hyperlinkEditingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the editing of hyperlinks</dd>
							
								<dt>
									<b>editorOptions.annotationsEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the display and the editing of annotations</dd>
							
								<dt>
									<b>editorOptions.undoRedoEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the Undo and Redo of editing actions</dd>
							
								<dt>
									<b>editorOptions.zoomingEnabled</b>
									<i>Optional, Default: false</i>
								</dt>
								<dd>if set to 'true', enables the zooming tool</dd>
							
								<dt>
									<b>editorOptions.userData</b>
									<i>Optional</i>
								</dt>
								<dd>data about the user editing the document</dd>
							
								<dt>
									<b>editorOptions.userData.fullName</b>
									<i>Optional</i>
								</dt>
								<dd>full name of the user, used for annotations and in the metadata of the document</dd>
							
								<dt>
									<b>editorOptions.userData.color</b>
									<i>Optional, Default: "black"</i>
								</dt>
								<dd>color to use for any user related indicators like cursor or annotations</dd>
							
								<dt>
									<span class="light fixedFont">{!function(err:?Error|editor:!TextEditor=):undefined}</span> <b>onEditorCreated</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{undefined}</span> </dd>
							
							</dl>
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Thu Sep 03 2015 21:33:30 GMT+0200 (CEST)
		</div>
	</body>
</html>