fix 保存后编号空格问题
This commit is contained in:
@@ -86,7 +86,7 @@ export default {
|
||||
const oDocument = Api.GetDocument()
|
||||
let oNumbering = oDocument.CreateNumbering('bullet')
|
||||
const oNumLvl = oNumbering.GetLevel(0)
|
||||
oNumLvl.SetSuff('tab')
|
||||
oNumLvl.SetSuff('none')
|
||||
const oParagraph = Api.CreateParagraph()
|
||||
var oParaPr = oNumLvl.GetParaPr()
|
||||
oParaPr.SetSpacingLine(280, 'auto')
|
||||
@@ -96,6 +96,7 @@ export default {
|
||||
oParagraph.SetFontSize(21)
|
||||
oParagraph.SetIndLeft(1270)
|
||||
oParagraph.SetHighlight(255, 255, 0)
|
||||
oParagraph.AddText(' ')
|
||||
oDocument.InsertContent([oParagraph])
|
||||
let text = oParagraph.GetText()
|
||||
if (text) {
|
||||
|
||||
Reference in New Issue
Block a user