1 | } else if (info.isHeading2()) {↵ | | 1 | } else if (info.isHeading2()) {↵
|
2 | selectInParagraphComboBox(HTML.Tag.H2);↵ | | 2 | selectMenuItem(HTML.Tag.H2);↵
|
3 | } else if (info.isHeading3()) {↵ | | 3 | } else if (info.isHeading3()) {↵
|
4 | selectInParagraphComboBox(HTML.Tag.H3);↵ | | 4 | selectMenuItem(HTML.Tag.H3);↵
|
5 | } else if (info.isPreformattet()) {↵ | | 5 | } else if (info.isPreformattet()) {↵
|
6 | selectInParagraphComboBox(HTML.Tag.PRE);↵ | | 6 | selectMenuItem(HTML.Tag.PRE);↵
|
7 | } else if (info.isAddress()) {↵ | | 7 | } else if (info.isAddress()) {↵
|
8 | selectInParagraphComboBox(HTML.Tag.ADDRESS);↵ | | 8 | selectMenuItem(HTML.Tag.ADDRESS);↵
|
9 | } else {↵ | | 9 | } else {↵
|
10 | // select the "Normal" entry as default↵ | | 10 | // select the "Normal" entry as default↵
|
11 | selectInParagraphComboBox(HTML.Tag.P);↵ | | 11 | selectMenuItem(HTML.Tag.P);↵
|
12 | | | 12 |
|