From d55a23801cfdbcb5d6c02167bfc93b9e307f8a29 Mon Sep 17 00:00:00 2001 From: Fedor Kobyakov Date: Thu, 7 Aug 2025 17:33:29 +0300 Subject: [PATCH] [ve] Add first line indentation handle; For bug 73676 --- visio/model/ooxmlApi/convertFunctions.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/visio/model/ooxmlApi/convertFunctions.js b/visio/model/ooxmlApi/convertFunctions.js index ca2d8351f3..f85d26565f 100644 --- a/visio/model/ooxmlApi/convertFunctions.js +++ b/visio/model/ooxmlApi/convertFunctions.js @@ -1466,6 +1466,12 @@ indentationLeft = indentationLeftCell.getNumberValue() * AscCommonWord.g_dKoef_in_to_mm; } + // handle first line indentation + let indentationFirstLineCell = paragraphPropsFinal && paragraphPropsFinal.getCell("IndFirst"); + let indentationFirstLine; + if (indentationLeftCell) { + indentationFirstLine = indentationFirstLineCell.getNumberValue() * AscCommonWord.g_dKoef_in_to_mm; + } // create new paragraph to hold new properties @@ -1508,6 +1514,7 @@ // paragraph.Add_PresentationNumbering(Bullet); paragraph.Pr.Ind.Left = indentationLeft; + paragraph.Pr.Ind.FirstLine = indentationFirstLine; oContent.Content.push(paragraph); paragraph.SetParent(oContent);