Calculate pretty dimensionsSource:
return minimum estimated widths and heights for each table columns and rows in inches.
partname of the table (one of 'all', 'body', 'header' or 'footer')
unit for returned values, one of "in", "cm", "mm".
specifies how cells that are horizontally are included in the calculation. It must be one of the following values "none", "divided" or "included". If "none", widths of horizontally spanned cells is set to 0 (then do not affect the widths); if "divided", widths of horizontally spanned cells is divided by the number of spanned cells; if "included", all widths (included horizontally spanned cells) will be used in the calculation.