-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjlpt-n2.xpr
7205 lines (7164 loc) · 439 KB
/
jlpt-n2.xpr
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
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<project version="21.0">
<meta>
<filters directoryPatterns="" filePatterns="\Qjlpt-n2.xpr\E" positiveFilePatterns="" showHiddenFiles="false"/>
<options>
<serialized version="21.0" xml:space="preserve">
<serializableOrderedMap>
<entry>
<String>code-templates</String>
<codeTemplateItem-array>
<codeTemplateItem>
<field name="contentType">
<String>text/any</String>
</field>
<field name="unparsedInsertString">
<String><br/>
${caret}</String>
</field>
<field name="descriptionString">
<String></String>
</field>
<field name="renderString">
<String>Linebreak</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<String>M1 ENTER</String>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/any</String>
</field>
<field name="unparsedInsertString">
<String><a href="${caret}">${selection}</a></String>
</field>
<field name="descriptionString">
<String>Insert link</String>
</field>
<field name="renderString">
<String>Link</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<String>M1 M2 L</String>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/any</String>
</field>
<field name="unparsedInsertString">
<String><tr id="${id}">
<td>
<div>${caret}</div>
</td>
<td>
<div></div>
</td>
<td>
<div></div>
</td>
<td>
<div></div>
</td>
<td>
<div></div>
</td>
</tr></String>
</field>
<field name="descriptionString">
<String>Insert listings table row</String>
</field>
<field name="renderString">
<String>Listings table row</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<String>M1 M2 R</String>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation',
arg-elementLocation, '.',
arg-name, '',
arg-namespace, '',
arg-value, '',
arg-removeIfEmpty, 'true',
arg-editAttribute, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Add/change/remove an attribute of an element.</p><br/>Arguments: <ul><li><b>elementLocation</b> = An XPath expression indicating the element whose attribute will be changed.
Note: If it is not defined then the element at the caret position will be used.</li><li><b>name</b> = The attribute local name.</li><li><b>namespace</b> = The attribute namespace. Leave it empty for no namespace.</li><li><b>value</b> = The attribute value. Set it empty to remove the attribute.</li><li><b>removeIfEmpty</b> = True means that the attribute should be removed if an empty value is provided. The default behavior is to remove it.</li><li><b>editAttribute</b> = If an in-place editor exists for this attribute, it will automatically activate the in-pace editor and it will start editing.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation',<br/> arg-elementLocation, '.',<br/> arg-name, '',<br/> arg-namespace, '',<br/> arg-value, '',<br/> arg-removeIfEmpty, 'true',<br/> arg-editAttribute, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ChangeAttributeOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ChangeAttributesOperation',
arg-elementLocations, '.',
arg-attributeNames, '',
arg-values, '',
arg-removeIfEmpty, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Add/change/remove one or more attributes for one or more elements.</p><br/>Arguments: <ul><li><b>elementLocations</b> = An XPath expression indicating the elements whose attributes will be affected.
Note: If it is not defined, then the element at the caret position will be used.</li><li><b>attributeNames</b> = The names of the attributes to change/insert/remove, each on a new line. The provided values can be local names or Clark notations ({attribute_namespace}attibute_name).</li><li><b>values</b> = The attribute values, each on a new line. An empty value will remove the corresponding attribute if 'removeIfEmpty' is set to 'true' (it is by default).</li><li><b>removeIfEmpty</b> = 'true' means the attribute should be removed if an empty value is provided. The default value is 'true'.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ChangeAttributesOperation',<br/> arg-elementLocations, '.',<br/> arg-attributeNames, '',<br/> arg-values, '',<br/> arg-removeIfEmpty, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ChangeAttributesOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ChangePseudoClassesOperation',
arg-setLocations, '.',
arg-setPseudoClassNames, '',
arg-removeLocations, '.',
arg-removePseudoClassNames, '',
arg-includeAllNodes, 'no'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Sets a set of pseudo classes to all nodes identified by an XPath expression.
Removes a set of pseudo classes from all nodes identified by an XPath expression.</p><br/>Arguments: <ul><li><b>setLocations</b> = An XPath expression indicating a list of nodes on which the specified list of pseudo classes will be set.
Note: If it is not defined, then the element at the caret position will be used.</li><li><b>setPseudoClassNames</b> = A space-separated list of pseudo class names which will be set on the matched nodes.</li><li><b>removeLocations</b> = An XPath expression indicating a list of nodes from which the specified list of pseudo classes will be removed.
Note: If it is not defined, then the element at the caret position will be used.</li><li><b>removePseudoClassNames</b> = A space-separated list of pseudo class names which will be removed from the matched nodes.</li><li><b>includeAllNodes</b> = The value should be "yes" in order to include comments, text and CDATA nodes in the XPath execution, "no" to ignore them.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ChangePseudoClassesOperation',<br/> arg-setLocations, '.',<br/> arg-setPseudoClassNames, '',<br/> arg-removeLocations, '.',<br/> arg-removePseudoClassNames, '',<br/> arg-includeAllNodes, 'no'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ChangePseudoClassesOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.DeleteElementOperation',
arg-elementLocation, '.'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Deletes the element specified by an XPath expression or the element at the caret position</p><br/>Arguments: <ul><li><b>elementLocation</b> = An XPath expression indicating the element to be deleted.
Note: If it is not defined, then the element at the caret position will be used.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.DeleteElementOperation',<br/> arg-elementLocation, '.'</p></body></html></String>
</field>
<field name="renderString">
<String>op_DeleteElementOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations, '.'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Deletes the elements specified by an XPath expression or the element at the caret position</p><br/>Arguments: <ul><li><b>elementLocations</b> = An XPath expression indicating the elements to be deleted.
Note: If it is not defined then the element at the caret position will be used.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',<br/> arg-elementLocations, '.'</p></body></html></String>
</field>
<field name="renderString">
<String>op_DeleteElementsOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteCommandLineOperation',
arg-name, 'Command Line Operation',
arg-workingDirectory, '.',
arg-cmdLine, '',
arg-showConsole, 'false'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Author operation allowing the execution of command lines.</p><br/>Arguments: <ul><li><b>name</b> = The name of the operation. It will also be used as the name of the console.</li><li><b>workingDirectory</b> = The path to the working directory where the command line will be executed.</li><li><b>cmdLine</b> = The command line to be executed. It can contain oXygen editor variables. IMPORTANT: This operation is meant for executing programs. Not any string that a command line interpreter (or shell) accepts can be run by this operation.For example, the "dir" command line from Windows is not accepted as it is. The accepted form is "cmd /c dir".</li><li><b>showConsole</b> = True to show the console when running the command line.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteCommandLineOperation',<br/> arg-name, 'Command Line Operation',<br/> arg-workingDirectory, '.',<br/> arg-cmdLine, '',<br/> arg-showConsole, 'false'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ExecuteCommandLineOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation',
arg-actionIDs, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run a sequence of actions defined in the associated document type.</p><br/>Arguments: <ul><li><b>actionIDs</b> = The IDs of the actions that will be executed in sequence, separated either by new lines or by commas.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation',<br/> arg-actionIDs, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_ExecuteMultipleActionsOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleWebappCompatibleActionsOperation',
arg-actionIDs, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run a sequence of actions defined in the associated document type.</p><br/>Arguments: <ul><li><b>actionIDs</b> = The IDs of the actions that will be executed in sequence, separated either by new lines or by commas.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleWebappCompatibleActionsOperation',<br/> arg-actionIDs, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_ExecuteMultipleWebappCompatibleActionsOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation',
arg-scenarioNames, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run a named transformation scenario defined in the associated document type.</p><br/>Arguments: <ul><li><b>scenarioNames</b> = The names of the transformation scenario which will be executed, separated by new lines.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation',<br/> arg-scenarioNames, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_ExecuteTransformationScenariosOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.InsertEquationOperation',
arg-fragment, '<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"></mml:math>'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Insert a MathML equation.</p><br/>Arguments: <ul><li><b>fragment</b> = The fragment of XML containing the default MathML content which should be inserted</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.InsertEquationOperation',<br/> arg-fragment, '<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"></mml:math>'</p></body></html></String>
</field>
<field name="renderString">
<String>op_InsertEquationOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<element/>',
arg-insertLocation, '.',
arg-insertPosition, 'Inside as first child',
arg-schemaAware, 'true',
arg-goToNextEditablePosition, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Insert a document fragment.</p><br/>Arguments: <ul><li><b>fragment</b> = The fragment to be inserted</li><li><b>insertLocation</b> = An XPath expression indicating the insert location for the fragment.
Note: If it is not defined then the insert location will be at the caret.</li><li><b>insertPosition</b> = The insert position relative to the node determined by the XPath expression.
Can be: Before, Inside as first child, Inside as last child or After.
Note: If the XPath expression is not defined this argument is ignored</li><li><b>schemaAware</b> = Controlling if the insertion is schema aware or not. When is enabled and the fragments insertion is not allowed, a dialog will be shown proposing one of following solutions if they apply:
- insert the fragments inside a new element. The name of the element to wrap the fragments in is computed by analyzing the left or right siblings;
- split an ancestor of the node at insertion offset and insert the fragments between the resulted elements;
- insert the fragments somewhere in the proximity of the insertion offset(left or right without skipping content);
- insert at offset the plain text resulted after removing the mark-up;
- insert the fragments at insertion offset, even they are not allowed.
Can be: true, false. Default value is true.</li><li><b>goToNextEditablePosition</b> = After inserting the fragment, the first editable position is detected and the caret is placed at that location. It handles any in-place editors used to edit attributes. It will be ignored if the fragment specifies a caret position using the caret editor variable.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',<br/> arg-fragment, '<element/>',<br/> arg-insertLocation, '.',<br/> arg-insertPosition, 'Inside as first child',<br/> arg-schemaAware, 'true',<br/> arg-goToNextEditablePosition, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_InsertFragmentOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<element/>',
arg-insertLocation, '.',
arg-insertPosition, 'Inside as first child',
arg-schemaAware, 'true',
arg-goToNextEditablePosition, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Insert a document fragment. If selection is present, the selection will be replaced with the given fragment.</p><br/>Arguments: <ul><li><b>fragment</b> = The fragment to be inserted</li><li><b>insertLocation</b> = An XPath expression indicating the insert location for the fragment.
Note: If it is not defined then the insert location will be at the caret.</li><li><b>insertPosition</b> = The insert position relative to the node determined by the XPath expression.
Can be: Before, Inside as first child, Inside as last child, Replace or After.
Note: If the XPath expression is not defined this argument is ignored</li><li><b>schemaAware</b> = Controlling if the insertion is schema aware or not. When is enabled and the fragments insertion is not allowed, a dialog will be shown proposing one of following solutions if they apply:
- insert the fragments inside a new element. The name of the element to wrap the fragments in is computed by analyzing the left or right siblings;
- split an ancestor of the node at insertion offset and insert the fragments between the resulted elements;
- insert the fragments somewhere in the proximity of the insertion offset(left or right without skipping content);
- insert at offset the plain text resulted after removing the mark-up;
- insert the fragments at insertion offset, even they are not allowed.
Can be: true, false. Default value is true.</li><li><b>goToNextEditablePosition</b> = After inserting the fragment, the first editable position is detected and the caret is placed at that location. It handles any in-place editors used to edit attributes. It will be ignored if the fragment specifies a caret position using the caret editor variable.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',<br/> arg-fragment, '<element/>',<br/> arg-insertLocation, '.',<br/> arg-insertPosition, 'Inside as first child',<br/> arg-schemaAware, 'true',<br/> arg-goToNextEditablePosition, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_InsertOrReplaceFragmentOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceTextOperation',
arg-text, '',
arg-schemaAware, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Insert a simple text. If selection is present, the selected text will be replaced with the new one.</p><br/>Arguments: <ul><li><b>text</b> = The text to be inserted</li><li><b>schemaAware</b> = Controlling if the insertion is schema aware or not. When is enabled and the fragments insertion is not allowed, a dialog will be shown proposing one of following solutions if they apply:
- insert the fragments inside a new element. The name of the element to wrap the fragments in is computed by analyzing the left or right siblings;
- split an ancestor of the node at insertion offset and insert the fragments between the resulted elements;
- insert the fragments somewhere in the proximity of the insertion offset(left or right without skipping content);
- insert at offset the plain text resulted after removing the mark-up;
- insert the fragments at insertion offset, even they are not allowed.
Can be: true, false. Default value is true.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceTextOperation',<br/> arg-text, '',<br/> arg-schemaAware, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_InsertOrReplaceTextOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.InsertXIncludeOperation'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Insert an XInclude element</p><br/>Arguments: <p style="margin-left:10px;">This operation has no arguments.</p> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.InsertXIncludeOperation'</p></body></html></String>
</field>
<field name="renderString">
<String>op_InsertXIncludeOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.JSOperation',
arg-script, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run Javascript code which calls AuthorAccess API by using the predefined field 'authorAccess'.</p><br/>Arguments: <ul><li><b>script</b> = The Javascript content to execute. It must have a function called doOperation() which can use the predefined variable "authorAccess".
The "authorAccess" variable has access to the entire Java API "ro.sync.ecss.extensions.api.AuthorAccess".</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.JSOperation',<br/> arg-script, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_JSOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.MoveCaretOperation',
arg-xpathLocation, '.',
arg-position, 'Inside, at the beginning',
arg-selection, 'None'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Author operation capable of moving the caret relative to an XML node identified by an XPath expression. The operation can also select an XML element or its content.</p><br/>Arguments: <ul><li><b>xpathLocation</b> = An XPath expression identifying the node relative to which the caret will be moved. If the expression identifies more than one node, only the first one will be taken into account.</li><li><b>position</b> = The position relative to the node obtained from the XPath expression where the caret will be moved. When also choosing to perform a selection, "Before" and "Inside, at the beginning" will both place the caret at the beginning of the selection. In the same way, "After" and "Inside, at the end" will place the caret at the end of the selection.</li><li><b>selection</b> = This argument specifies if the operation should select the element obtained from the XPath expression, its content or nothing at all.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.MoveCaretOperation',<br/> arg-xpathLocation, '.',<br/> arg-position, 'Inside, at the beginning',<br/> arg-selection, 'None'</p></body></html></String>
</field>
<field name="renderString">
<String>op_MoveCaretOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.MoveElementOperation',
arg-sourceLocation, '.',
arg-moveOnlySourceContentNodes, 'false',
arg-deleteLocation, '.',
arg-surroundFragment, '<element/>',
arg-targetLocation, '.',
arg-insertPosition, 'Inside as first child',
arg-processTrackedChangesForXPathLocations, 'false'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Moves an element to a different location. The element to move as well as the destination are provided through XPath expressions.</p><br/>Arguments: <ul><li><b>sourceLocation</b> = An XPath expression that identifies the node to be moved. If missing, the node at caret will be moved.</li><li><b>moveOnlySourceContentNodes</b> = Controls whether the source element is moved entirely or just its content (the content of a node consists in text, other nodes or both). If true, the copied fragment consists in just the content of the node identified by the argument 'sourceLocation'. If false, the entire node will be copied.</li><li><b>deleteLocation</b> = An XPath expression that identifies the node to be removed. Optional. If missing, the node identified by 'sourceLocation' as being moved will be removed.</li><li><b>surroundFragment</b> = A string representation of an XML fragment. The moved node will be inserted in the first leaf will be this fragment and this fragment containing the moved node will be placed at the destination.</li><li><b>targetLocation</b> = An XPath expression that identifies the location where the node must be moved to.</li><li><b>insertPosition</b> = The insert position relative to the node determined by the "targetLocation" XPath expression.
Can be: Before, Inside as first child, Inside as last child or After.
Note: If the XPath expression is not defined this argument is ignored</li><li><b>processTrackedChangesForXPathLocations</b> = When nodes are located via XPath, if you have nodes deleted with change tracking in the document they are considered as being present by default.
But if you set this argument to 'true', the nodes deleted with track changes will be ignored when the xpath locations are computed. </li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.MoveElementOperation',<br/> arg-sourceLocation, '.',<br/> arg-moveOnlySourceContentNodes, 'false',<br/> arg-deleteLocation, '.',<br/> arg-surroundFragment, '<element/>',<br/> arg-targetLocation, '.',<br/> arg-insertPosition, 'Inside as first child',<br/> arg-processTrackedChangesForXPathLocations, 'false'</p></body></html></String>
</field>
<field name="renderString">
<String>op_MoveElementOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.OpenInSystemAppOperation',
arg-resourcePath, '.',
arg-isUnparsedEntity, 'false',
arg-mediaType, 'html'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Open in default system application</p><br/>Arguments: <ul><li><b>resourcePath</b> = An XPath expression that gives the path of the resource that must be opened.</li><li><b>isUnparsedEntity</b> = True if the value returned by the resourcePath argument represents the name of an unparsed entity.</li><li><b>mediaType</b> = The media type of the file to be opened. </li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.OpenInSystemAppOperation',<br/> arg-resourcePath, '.',<br/> arg-isUnparsedEntity, 'false',<br/> arg-mediaType, 'html'</p></body></html></String>
</field>
<field name="renderString">
<String>op_OpenInSystemAppOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.PromoteDemoteItemOperation',
arg-promote, 'false'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Promotes or demotes a list item.</p><br/>Arguments: <ul><li><b>promote</b> = Should be true to promote the list item at the caret position, or false to demote it.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.PromoteDemoteItemOperation',<br/> arg-promote, 'false'</p></body></html></String>
</field>
<field name="renderString">
<String>op_PromoteDemoteItemOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ReloadContentOperation',
arg-markAsNotModified, 'false'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Reloads the content of the editor by reading again from the URL used to open it</p><br/>Arguments: <ul><li><b>markAsNotModified</b> = After reloading the content the editor may appear as modified. Sometimes, the content is already present on the file server, so the user should not save it again. This flags can be used in these cases to prevent the editor from showing as modified</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ReloadContentOperation',<br/> arg-markAsNotModified, 'false'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ReloadContentOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.RemovePseudoClassOperation',
arg-elementLocation, '.',
arg-name, '',
arg-includeAllNodes, 'no'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Removes the pseudo class for an element.</p><br/>Arguments: <ul><li><b>elementLocation</b> = An XPath expression indicating the element or elements whose pseudo-class will be changed.
Note: If this is not defined then the element at the caret position will be used.</li><li><b>name</b> = The pseudo-class name.</li><li><b>includeAllNodes</b> = The value should be "yes" in order to include comments, text and CDATA nodes in the XPath execution, "no" to ignore them.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.RemovePseudoClassOperation',<br/> arg-elementLocation, '.',<br/> arg-name, '',<br/> arg-includeAllNodes, 'no'</p></body></html></String>
</field>
<field name="renderString">
<String>op_RemovePseudoClassOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.RenameElementOperation',
arg-elementName, '',
arg-elementLocation, '.'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Renames the elements identified by the given XPath expression or the current element if no XPath is provided.</p><br/>Arguments: <ul><li><b>elementName</b> = A string representing the new elements' qualified name. To declare a new namespace, append to the qualified name the pound (#) character and the namespace declaration.</li><li><b>elementLocation</b> = An XPath expression indicating the elements to be renamed.
Note: If it is not defined then the element at the caret position will be used.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.RenameElementOperation',<br/> arg-elementName, '',<br/> arg-elementLocation, '.'</p></body></html></String>
</field>
<field name="renderString">
<String>op_RenameElementOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ReplaceContentOperation',
arg-content, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Replaces the content of a document.</p><br/>Arguments: <ul><li><b>content</b> = The new content of the document.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ReplaceContentOperation',<br/> arg-content, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_ReplaceContentOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.SetPseudoClassOperation',
arg-elementLocation, '.',
arg-name, '',
arg-includeAllNodes, 'no'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Sets the pseudo class for an element.</p><br/>Arguments: <ul><li><b>elementLocation</b> = An XPath expression indicating the element or elements whose pseudo-class will be changed.
Note: If this is not defined then the element at the caret position will be used.</li><li><b>name</b> = The pseudo-class name.</li><li><b>includeAllNodes</b> = The value should be "yes" in order to include comments, text and CDATA nodes in the XPath execution, "no" to ignore them.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.SetPseudoClassOperation',<br/> arg-elementLocation, '.',<br/> arg-name, '',<br/> arg-includeAllNodes, 'no'</p></body></html></String>
</field>
<field name="renderString">
<String>op_SetPseudoClassOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.SetReadOnlyStatusOperation',
arg-read-only, 'true',
arg-reason, '',
arg-reason-code, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Changes the document read-only status.</p><br/>Arguments: <ul><li><b>read-only</b> = Sets the read-only status of the current document.Can be:
- true: for making the document read-only
- false: for making the document writable
Default value is true.</li><li><b>reason</b> = The reason for the document being read-only. It will be displayed when the user tries to edit the document.
If not specified, a default message will be displayed to the user.</li><li><b>reason-code</b> = The code for the reason for the document being read-only. It will be accessible through API. Optional.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.SetReadOnlyStatusOperation',<br/> arg-read-only, 'true',<br/> arg-reason, '',<br/> arg-reason-code, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_SetReadOnlyStatusOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ShowElementDocumentationOperation',
arg-URL pattern, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Shows the current element documentation in reference manual.</p><br/>Arguments: <ul><li><b>URL pattern</b> = The URL pattern of elements documentation.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ShowElementDocumentationOperation',<br/> arg-URL pattern, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_ShowElementDocumentationOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOperation',
arg-fragment, '<element/>',
arg-schemaAware, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Surround the selected text with a document fragment. If there is no selection the fragment will be inserted at the current position.</p><br/>Arguments: <ul><li><b>fragment</b> = The fragment to surround with. The first leaf will be the destination of the text to surround.</li><li><b>schemaAware</b> = Controlling if the insertion is schema aware or not. When the schema aware is enabled and the fragments insertion is not allowed a dialog will be shown, proposing solutions, like:
- insert the fragments inside a new element. The name of the element to wrap the fragments in is computed by analyzing the left or right siblings;
- split an ancestor of the node at insertion offset and insert the fragments between the resulted elements;
- insert the fragments somewhere in the proximity of the insertion offset(left or right without skipping content);
Note: if a selection exists the surround with fragment operation is not schema aware.
Can be: true, false. Default value is true.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOperation',<br/> arg-fragment, '<element/>',<br/> arg-schemaAware, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_SurroundWithFragmentOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.SurroundWithTextOperation',
arg-header, '',
arg-footer, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Surround a selection with text. Places a header at the start of the selection and a footer at the end.If no selection exists, the word at caret will be surrounded.</p><br/>Arguments: <ul><li><b>header</b> = The text to append before</li><li><b>footer</b> = The text to append after</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.SurroundWithTextOperation',<br/> arg-header, '',<br/> arg-footer, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_SurroundWithTextOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.TogglePseudoClassOperation',
arg-elementLocation, '.',
arg-name, '',
arg-includeAllNodes, 'no'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Toggles on/off the pseudo-class of an element.</p><br/>Arguments: <ul><li><b>elementLocation</b> = An XPath expression indicating the element or elements whose pseudo-class will be changed.
Note: If this is not defined then the element at the caret position will be used.</li><li><b>name</b> = The pseudo-class name.</li><li><b>includeAllNodes</b> = The value should be "yes" in order to include comments, text and CDATA nodes in the XPath execution, "no" to ignore them.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.TogglePseudoClassOperation',<br/> arg-elementLocation, '.',<br/> arg-name, '',<br/> arg-includeAllNodes, 'no'</p></body></html></String>
</field>
<field name="renderString">
<String>op_TogglePseudoClassOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.ToggleSurroundWithElementOperation',
arg-element, '<element/>',
arg-schemaAware, 'true'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Toggle "surround with element" operation.
If there is no selection in the document and the caret is inside a word,
the word is wrapped in the given element (or unwrapped if it is already
included in the element), else the fragment is inserted at caret position.
If there is a selection in the document, it is wrapped in the given element
(or unwrapped if it is already included in the element).
</p><br/>Arguments: <ul><li><b>element</b> = The element to surround with.</li><li><b>schemaAware</b> = This argument applies only on the surround with element operation and controls if the insertion is schema aware or not. When schema aware is enabled and the element insertion is not allowed, a dialog will be shown proposing insertion solutions, like:
- splitting an ancestor of the node at insertion offset and inserting the element between the resulted elements;
- inserting the element somewhere in the proximity of the insertion offset (left or right without skipping content);
- inserting the element at insertion offset, even it is not allowed.
Note: if a selection exists the surround with element operation is not schema aware.
Possible values are: true, false. Default value is true.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.ToggleSurroundWithElementOperation',<br/> arg-element, '<element/>',<br/> arg-schemaAware, 'true'</p></body></html></String>
</field>
<field name="renderString">
<String>op_ToggleSurroundWithElementOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.UnwrapTagsOperation',
arg-unwrapElementLocation, '.'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Unwrap element tags.</p><br/>Arguments: <ul><li><b>unwrapElementLocation</b> = An XPath expression indicating the element to unwrap.
Note: If it is not defined then the element at the caret is unwrapped.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.UnwrapTagsOperation',<br/> arg-unwrapElementLocation, '.'</p></body></html></String>
</field>
<field name="renderString">
<String>op_UnwrapTagsOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.WebappMarkAsSavedOperation'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Marks the Web Author document as saved.</p><br/>Arguments: <p style="margin-left:10px;">This operation has no arguments.</p> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.WebappMarkAsSavedOperation'</p></body></html></String>
</field>
<field name="renderString">
<String>op_WebappMarkAsSavedOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.XQueryOperation',
arg-sourceLocation, '.',
arg-targetLocation, '.',
arg-script, '',
arg-action, 'Replace',
arg-caretPosition, 'First editable position',
arg-expandEditorVariables, 'true',
arg-suspendTrackChanges, 'false',
arg-externalParams, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run an XQuery script on a source element and then replace or insert the result in a target element.</p><br/>Arguments: <ul><li><b>sourceLocation</b> = An XPath expression indicating the element that the script will be applied on.
Note: If it is not defined then the element at the caret position will be used.</li><li><b>targetLocation</b> = An XPath expression indicating the insert location for the result of the transformation.
Note: If it is not defined then the insert location will be at the caret.</li><li><b>script</b> = A path to the script or the script itself.
When using a path the following apply:
- a relative path is resolved to the framework directory.
- the ${framework} editor variable can also be used to refer resources from the framework directory.
- the path is passed through the catalog mappings.
If you provide the actual script, the base system ID for this will be the framework file, so any include/import reference will be resolved relative to the ".framework" file that contains this action definition</li><li><b>action</b> = The insert action relative to the node determined by the target XPath expression.
It can be: Replace, At caret position, Before, After, Inside as first child or Inside as last child.
</li><li><b>caretPosition</b> = The position of the caret after the action is executed.
It can be: Preserve, Before, Start, First editable position, End or After.
</li><li><b>expandEditorVariables</b> = Parameter controlling the expansion of editor variables returned by the script processing.
Expansion is enabled by default.</li><li><b>suspendTrackChanges</b> = Disable Track Changes during the operation's execution.
By default the state of track changes is not altered.</li><li><b>externalParams</b> = Provide external parameters to the script.
Should be inserted as name=value pairs separated by comma or line break.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.XQueryOperation',<br/> arg-sourceLocation, '.',<br/> arg-targetLocation, '.',<br/> arg-script, '',<br/> arg-action, 'Replace',<br/> arg-caretPosition, 'First editable position',<br/> arg-expandEditorVariables, 'true',<br/> arg-suspendTrackChanges, 'false',<br/> arg-externalParams, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_XQueryOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.XQueryUpdateOperation',
arg-script, '',
arg-externalParams, '',
arg-expandXincludeReferences, 'false'</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Executes an XQuery Update script.</p><br/>Arguments: <ul><li><b>script</b> = A path to the script or the script itself.
When using a path the following apply:
- a relative path is resolved to the framework directory.
- the ${framework} editor variable can also be used to refer resources from the framework directory.
- the path is passed through the catalog mappings.
If you provide the actual script, the base system ID for this will be the framework file, so any include/import reference will be resolved relative to the ".framework" file that contains this action definition</li><li><b>externalParams</b> = Provide external parameters to the xquery script.
Should be inserted as name=value pairs separated by comma or line break.</li><li><b>expandXincludeReferences</b> = Add the elements referred through XInclude to the document model.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.XQueryUpdateOperation',<br/> arg-script, '',<br/> arg-externalParams, '',<br/> arg-expandXincludeReferences, 'false'</p></body></html></String>
</field>
<field name="renderString">
<String>op_XQueryUpdateOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>operation, 'ro.sync.ecss.extensions.commons.operations.XSLTOperation',
arg-sourceLocation, '.',
arg-targetLocation, '.',
arg-script, '',
arg-action, 'Replace',
arg-caretPosition, 'First editable position',
arg-expandEditorVariables, 'true',
arg-suspendTrackChanges, 'false',
arg-externalParams, ''</String>
</field>
<field name="descriptionString">
<String><html><head></head><body>Description:<p style="margin-left:10px;">Run an XSLT script on a source element and then replace or insert the result in a target element.</p><br/>Arguments: <ul><li><b>sourceLocation</b> = An XPath expression indicating the element that the script will be applied on.
Note: If it is not defined then the element at the caret position will be used.</li><li><b>targetLocation</b> = An XPath expression indicating the insert location for the result of the transformation.
Note: If it is not defined then the insert location will be at the caret.</li><li><b>script</b> = A path to the script or the script itself.
When using a path the following apply:
- a relative path is resolved to the framework directory.
- the ${framework} editor variable can also be used to refer resources from the framework directory.
- the path is passed through the catalog mappings.
If you provide the actual script, the base system ID for this will be the framework file, so any include/import reference will be resolved relative to the ".framework" file that contains this action definition</li><li><b>action</b> = The insert action relative to the node determined by the target XPath expression.
It can be: Replace, At caret position, Before, After, Inside as first child or Inside as last child.
</li><li><b>caretPosition</b> = The position of the caret after the action is executed.
It can be: Preserve, Before, Start, First editable position, End or After.
</li><li><b>expandEditorVariables</b> = Parameter controlling the expansion of editor variables returned by the script processing.
Expansion is enabled by default.</li><li><b>suspendTrackChanges</b> = Disable Track Changes during the operation's execution.
By default the state of track changes is not altered.</li><li><b>externalParams</b> = Provide external parameters to the script.
Should be inserted as name=value pairs separated by comma or line break.</li></ul> <br/> Template: <br/><p style="margin-left:10px;">operation, 'ro.sync.ecss.extensions.commons.operations.XSLTOperation',<br/> arg-sourceLocation, '.',<br/> arg-targetLocation, '.',<br/> arg-script, '',<br/> arg-action, 'Replace',<br/> arg-caretPosition, 'First editable position',<br/> arg-expandEditorVariables, 'true',<br/> arg-suspendTrackChanges, 'false',<br/> arg-externalParams, ''</p></body></html></String>
</field>
<field name="renderString">
<String>op_XSLTOperation</String>
</field>
<field name="enabled">
<Boolean>true</Boolean>
</field>
<field name="accelerator">
<null/>
</field>
</codeTemplateItem>
<codeTemplateItem>
<field name="contentType">
<String>text/css</String>
</field>
<field name="unparsedInsertString">
<String>oxy_action(
name, '${caret}Insert',
description, 'Insert an element after the current one',
operation, 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
icon, url('insert.png'),
arg-fragment, '<element></element>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
)
</String>
</field>
<field name="descriptionString">
<String>An action with common parameters.</String>
</field>
<field name="renderString">