[update] 封面最后一行前面的换行去掉,解决有的文件下载后封面会有两页的问题
This commit is contained in:
@@ -472,7 +472,7 @@ export default {
|
||||
const oDrawing2 = Api.CreateShape('rect', 6110900, 18000, oFill2, oStroke2)
|
||||
oDrawing2.SetWrappingStyle('inline')
|
||||
oParagraphLine2.AddDrawing(oDrawing2)
|
||||
oParagraphLine2.AddLineBreak()
|
||||
// oParagraphLine2.AddLineBreak()
|
||||
oParagraphLine2.SetSpacingLine(240, 'auto')
|
||||
oDocument.InsertContent([oParagraphLine2])
|
||||
const oParagraph10 = Api.CreateParagraph()
|
||||
@@ -483,6 +483,7 @@ export default {
|
||||
oParagraph10.SetJc('center')
|
||||
oParagraph10.SetBold(false)
|
||||
oParagraph10.SetPosition(0)
|
||||
oParagraph10.SetSpacingBefore(70)
|
||||
oParagraph10.SetSpacingLine(240, 'auto')
|
||||
oDocument.InsertContent([oParagraph10])
|
||||
oParagraph10.Search('发布')[0].SetSpacing(3)
|
||||
|
||||
Reference in New Issue
Block a user