fix 封面字间距
This commit is contained in:
@@ -282,7 +282,7 @@ export default {
|
||||
const oParagraph2 = Api.CreateParagraph()
|
||||
oParagraph2.AddText('中国重型汽车集团有限公司企业标准')
|
||||
oParagraph2.SetFontSize(48)
|
||||
oParagraph2.SetSpacing(1.4)
|
||||
oParagraph2.SetSpacing(0.8)
|
||||
oParagraph2.SetFontFamily('黑体')
|
||||
oParagraph2.SetJc('center')
|
||||
oParagraph2.SetBold(false)
|
||||
@@ -1792,6 +1792,7 @@ export default {
|
||||
if (list && list.length > 0) {
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
list[i].SetFontFamily('宋体')
|
||||
console.log('更新目录样式')
|
||||
list[i].SetFontSize(21)
|
||||
list[i].SetBold(false)
|
||||
if (list[i].GetText().indexOf('前 言') !== -1 || list[i].GetText().indexOf('前言') !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user