fix 81432
This commit is contained in:
@@ -298,13 +298,12 @@ export default {
|
||||
paraPr.SetJc('left')
|
||||
paraPr.SetIndFirstLine(-150)
|
||||
const oParagraph1 = Api.CreateParagraph()
|
||||
oParagraph1.AddText(oParagraph.GetText())
|
||||
oParagraph1.SetIndLeft(574)
|
||||
oParagraph1.SetNumbering(oNumLvl)
|
||||
oParagraph1.SetSpacingAfter(32)
|
||||
oParagraph1.SetFontSize(18)
|
||||
oDocument.InsertContent([oParagraph1])
|
||||
let GetNext = oParagraph1.GetNext()
|
||||
GetNext.Delete()
|
||||
oParagraph.Delete()
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
@@ -422,8 +421,8 @@ export default {
|
||||
oParagraph.SetSpacingAfter(34, false)
|
||||
oParagraph.SetNumbering(oNumLvl)
|
||||
oDocument.InsertContent([oParagraph])
|
||||
let GetNext = oParagraph.GetNext()
|
||||
GetNext.Delete()
|
||||
// let GetNext = oParagraph.GetNext()
|
||||
// GetNext.Delete()
|
||||
// oParagraph.Delete()
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
|
||||
Reference in New Issue
Block a user