From f331d08c228538a48c1aa9f00f63af2f1daee91d Mon Sep 17 00:00:00 2001
From: PJ Fanning
* Please note, that this method works correctly only for workbooks
* with the default font size (Calibri 11pt for .xlsx).
- * If the default font is changed the resized image can be streched vertically or horizontally.
+ * If the default font is changed the resized image can be stretched vertically or horizontally.
*
* Please note, that this method works correctly only for workbooks
* with the default font size (Calibri 11pt for .xlsx).
- * If the default font is changed the resized image can be streched vertically or horizontally.
+ * If the default font is changed the resized image can be stretched vertically or horizontally.
* SXSSFRow
*
* 0 if the row number of this this SXSSFRow is
+ * a value less than 0 if the row number of this SXSSFRow is
* numerically less than the row number of the argument SXSSFRow
* 0 if the row number of this this SXSSFRow is
+ * a value greater than 0 if the row number of this SXSSFRow is
* numerically greater than the row number of the argument SXSSFRow
*
* Creating an even header or footer sets this property by default, so all you need to do to * get an even header or footer to display is to create one. Likewise, if both the even header - * and footer are usnset, then this property is unset, and the odd header and footer are used + * and footer are unset, then this property is unset, and the odd header and footer are used * for even pages. *
*/ diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFEvenHeader.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFEvenHeader.java index 45600cfc9d..87edf9136e 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFEvenHeader.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFEvenHeader.java @@ -33,7 +33,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter; ** Creating an even header or footer sets this property by default, so all you need to do to * get an even header or footer to display is to create it. Likewise, if both the even header - * and footer are usnset, then this property is unset, and the odd header and footer are used + * and footer are unset, then this property is unset, and the odd header and footer are used * for even pages. *
*/ diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstFooter.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstFooter.java index 6902066b6f..8ef41646c6 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstFooter.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstFooter.java @@ -32,7 +32,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter; ** Creating a first page header or footer sets this property by default, so all you need to do to * get an first page header or footer to display is to create one. Likewise, if both the first page - * header and footer are usnset, then this property is unset, and the first page header and footer + * header and footer are unset, then this property is unset, and the first page header and footer * are ignored. *
*/ diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstHeader.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstHeader.java index a28a113523..0f964fa92c 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstHeader.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFirstHeader.java @@ -31,7 +31,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter; ** Creating a first page header or footer sets this property by default, so all you need to do to * get an first page header or footer to display is to create one. Likewise, if both the first page - * header and footer are usnset, then this property is unset, and the first page header and footer + * header and footer are unset, then this property is unset, and the first page header and footer * are ignored. */ public class XSSFFirstHeader extends XSSFHeaderFooter implements Header{ diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java index ec60fdfae3..7a4c01dc66 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java @@ -73,7 +73,7 @@ public class XSSFFontFormatting implements FontFormatting { } /** - * XMLBeans and the XSD make this look like it can have multiple values, but it is maxOccurrs=1. + * XMLBeans and the XSD make this look like it can have multiple values, but it is maxOccurs=1. * Use get*Array(), it is much faster than get*List(). * * @see org.apache.poi.ss.usermodel.FontFormatting#isStruckout() diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPicture.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPicture.java index 3980a7cb00..9a3c4056f3 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPicture.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPicture.java @@ -161,7 +161,7 @@ public final class XSSFPicture extends XSSFShape implements Picture { *
* Please note, that this method works correctly only for workbooks * with the default font size (Calibri 11pt for .xlsx). - * If the default font is changed the resized image can be streched vertically or horizontally. + * If the default font is changed the resized image can be stretched vertically or horizontally. *
* {@code resize(1.0,1.0)} keeps the original size,
*
* Note that {@code options} is an internal field.
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFPicture.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFPicture.java
index ccc8eef44e..d232c9bd2c 100644
--- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFPicture.java
+++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFPicture.java
@@ -91,7 +91,7 @@ public class HSSFPicture extends HSSFSimpleShape implements Picture {
*
* Please note, that this method works correctly only for workbooks
* with default font size (Arial 10pt for .xls).
- * If the default font is changed the resized image can be streched vertically or horizontally.
+ * If the default font is changed the resized image can be stretched vertically or horizontally.
*
* Please note, that this method works correctly only for workbooks
* with default font size (Arial 10pt for .xls).
- * If the default font is changed the resized image can be streched vertically or horizontally.
+ * If the default font is changed the resized image can be stretched vertically or horizontally.
*
*
*
* For example,
*
* For example,
* Please note, that this method works correctly only for workbooks
* with the default font size (Arial 10pt for .xls and Calibri 11pt for .xlsx).
- * If the default font is changed the resized image can be streched vertically or horizontally.
+ * If the default font is changed the resized image can be stretched vertically or horizontally.
*
*
* {@code resize(0.5,0.5)} resize to 50% of the original,
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java
index f7db5c755d..e96084e97a 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java
@@ -191,7 +191,7 @@ public class XSSFPivotTable extends POIXMLDocumentPart {
pivotTableDefinition.setIndent(0);
//The pivot version which created the pivot cache set to default value
pivotTableDefinition.setCreatedVersion(CREATED_VERSION);
- //Minimun version required to update the pivot cache
+ //Minimum version required to update the pivot cache
pivotTableDefinition.setMinRefreshableVersion(MIN_REFRESHABLE_VERSION);
//Version of the application which "updated the spreadsheet last"
pivotTableDefinition.setUpdatedVersion(UPDATED_VERSION);
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRow.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRow.java
index bceb6cddfa..5144729fa3 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRow.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFRow.java
@@ -144,11 +144,11 @@ public class XSSFRow implements Row, Comparableresize(1.0,1.0) keeps the original size,
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java
index a64840eed2..c0b7188409 100644
--- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java
+++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java
@@ -688,11 +688,11 @@ public final class HSSFRow implements Row, ComparableHSSFRow
*
* 0 if the row number of this this HSSFRow is
+ * a value less than 0 if the row number of this HSSFRow is
* numerically less than the row number of the argument HSSFRow
* 0 if the row number of this this HSSFRow is
+ * a value greater than 0 if the row number of this HSSFRow is
* numerically greater than the row number of the argument HSSFRow
* sheet.setColumnBreak(2); breaks the sheet into two parts
- * with columns A,B,C in the first and D,E,... in the second. Simuilar, sheet.setRowBreak(2);
+ * with columns A,B,C in the first and D,E,... in the second. Similar, sheet.setRowBreak(2);
* breaks the sheet into two parts with first three rows (rownum=1...3) in the first part
* and rows starting with rownum=4 in the second.
*
@@ -2047,7 +2047,7 @@ public final class HSSFSheet implements Sheet {
* Breaks occur above the specified row and left of the specified column inclusive.sheet.setColumnBreak(2); breaks the sheet into two parts
- * with columns A,B,C in the first and D,E,... in the second. Simuilar, {@code sheet.setRowBreak(2);}
+ * with columns A,B,C in the first and D,E,... in the second. Similar, {@code sheet.setRowBreak(2);}
* breaks the sheet into two parts with first three rows (rownum=1...3) in the first part
* and rows starting with rownum=4 in the second.
*
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
index aac44b1542..6c4c84b56e 100644
--- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
+++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
@@ -2309,7 +2309,7 @@ public final class HSSFWorkbook extends POIDocument implements Workbook {
}
/**
- * Returns the spreadsheet version (EXCLE97) of this workbook
+ * Returns the spreadsheet version (EXCEL97) of this workbook
*
* @return EXCEL97 SpreadsheetVersion enum
* @since 3.14 beta 2
diff --git a/poi/src/main/java/org/apache/poi/sl/draw/DrawPaint.java b/poi/src/main/java/org/apache/poi/sl/draw/DrawPaint.java
index aa2a27fb0a..ffff09db2f 100644
--- a/poi/src/main/java/org/apache/poi/sl/draw/DrawPaint.java
+++ b/poi/src/main/java/org/apache/poi/sl/draw/DrawPaint.java
@@ -264,7 +264,7 @@ public class DrawPaint {
ImageRenderer renderer = DrawPictureShape.getImageRenderer(graphics, contentType);
- // TODO: handle tile settings, currently the pattern is always streched 100% in height/width
+ // TODO: handle tile settings, currently the pattern is always stretched 100% in height/width
Rectangle2D textAnchor = shape.getAnchor();
try (InputStream is = fill.getImageData()) {
diff --git a/poi/src/main/java/org/apache/poi/ss/usermodel/Picture.java b/poi/src/main/java/org/apache/poi/ss/usermodel/Picture.java
index ac7d33dd21..4b0ffa08c8 100644
--- a/poi/src/main/java/org/apache/poi/ss/usermodel/Picture.java
+++ b/poi/src/main/java/org/apache/poi/ss/usermodel/Picture.java
@@ -43,7 +43,7 @@ public interface Picture extends Shape {
* resize(1.0,1.0) keeps the original size,