Fix small typo, closes PR #97 on Github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16c68a4f01
commit
a487bee768
@ -118,7 +118,7 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
*/
|
*/
|
||||||
public void verifyBelongsToStylesSource(StylesTable src) {
|
public void verifyBelongsToStylesSource(StylesTable src) {
|
||||||
if(this._stylesSource != 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?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
_cellXf.setFillId(idx);
|
_cellXf.setFillId(idx);
|
||||||
_cellXf.setApplyFill(true);
|
_cellXf.setApplyFill(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addBorder(CTBorder border) {
|
private void addBorder(CTBorder border) {
|
||||||
int idx = _stylesSource.putBorder(new XSSFCellBorder(border, _theme,_stylesSource.getIndexedColors()));
|
int idx = _stylesSource.putBorder(new XSSFCellBorder(border, _theme,_stylesSource.getIndexedColors()));
|
||||||
|
|
||||||
@ -559,7 +559,7 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
public boolean getQuotePrefixed() {
|
public boolean getQuotePrefixed() {
|
||||||
return _cellXf.getQuotePrefix();
|
return _cellXf.getQuotePrefix();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the color to use for the right border
|
* Get the color to use for the right border
|
||||||
*
|
*
|
||||||
@ -922,7 +922,7 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
}
|
}
|
||||||
return ct;
|
return ct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set reading order for the cell
|
* Set reading order for the cell
|
||||||
*
|
*
|
||||||
@ -1064,7 +1064,7 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
}
|
}
|
||||||
_cellXf.getProtection().setLocked(locked);
|
_cellXf.getProtection().setLocked(locked);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Turn on or off "Quote Prefix" or "123 Prefix" for the style,
|
* Turn on or off "Quote Prefix" or "123 Prefix" for the style,
|
||||||
* which is used to tell Excel that the thing which looks like
|
* which is used to tell Excel that the thing which looks like
|
||||||
@ -1119,8 +1119,8 @@ public class XSSFCellStyle implements CellStyle {
|
|||||||
* <code>[degrees below horizon] = 90 - textRotation.</code>
|
* <code>[degrees below horizon] = 90 - textRotation.</code>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* Note: HSSF uses values from -90 to 90 degrees, whereas XSSF
|
* 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
|
* 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
|
* 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.
|
* of Excel file-format that this CellStyle is applied to.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user