:feat: refine paragraph/run properties options

This commit is contained in:
wangfengming
2020-07-11 17:01:32 +08:00
parent 40dc90e585
commit 437e83ab78
20 changed files with 360 additions and 683 deletions

View File

@ -548,6 +548,7 @@ describe("ParagraphStyle", () => {
id: "myStyleId",
run: {
bold: true,
boldComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -566,6 +567,7 @@ describe("ParagraphStyle", () => {
id: "myStyleId",
run: {
italics: true,
italicsComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -584,6 +586,7 @@ describe("ParagraphStyle", () => {
id: "myStyleId",
run: {
highlight: "005599",
highlightComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -606,6 +609,7 @@ describe("ParagraphStyle", () => {
fill: "00FFFF",
color: "FF0000",
},
shadingComplexScript: false,
},
});
const tree = new Formatter().format(style);