fix 列项修改为宋体,段前段后0个字符
This commit is contained in:
@@ -169,16 +169,15 @@
|
||||
const oParagraph = Api.CreateParagraph()
|
||||
// oParagraph.SetSpacingLine(400, "auto");
|
||||
let oTextPr = numbering.GetTextPr();
|
||||
oTextPr.SetFontFamily("黑体");
|
||||
oTextPr.SetFontFamily("宋体");
|
||||
var oParaPr = numbering.GetParaPr();
|
||||
oParaPr.SetSpacingLine(290, "auto");
|
||||
oParaPr.SetSpacingLine(240, "auto");
|
||||
oParaPr.SetJc("tab");
|
||||
oParaPr.SetIndFirstLine(-420);
|
||||
// oParaPr.SetIndFirstLine(0);
|
||||
oParagraph.SetNumbering(numbering)
|
||||
oParagraph.SetContextualSpacing(true)
|
||||
oParagraph.SetFontFamily('宋体')
|
||||
oParagraph.SetSpacingBefore(1)
|
||||
oParagraph.SetIndLeft(840);
|
||||
oParagraph.SetFontSize(21)
|
||||
oParagraph.SetHighlight(255, 255, 0);
|
||||
@@ -233,17 +232,16 @@
|
||||
}
|
||||
}
|
||||
let oTextPr = numbering.GetTextPr();
|
||||
oTextPr.SetFontFamily("黑体");
|
||||
oTextPr.SetFontFamily("宋体");
|
||||
const oParaPr = numbering.GetParaPr();
|
||||
// oParaPr.SetIndLeft(1310)
|
||||
oParaPr.SetJc("left");
|
||||
oParaPr.SetSpacingLine(290, "auto");
|
||||
oParaPr.SetSpacingLine(240, "auto");
|
||||
oParaPr.SetIndFirstLine(-420);
|
||||
const oParagraph = Api.CreateParagraph()
|
||||
oParagraph.SetNumbering(numbering)
|
||||
oParagraph.SetContextualSpacing(true)
|
||||
oParagraph.SetFontFamily('宋体')
|
||||
oParagraph.SetSpacingBefore(2)
|
||||
oParagraph.SetFontSize(21)
|
||||
oParagraph.SetIndLeft(1260);
|
||||
oParagraph.SetHighlight(255, 255, 0);
|
||||
|
||||
Reference in New Issue
Block a user