Skip to content

Commit

Permalink
[ve] Add paragraph indentation left handle
Browse files Browse the repository at this point in the history
  • Loading branch information
fedek1324 committed Feb 13, 2025
1 parent cb5c4ab commit 258e361
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions visio/model/ooxmlApi/convertFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@
bulletFont = "Wingdings";
}

let indentationLeftCell = paragraphPropsFinal && paragraphPropsFinal.getCell("IndLeft");
let indentationLeft = indentationLeftCell.getNumberValue() * AscCommonWord.g_dKoef_in_to_mm;



// create new paragraph to hold new properties
Expand Down Expand Up @@ -461,6 +464,8 @@
// Bullet.bulletType.type = AscFormat.BULLET_TYPE_BULLET_AUTONUM;
// paragraph.Add_PresentationNumbering(Bullet);

paragraph.Pr.Ind.Left = indentationLeft;

oContent.Content.push(paragraph);
paragraph.SetParent(oContent);

Expand Down

0 comments on commit 258e361

Please sign in to comment.