* <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
* <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.
* 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>
* 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.
*
}
/**
- * 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
@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 {
* </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>
*/
* </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>
*/
* </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>
*/
* <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{
}
/**
- * 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()
* <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>
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);
* 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>
* 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.
*
* 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.
*
}
/**
- * 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
}
/**
- * 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.
* <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
* <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>
* 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>
* 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.
*
* 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.
*
}
/**
- * 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
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()) {
* <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>