73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
xTypo.appendChild(this._createLigaturesSelection());
let xMisc = this._createFieldset("group_misc", true, "Divers");
xMisc.appendChild(this._createOrdinalOptions());
xMisc.appendChild(this._createBlockOption("o_etc", true, "Et cætera, etc."));
xMisc.appendChild(this._createBlockOption("o_missing_hyphens", true, "Traits d’union manquants"));
xMisc.appendChild(this._createBlockOption("o_ma_word", true, "Apostrophes manquantes"));
xMisc.appendChild(this._createSingleLetterOptions());
let xStruct = this._createFieldset("group_struct", false, "Restructuration [!]");
xStruct.appendChild(this._createBlockOption("o_remove_hyphens_at_end_of_paragraphs", false, "Enlever césures en fin de ligne/paragraphe [!]"));
xStruct.appendChild(this._createBlockOption("o_merge_contiguous_paragraphs", false, "Fusionner les paragraphes contigus [!]"));
xColumn1.appendChild(xSSP);
xColumn1.appendChild(xSpace);
xColumn1.appendChild(xNBSP);
xColumn1.appendChild(xDelete);
xColumn2.appendChild(xTypo);
xColumn2.appendChild(xMisc);
xColumn2.appendChild(xStruct);
xOptions.appendChild(xColumn1);
xOptions.appendChild(xColumn2);
// Actions
let xActions = oGrammalecte.createNode("div", {id: "grammalecte_tf_actions"});
let xDefaultButton = oGrammalecte.createNode("div", {id: "grammalecte_tf_reset", textContent: "Par défaut", className: "grammalecte_tf_button"});
xDefaultButton.addEventListener("click", () => { this.reset(); });
let xApplyButton = oGrammalecte.createNode("div", {id: "grammalecte_tf_apply", textContent: "Appliquer", className: "grammalecte_tf_button"});
|
<
<
<
>
>
>
>
|
>
|
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
|
xTypo.appendChild(this._createLigaturesSelection());
let xMisc = this._createFieldset("group_misc", true, "Divers");
xMisc.appendChild(this._createOrdinalOptions());
xMisc.appendChild(this._createBlockOption("o_etc", true, "Et cætera, etc."));
xMisc.appendChild(this._createBlockOption("o_missing_hyphens", true, "Traits d’union manquants"));
xMisc.appendChild(this._createBlockOption("o_ma_word", true, "Apostrophes manquantes"));
xMisc.appendChild(this._createSingleLetterOptions());
xColumn1.appendChild(xSSP);
xColumn1.appendChild(xSpace);
xColumn1.appendChild(xNBSP);
xColumn1.appendChild(xDelete);
xColumn2.appendChild(xTypo);
xColumn2.appendChild(xMisc);
if (!bThunderbird) {
let xStruct = this._createFieldset("group_struct", false, "Restructuration [!]");
xStruct.appendChild(this._createBlockOption("o_remove_hyphens_at_end_of_paragraphs", false, "Enlever césures en fin de ligne/paragraphe [!]"));
xStruct.appendChild(this._createBlockOption("o_merge_contiguous_paragraphs", false, "Fusionner les paragraphes contigus [!]"));
xColumn2.appendChild(xStruct);
}
xOptions.appendChild(xColumn1);
xOptions.appendChild(xColumn2);
// Actions
let xActions = oGrammalecte.createNode("div", {id: "grammalecte_tf_actions"});
let xDefaultButton = oGrammalecte.createNode("div", {id: "grammalecte_tf_reset", textContent: "Par défaut", className: "grammalecte_tf_button"});
xDefaultButton.addEventListener("click", () => { this.reset(); });
let xApplyButton = oGrammalecte.createNode("div", {id: "grammalecte_tf_apply", textContent: "Appliquer", className: "grammalecte_tf_button"});
|