*/
public void verifyBelongsToStylesSource(StylesTable src) {
if(this._stylesSource != src) {
- throw new IllegalArgumentException("This Style does not belong to the supplied Workbook Stlyes Source. Are you trying to assign a style from one workbook to the cell of a differnt workbook?");
+ throw new IllegalArgumentException("This Style does not belong to the supplied Workbook Styles Source. Are you trying to assign a style from one workbook to the cell of a differnt workbook?");
}
}
_cellXf.setFillId(idx);
_cellXf.setApplyFill(true);
}
-
+
private void addBorder(CTBorder border) {
int idx = _stylesSource.putBorder(new XSSFCellBorder(border, _theme,_stylesSource.getIndexedColors()));
public boolean getQuotePrefixed() {
return _cellXf.getQuotePrefix();
}
-
+
/**
* Get the color to use for the right border
*
}
return ct;
}
-
+
/**
* Set reading order for the cell
*
}
_cellXf.getProtection().setLocked(locked);
}
-
+
/**
* Turn on or off "Quote Prefix" or "123 Prefix" for the style,
* which is used to tell Excel that the thing which looks like
* <code>[degrees below horizon] = 90 - textRotation.</code>
* </p>
*
- * Note: HSSF uses values from -90 to 90 degrees, whereas XSSF
- * uses values from 0 to 180 degrees. The implementations of this method will map between these two value-ranges
+ * Note: HSSF uses values from -90 to 90 degrees, whereas XSSF
+ * uses values from 0 to 180 degrees. The implementations of this method will map between these two value-ranges
* accordingly, however the corresponding getter is returning values in the range mandated by the current type
* of Excel file-format that this CellStyle is applied to.
*