// If the user hasn't specified a width for this format then if the
// format is a grid, evenly space out the width of the columns,
// else assume it's 100%. (By default the width units will be percentages
// if a width hasn't been specified.)
if (formatWidth == null) {
FormatType type = format.getFormatType();
if (FormatType.GRID == type) {
int columns = format.getColumns();
formatWidthValue = 100 / columns;
} else {
formatWidthValue = 100;