summaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-06-27 19:37:48 +0000
committerPJ Fanning <fanningpj@apache.org>2023-06-27 19:37:48 +0000
commitf331d08c228538a48c1aa9f00f63af2f1daee91d (patch)
treeedf5d3b77ce42c5ab493ca77d0e51ef1c6672505 /poi
parentb90935055dbbaeaac6b3f84df228d354a6fc55a8 (diff)
downloadpoi-f331d08c228538a48c1aa9f00f63af2f1daee91d.tar.gz
poi-f331d08c228538a48c1aa9f00f63af2f1daee91d.zip
apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/ddf/EscherRecord.java2
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFPicture.java4
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFRow.java4
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java4
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java2
-rw-r--r--poi/src/main/java/org/apache/poi/sl/draw/DrawPaint.java2
-rw-r--r--poi/src/main/java/org/apache/poi/ss/usermodel/Picture.java2
7 files changed, 10 insertions, 10 deletions
diff --git a/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java b/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
index eec8d49046..c817e7d060 100644
--- a/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
+++ b/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
@@ -131,7 +131,7 @@ public abstract class EscherRecord implements Duplicatable, GenericRecord {
}
/**
- * Set the options this this record. Container records should have the
+ * Set the options this record. Container records should have the
* last nibble set to 0xF.<p>
*
* 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 {
* <p>
* 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.
* </p>
*/
@Override
@@ -114,7 +114,7 @@ public class HSSFPicture extends HSSFSimpleShape implements Picture {
* <p>
* 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.
* </p>
* <p>
* <code>resize(1.0,1.0)</code> keeps the original size,<br>
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, Comparable<HSSFRow> {
* equal to the row number of the argument <code>HSSFRow</code>
* </li>
* <li>
- * a value less than <code>0</code> if the row number of this this <code>HSSFRow</code> is
+ * a value less than <code>0</code> if the row number of this <code>HSSFRow</code> is
* numerically less than the row number of the argument <code>HSSFRow</code>
* </li>
* <li>
- * a value greater than <code>0</code> if the row number of this this <code>HSSFRow</code> is
+ * a value greater than <code>0</code> if the row number of this <code>HSSFRow</code> is
* numerically greater than the row number of the argument <code>HSSFRow</code>
* </li>
* </ul>
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
index f50e18edb9..b263001450 100644
--- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
+++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
@@ -1995,7 +1995,7 @@ public final class HSSFSheet implements Sheet {
* Breaks occur above the specified row and left of the specified column inclusive.<p>
*
* For example, <code>sheet.setColumnBreak(2);</code> 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);</code>
+ * with columns A,B,C in the first and D,E,... in the second. Similar, <code>sheet.setRowBreak(2);</code>
* 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.<p>
*
* For example, <code>sheet.setColumnBreak(2);</code> 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 {
* <p>
* 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.
* </p>
* <p>
* <code>resize(1.0,1.0)</code> keeps the original size,<br>