fix 81846

This commit is contained in:
赵霄
2024-02-19 16:49:48 +08:00
parent 43140b106f
commit 4134283ed2
+2 -1
View File
@@ -2169,6 +2169,7 @@ export default {
const oDrawing = Api.CreateShape('rect', 6110900, 9000, oFill, oStroke)
oDrawing.SetWrappingStyle('inline')
oParagraphLine.AddDrawing(oDrawing)
oParagraphLine.SetSpacingLine(240, 'auto')
oDrawing.SetDistances(0, 541, 0, 0)
oParagraphStandardName.InsertParagraph(oParagraphLine, 'after')
@@ -2176,7 +2177,7 @@ export default {
const oParagraphBox = Api.CreateParagraph()
oParagraphBox.SetSpacingBefore(400)
const oStrokeBox = Api.CreateStroke(0, Api.CreateSolidFill(Api.CreateRGBColor(255, 0, 13)))
const oDrawingBox = Api.CreateShape('rect', 6110900, 6130900, null, oStrokeBox)
const oDrawingBox = Api.CreateShape('rect', 6110900, 6110900, null, oStrokeBox)
oDrawingBox.SetVerticalTextAlign('top')
oParagraphBox.AddDrawing(oDrawingBox)
oParagraphLine.InsertParagraph(oParagraphBox, 'after')