apply some spelling fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-06-27 19:37:48 +00:00
parent b90935055d
commit f331d08c22
22 changed files with 29 additions and 29 deletions

View File

@ -85,7 +85,7 @@ public final class SXSSFPicture implements Picture {
* <p>
* 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.
* </p>
*/
@Override
@ -98,7 +98,7 @@ public final class SXSSFPicture implements Picture {
* <p>
* 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.
* </p>
*
* @param scale the amount by which image dimensions are multiplied relative to the original size.

View File

@ -535,11 +535,11 @@ public class SXSSFRow implements Row, Comparable<SXSSFRow>
* equal to the row number of the argument <code>SXSSFRow</code>
* </li>
* <li>
* a value less than <code>0</code> if the row number of this this <code>SXSSFRow</code> is
* a value less than <code>0</code> if the row number of this <code>SXSSFRow</code> is
* numerically less than the row number of the argument <code>SXSSFRow</code>
* </li>
* <li>
* a value greater than <code>0</code> if the row number of this this <code>SXSSFRow</code> is
* a value greater than <code>0</code> if the row number of this <code>SXSSFRow</code> is
* numerically greater than the row number of the argument <code>SXSSFRow</code>
* </li>
* </ul>

View File

@ -1145,7 +1145,7 @@ public class SXSSFSheet implements Sheet, OoxmlSheetExtensions {
* Breaks occur above the specified row and left of the specified column inclusive.
*
* For example, {@code 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.
*

View File

@ -1360,7 +1360,7 @@ public class SXSSFWorkbook implements Workbook {
}
/**
* Returns the spreadsheet version (EXCLE2007) of this workbook
* Returns the spreadsheet version (EXCEL2007) of this workbook
*
* @return EXCEL2007 SpreadsheetVersion enum
* @since 3.14 beta 2

View File

@ -56,7 +56,7 @@ public class XSSFChartSheet extends XSSFSheet {
@Override
protected void read(InputStream is) throws IOException {
//initialize the supeclass with a blank worksheet
//initialize the superclass with a blank worksheet
super.read(UnsynchronizedByteArrayInputStream.builder().setByteArray(BLANK_WORKSHEET).get());
try {

View File

@ -33,7 +33,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter;
* </p><p>
* 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.
* </p>
*/

View File

@ -33,7 +33,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter;
* </p><p>
* 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.
* </p>
*/

View File

@ -32,7 +32,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter;
* </p><p>
* 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.
* </p>
*/

View File

@ -31,7 +31,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHeaderFooter;
* <p>
* 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{

View File

@ -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()

View File

@ -161,7 +161,7 @@ public final class XSSFPicture extends XSSFShape implements Picture {
* <p>
* 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.
* <p>
* {@code resize(1.0,1.0)} keeps the original size,<br>
* {@code resize(0.5,0.5)} resize to 50% of the original,<br>

View File

@ -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);

View File

@ -144,11 +144,11 @@ public class XSSFRow implements Row, Comparable<XSSFRow> {
* equal to the row number of the argument {@code XSSFRow}
* </li>
* <li>
* a value less than {@code 0} if the row number of this this {@code XSSFRow} is
* a value less than {@code 0} if the row number of this {@code XSSFRow} is
* numerically less than the row number of the argument {@code XSSFRow}
* </li>
* <li>
* a value greater than {@code 0} if the row number of this this {@code XSSFRow} is
* a value greater than {@code 0} if the row number of this {@code XSSFRow} is
* numerically greater than the row number of the argument {@code XSSFRow}
* </li>
* </ul>

View File

@ -1942,7 +1942,7 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet, OoxmlSheetEx
* Breaks occur above the specified row and left of the specified column inclusive.
*
* For example, {@code 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.
*
@ -2181,7 +2181,7 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet, OoxmlSheetEx
* Breaks occur above the specified row and left of the specified column inclusive.
*
* For example, {@code 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.
*

View File

@ -2416,7 +2416,7 @@ public class XSSFWorkbook extends POIXMLDocument implements Workbook, Date1904Su
}
/**
* Returns the spreadsheet version (EXCLE2007) of this workbook
* Returns the spreadsheet version (EXCEL2007) of this workbook
*
* @return EXCEL2007 SpreadsheetVersion enum
* @since 3.14 beta 2

View File

@ -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.

View File

@ -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>

View File

@ -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>

View File

@ -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.
*

View File

@ -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

View File

@ -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()) {

View File

@ -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>