: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

@ -582,6 +582,7 @@ describe("CharacterStyle", () => {
id: "myStyleId",
run: {
bold: true,
boldComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -610,6 +611,7 @@ describe("CharacterStyle", () => {
id: "myStyleId",
run: {
italics: true,
italicsComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -678,6 +680,7 @@ describe("CharacterStyle", () => {
id: "myStyleId",
run: {
highlight: "005599",
highlightComplexScript: false,
},
});
const tree = new Formatter().format(style);
@ -710,6 +713,7 @@ describe("CharacterStyle", () => {
fill: "00FFFF",
color: "FF0000",
},
shadingComplexScript: false,
},
});
const tree = new Formatter().format(style);