Hi Team,
We need to get the Left Indentation value of Bullet lists (or Numbering Lists) which are in different levels as shown:
• Bullet-1
• Bullet-2
1. Numbering-1
2. Numbering-2
1. Level-1a
1.1. Level-2a
1.1.1. Level-3a
1.1.2. Level-3b
1.2. Level-2b
2. Level-1b
We tried below options to read the Left Indent values, but it gives 36.0 always as result.
System.out.println(p.getStyle().getParagraphFormat().getLeftIndent()); // 36.0
System.out.println(p.getFormat().getLeftIndent()); // 36.0
Note: Please find the attached docx to see the actual indentation appearance.
Please help.