You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2018/02/02 10:35:48 UTC
svn commit: r1822937 -
/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java
Author: centic
Date: Fri Feb 2 10:35:48 2018
New Revision: 1822937
URL: http://svn.apache.org/viewvc?rev=1822937&view=rev
Log:
Fix small typo, closes PR #97 on Github.
Modified:
poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java
Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java?rev=1822937&r1=1822936&r2=1822937&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java Fri Feb 2 10:35:48 2018
@@ -118,7 +118,7 @@ public class XSSFCellStyle implements Ce
*/
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?");
}
}
@@ -210,7 +210,7 @@ public class XSSFCellStyle implements Ce
_cellXf.setFillId(idx);
_cellXf.setApplyFill(true);
}
-
+
private void addBorder(CTBorder border) {
int idx = _stylesSource.putBorder(new XSSFCellBorder(border, _theme,_stylesSource.getIndexedColors()));
@@ -559,7 +559,7 @@ public class XSSFCellStyle implements Ce
public boolean getQuotePrefixed() {
return _cellXf.getQuotePrefix();
}
-
+
/**
* Get the color to use for the right border
*
@@ -922,7 +922,7 @@ public class XSSFCellStyle implements Ce
}
return ct;
}
-
+
/**
* Set reading order for the cell
*
@@ -1064,7 +1064,7 @@ public class XSSFCellStyle implements Ce
}
_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
@@ -1119,8 +1119,8 @@ public class XSSFCellStyle implements Ce
* <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.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org