pjfanning commented on code in PR #843: URL: https://github.com/apache/poi/pull/843#discussion_r2205182301
########## poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTable.java: ########## @@ -306,6 +306,80 @@ public int getNumberOfRows() { return ctTbl.sizeOfTrArray(); } + /** + * Get the indentation value in 20ths of a point (twips). + * + * <p>This element specifies the indentation which shall be added before the leading edge of + * the current table in the document (the left edge in a left-to-right table, and the right + * edge in a right-to-left table).</p> + * <p>If the table alignment is not left/start, this property shall be ignored.</p> + * + * @see boolean isSetIndent() + * @return indentation value as an integer (20ths of a point) + */ + public int getIndent() { + CTTblPr tblPr = getTblPr(); Review Comment: getTblPr(false) -- we don't want to modify the data for a get call -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org