Skip to content

Commit 65e3f50

Browse files
committed
Export to Word
1 parent 079dba1 commit 65e3f50

File tree

4 files changed

+504
-503
lines changed

4 files changed

+504
-503
lines changed
Lines changed: 56 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,56 @@
1-
package com.wontlost.ckeditor;
2-
3-
/**
4-
* Toolbar that applied to editor. Items like headin, pipe, blockQuote and etc can be used.
5-
* Editor can have one or more toolbar items.
6-
*/
7-
public enum Toolbar {
8-
9-
heading("heading"),
10-
pipe("|"),
11-
blockQuote("blockQuote"),
12-
bold("bold"),
13-
italic("italic"),
14-
ckfinder("ckfinder"),
15-
imageUpload("imageUpload"),
16-
indent("indent"),
17-
outdent("outdent"),
18-
link("link"),
19-
numberedList("numberedList"),
20-
bulletedList("bulletedList"),
21-
mediaEmbed("mediaEmbed"),
22-
undo("undo"),
23-
redo("redo"),
24-
underline("underline"),
25-
strikethrough("strikethrough"),
26-
code("code"),
27-
subscript("subscript"),
28-
superscript("superscript"),
29-
removeFormat("removeFormat"),
30-
horizontalLine("horizontalLine"),
31-
pageBreak("pageBreak"),
32-
specialCharacters("specialCharacters"),
33-
alignment("alignment"),
34-
codeBlock("codeBlock"),
35-
highlight("highlight"),
36-
fontSize("fontSize"),
37-
fontFamily("fontFamily"),
38-
fontColor("fontColor"),
39-
fontBackgroundColor("fontBackgroundColor"),
40-
restrictedEditingException("restrictedEditingException"),
41-
todoList("todoList"),
42-
exportPdf("exportPdf"),
43-
insertTable("insertTable");
44-
45-
private final String value;
46-
47-
Toolbar(String value) {
48-
this.value = value;
49-
}
50-
51-
public String getValue(){
52-
return this.value;
53-
}
54-
55-
}
1+
package com.wontlost.ckeditor;
2+
3+
/**
4+
* Toolbar that applied to editor. Items like headin, pipe, blockQuote and etc can be used.
5+
* Editor can have one or more toolbar items.
6+
*/
7+
public enum Toolbar {
8+
9+
heading("heading"),
10+
pipe("|"),
11+
blockQuote("blockQuote"),
12+
bold("bold"),
13+
italic("italic"),
14+
ckfinder("ckfinder"),
15+
imageUpload("imageUpload"),
16+
indent("indent"),
17+
outdent("outdent"),
18+
link("link"),
19+
numberedList("numberedList"),
20+
bulletedList("bulletedList"),
21+
mediaEmbed("mediaEmbed"),
22+
undo("undo"),
23+
redo("redo"),
24+
underline("underline"),
25+
strikethrough("strikethrough"),
26+
code("code"),
27+
subscript("subscript"),
28+
superscript("superscript"),
29+
removeFormat("removeFormat"),
30+
horizontalLine("horizontalLine"),
31+
pageBreak("pageBreak"),
32+
specialCharacters("specialCharacters"),
33+
alignment("alignment"),
34+
codeBlock("codeBlock"),
35+
highlight("highlight"),
36+
fontSize("fontSize"),
37+
fontFamily("fontFamily"),
38+
fontColor("fontColor"),
39+
fontBackgroundColor("fontBackgroundColor"),
40+
restrictedEditingException("restrictedEditingException"),
41+
todoList("todoList"),
42+
exportPdf("exportPdf"),
43+
exportWord("exportWord"),
44+
insertTable("insertTable");
45+
46+
private final String value;
47+
48+
Toolbar(String value) {
49+
this.value = value;
50+
}
51+
52+
public String getValue(){
53+
return this.value;
54+
}
55+
56+
}

0 commit comments

Comments
 (0)