/**
*
* @return the font of bullet characters within a given paragraph. A
- * <code>null</code> value means to use the text font font.
+ * <code>null</code> value means to use the text font.
*/
public XDDFFont getBulletFont() {
return findDefinedParagraphProperty(props -> props.isSetBuFont() || props.isSetBuFontTx(),
* using the default font (first font in the workbook).
* <br>
* Unless you are using a very special font, the default character is '0' (zero),
- * this is true for Arial (default font font in HSSF) and Calibri (default font in XSSF)
+ * this is true for Arial (default font in HSSF) and Calibri (default font in XSSF)
* </p>
*
* <p>
* <dt>{@code 0x02}</dt><dd>If the numbering restarts on every page</dd>
* </dl>
*
- * @return an Rnc, as decribed above, specifying when and where footnote numbering restarts
+ * @return an Rnc, as described above, specifying when and where footnote numbering restarts
*/
public short getFootnoteRestartQualifier() {
return _props.getRncFtn();
* <dt>{@code 0x02}</dt><dd>If the numbering restarts on every page</dd>
* </dl>
*
- * @return an Rnc, as decribed above, specifying when and where endnote numbering restarts
+ * @return an Rnc, as described above, specifying when and where endnote numbering restarts
*/
public short getEndnoteRestartQualifier() {
return _props.getRncEdn();
* (usermodel extractors tend to be more accurate, but use more memory)
* Default is false.
*
- * @return true if event extractors should be preferred in the current thread, fals otherwise.
+ * @return true if event extractors should be preferred in the current thread, false otherwise.
*/
public static boolean getThreadPrefersEventExtractors() {
return threadPreferEventExtractors.get();
* (usermodel extractors tend to be more accurate, but use more memory)
* Default is to use the thread level setting, which defaults to false.
*
- * @return true if event extractors should be preferred in all threads, fals otherwise.
+ * @return true if event extractors should be preferred in all threads, false otherwise.
*/
public static Boolean getAllThreadsPreferEventExtractors() {
return allPreferEventExtractors;
* using the default font (first font in the workbook).<p>
*
* Unless you are using a very special font, the default character is '0' (zero),
- * this is true for Arial (default font font in HSSF) and Calibri (default font in XSSF)<p>
+ * this is true for Arial (default font in HSSF) and Calibri (default font in XSSF)<p>
*
* Please note, that the width set by this method includes 4 pixels of margin padding (two on each side),
* plus 1 pixel padding for the gridlines (Section 3.3.1.12 of the OOXML spec).
/**
* Get the font family - convenience method for {@link #getFontInfo(FontGroup)}
*
- * @param fontGroup the font group, i.e. the range of glpyhs to be covered.
+ * @param fontGroup the font group, i.e. the range of glyphs to be covered.
* if {@code null}, the font group matching the first character will be returned
*
* @return font family or null if not set
*
* @param typeface the font to apply to this text run.
* The value of {@code null} removes the run specific font setting, so the default setting is activated again.
- * @param fontGroup the font group, i.e. the range of glpyhs to be covered.
+ * @param fontGroup the font group, i.e. the range of glyphs to be covered.
* if {@code null}, the font group matching the first character will be returned
*/
void setFontFamily(String typeface, FontGroup fontGroup);
/**
* Get the font info for the given font group
*
- * @param fontGroup the font group, i.e. the range of glpyhs to be covered.
+ * @param fontGroup the font group, i.e. the range of glyphs to be covered.
* if {@code null}, the font group matching the first character will be returned
* @return font info or {@code null} if not set
*
*
* @param fontInfo the font to apply to this text run.
* The value of {@code null} removes the run specific font setting, so the default setting is activated again.
- * @param fontGroup the font group, i.e. the range of glpyhs to be covered. defaults to latin, if {@code null}.
+ * @param fontGroup the font group, i.e. the range of glyphs to be covered. defaults to latin, if {@code null}.
*
* @since POI 3.17-beta2
*/
import org.apache.poi.ss.SpreadsheetVersion;
/**
- * Encapsulates logic to convert shared formulaa into non shared equivalent
+ * Encapsulates logic to convert shared formula into non shared equivalent
*/
public class SharedFormula {
package org.apache.poi.ss.formula.functions;
/**
- * This class is a functon library for common fiscal functions.
+ * This class is a function library for common fiscal functions.
* <b>Glossary of terms/abbreviations:</b>
* <br>
* <ul>
*/
CIRCULAR_REF(0xFFFFFFC4, "~CIRCULAR~REF~"),
/**
- * POI specific code to indicate that the funcition required is
+ * POI specific code to indicate that the function required is
* not implemented in POI
*/
FUNCTION_NOT_IMPLEMENTED(0xFFFFFFE2, "~FUNCTION~NOT~IMPLEMENTED~");
* using the default font (first font in the workbook).<p>
*
* Unless you are using a very special font, the default character is '0' (zero),
- * this is true for Arial (default font font in HSSF) and Calibri (default font in XSSF)<p>
+ * this is true for Arial (default font in HSSF) and Calibri (default font in XSSF)<p>
*
* Please note, that the width set by this method includes 4 pixels of margin padding (two on each side),
* plus 1 pixel padding for the gridlines (Section 3.3.1.12 of the OOXML spec).
The first record links to the series title (linkType = 0). It's
reference type is 1 which means that it links directly to data entered
- into the forumula bar. There seems to be no reference to any data
+ into the formula bar. There seems to be no reference to any data
however. The formulaOfLink field contains two 0 bytes. This probably
means that there is no particular heading set.
_groupFunctionNames = new HashSet<>();
}
- public void addFuntion(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams,
- String returnClass, String paramClasses, String volatileFlagStr) {
+ public void addFunction(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams,
+ String returnClass, String paramClasses, String volatileFlagStr) {
boolean isVolatile = volatileFlagStr.length() > 0;
Integer funcIxKey = Integer.valueOf(funcIx);
String paramClasses = cellData[i + 5];
String volatileFlagStr = cellData[i + 6];
- _fdc.addFuntion(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr);
+ _fdc.addFunction(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr);
}
private static int parseInt(String valStr) {