Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #480

Open
wants to merge 323 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
b4e36d3
spelling: data
jsoref Jun 19, 2023
fa952d7
spelling: decoration
jsoref Jun 23, 2023
b426480
spelling: decrement
jsoref Jun 23, 2023
d0b6852
spelling: decrypted
jsoref Jun 23, 2023
ffb9ffd
spelling: default
jsoref Jun 19, 2023
cece5a7
spelling: defaults
jsoref Jun 23, 2023
9203418
spelling: deferred
jsoref Jun 23, 2023
cadf03b
spelling: defined
jsoref Jun 23, 2023
d23f28d
spelling: definition
jsoref Jun 23, 2023
ab59a9e
spelling: degrees
jsoref Jun 23, 2023
33ce9cc
spelling: delete
jsoref Jun 23, 2023
773bed6
spelling: deleting
jsoref Jun 23, 2023
33b1bc8
spelling: described
jsoref Jun 23, 2023
3e40197
spelling: details
jsoref Jun 23, 2023
0781bad
spelling: diagonal
jsoref Jun 23, 2023
73618fc
spelling: diagram
jsoref Jun 23, 2023
fbff11f
spelling: different
jsoref Jun 23, 2023
65cc63c
spelling: directory
jsoref Jun 23, 2023
d914c1c
spelling: displayed
jsoref Jun 23, 2023
74e2100
spelling: distinguish
jsoref Jun 23, 2023
462a599
spelling: division
jsoref Jun 23, 2023
d935f36
spelling: document
jsoref Jun 23, 2023
9485a4a
spelling: doesn't
jsoref Jun 23, 2023
fe8265e
spelling: duplicates
jsoref Jun 23, 2023
8a02552
spelling: efficiently
jsoref Jun 23, 2023
a847b13
spelling: embedded
jsoref Jun 23, 2023
657ac00
spelling: embedding
jsoref Jun 23, 2023
babbbbb
spelling: empty
jsoref Jun 23, 2023
a3e37b6
spelling: encoding
jsoref Jun 23, 2023
c953763
spelling: encrypted
jsoref Jun 23, 2023
a22834c
spelling: endianness
jsoref Jun 23, 2023
7e72e77
spelling: enhanced
jsoref Jun 23, 2023
a605449
spelling: escapement
jsoref Jun 23, 2023
aa9a4aa
spelling: escher
jsoref Jun 23, 2023
f56e03c
spelling: evaluable
jsoref Jun 23, 2023
0e398ea
spelling: excel
jsoref Jun 23, 2023
a192e86
spelling: exception
jsoref Jun 23, 2023
267d714
spelling: excluding
jsoref Jun 23, 2023
114de77
spelling: existing
jsoref Jun 23, 2023
aeecc56
spelling: expand
jsoref Jun 23, 2023
ef78e90
spelling: expected
jsoref Jun 23, 2023
4df460f
spelling: external
jsoref Jun 23, 2023
f1723e7
spelling: false
jsoref Jun 23, 2023
2fd3d08
spelling: family
jsoref Jun 23, 2023
f531520
spelling: filemagic
jsoref Jun 23, 2023
b761be5
spelling: filename
jsoref Jun 23, 2023
582ddac
spelling: filesystem
jsoref Jun 23, 2023
d4ea759
spelling: filesystems
jsoref Jun 23, 2023
dbe0f10
spelling: fine
jsoref Jun 23, 2023
d68e289
spelling: following
jsoref Jun 23, 2023
cf78afa
spelling: font
jsoref Jun 19, 2023
d0dd19a
spelling: for
jsoref Jun 19, 2023
bb215ae
spelling: foreground
jsoref Jun 23, 2023
14702d3
spelling: form fields
jsoref Jun 23, 2023
2fc509d
spelling: formatter
jsoref Jun 23, 2023
6d5d8eb
spelling: formatting
jsoref Jun 23, 2023
cfb67ab
spelling: formula
jsoref Jun 23, 2023
a947d25
spelling: formulae
jsoref Jun 23, 2023
41cd592
spelling: formulas
jsoref Jun 23, 2023
34f9ec2
spelling: fractional
jsoref Jun 23, 2023
c7e9dcf
spelling: function
jsoref Jun 23, 2023
38ef2cb
spelling: gets whether
jsoref Jun 23, 2023
c1e5548
spelling: github
jsoref Jun 19, 2023
84fbe99
spelling: glyphs
jsoref Jun 23, 2023
35bf7b8
spelling: gradient
jsoref Jun 23, 2023
710b910
spelling: gradle's
jsoref Jun 23, 2023
035a0b0
spelling: greater
jsoref Jun 23, 2023
9aa4a0f
spelling: groupings
jsoref Jun 23, 2023
657dea5
spelling: gutter
jsoref Jun 23, 2023
338a03b
spelling: gzipped
jsoref Jun 23, 2023
dbfe2ec
spelling: has
jsoref Jun 19, 2023
1b94337
spelling: hashtable
jsoref Jun 23, 2023
bcc9e00
spelling: help
jsoref Jun 23, 2023
d3ca60b
spelling: hyperlinks
jsoref Jun 23, 2023
ab76113
spelling: identified
jsoref Jun 23, 2023
27ec465
spelling: if the
jsoref Jun 23, 2023
ae57880
spelling: implausibly
jsoref Jun 23, 2023
1a84f74
spelling: implemented
jsoref Jun 23, 2023
8afec5c
spelling: in between
jsoref Jun 23, 2023
6a8bf87
spelling: includes
jsoref Jun 19, 2023
218e6fc
spelling: increment
jsoref Jun 23, 2023
7aa23c2
spelling: indeed
jsoref Jun 23, 2023
76cc015
spelling: indentation
jsoref Jun 23, 2023
1d07be6
spelling: indicate
jsoref Jun 23, 2023
99c7563
spelling: indicates
jsoref Jun 23, 2023
19ced05
spelling: indices
jsoref Jun 23, 2023
c9dfed7
spelling: individual
jsoref Jun 23, 2023
c3b1927
spelling: init
jsoref Jun 23, 2023
45b1f74
spelling: inner
jsoref Jun 23, 2023
d9cc1d2
spelling: instantiate
jsoref Jun 23, 2023
c26fcd1
spelling: interchangeably
jsoref Jun 23, 2023
e185cae
spelling: into
jsoref Jun 19, 2023
0a78361
spelling: invocation
jsoref Jun 23, 2023
e1c6f14
spelling: isosceles
jsoref Jun 23, 2023
a94ed36
spelling: justification
jsoref Jun 23, 2023
880b1ab
spelling: length
jsoref Jun 23, 2023
6e59e01
spelling: lookup
jsoref Jun 23, 2023
a953c31
spelling: magnification
jsoref Jun 23, 2023
3bc7dda
spelling: mandatory
jsoref Jun 23, 2023
dbf1d47
spelling: margin
jsoref Jun 23, 2023
db21c10
spelling: margins
jsoref Jun 23, 2023
a479368
spelling: maximum
jsoref Jun 23, 2023
fc54d42
spelling: millisec
jsoref Jun 23, 2023
e14a13c
spelling: minimum
jsoref Jun 23, 2023
515b4c5
spelling: modified
jsoref Jun 23, 2023
3a753e0
spelling: more
jsoref Jun 19, 2023
de1656c
spelling: multi
jsoref Jun 23, 2023
7ab44a7
spelling: multiple
jsoref Jun 23, 2023
e495b17
spelling: multiplied
jsoref Jun 23, 2023
9006908
spelling: multiplier
jsoref Jun 23, 2023
d138ac8
spelling: multiply
jsoref Jun 23, 2023
60540c8
spelling: necessarily
jsoref Jun 23, 2023
6c3aff4
spelling: nonexistent
jsoref Jun 19, 2023
27bd555
spelling: numbering
jsoref Jun 23, 2023
953f6af
spelling: numeric
jsoref Jun 23, 2023
c0cfe1e
spelling: object
jsoref Jun 23, 2023
fceb855
spelling: occurred
jsoref Jun 23, 2023
12f3d60
spelling: occurrence
jsoref Jun 23, 2023
94a22c1
spelling: occurring
jsoref Jun 23, 2023
6232983
spelling: occurs
jsoref Jun 23, 2023
4ebba92
spelling: office binary file format
jsoref Jun 23, 2023
5f8c7ee
spelling: offset
jsoref Jun 23, 2023
be8523b
spelling: operation
jsoref Jun 23, 2023
ac2b145
spelling: optional
jsoref Jun 23, 2023
4e82b09
spelling: original
jsoref Jun 23, 2023
dd14554
spelling: outline
jsoref Jun 23, 2023
0b150f1
spelling: output
jsoref Jun 23, 2023
9cc7379
spelling: overwritten
jsoref Jun 23, 2023
ac762b2
spelling: palette
jsoref Jun 23, 2023
66a6c50
spelling: paragraph
jsoref Jun 23, 2023
de492cd
spelling: paragraphs
jsoref Jun 23, 2023
a750ca8
spelling: parameter
jsoref Jun 23, 2023
830321f
spelling: password
jsoref Jun 23, 2023
73a7fd2
spelling: patriarch
jsoref Jun 23, 2023
489704c
spelling: pattern
jsoref Jun 23, 2023
9c79259
spelling: percentage
jsoref Jun 23, 2023
50ca46b
spelling: persist
jsoref Jun 23, 2023
1e67e3d
spelling: phonetic
jsoref Jun 23, 2023
5c6352d
spelling: picture
jsoref Jun 23, 2023
183ddc0
spelling: placeholder
jsoref Jun 23, 2023
b5f5096
spelling: platform
jsoref Jun 23, 2023
8ba18ab
spelling: pointing
jsoref Jun 23, 2023
c67c85a
spelling: position
jsoref Jun 23, 2023
d6a2dab
spelling: precedes
jsoref Jun 23, 2023
ea68209
spelling: preferably
jsoref Jun 23, 2023
8bbd61e
spelling: previous
jsoref Jun 23, 2023
9b4b7ff
spelling: previously
jsoref Jun 23, 2023
4d342e1
spelling: primitive
jsoref Jun 23, 2023
4b813bf
spelling: principal
jsoref Jun 23, 2023
6a68d66
spelling: procedure
jsoref Jun 23, 2023
8bd8bda
spelling: properties
jsoref Jun 23, 2023
e7c9a72
spelling: property
jsoref Jun 23, 2023
b12845f
spelling: proprietary
jsoref Jun 23, 2023
74830b8
spelling: raster operation
jsoref Jun 23, 2023
8e50be9
spelling: recalculation
jsoref Jun 23, 2023
98f12eb
spelling: recipients
jsoref Jun 23, 2023
58212b0
spelling: recognising
jsoref Jun 23, 2023
92e6d76
spelling: reconstruction
jsoref Jun 23, 2023
ca3aeb9
spelling: record
jsoref Jun 23, 2023
8fbc2f2
spelling: records
jsoref Jun 23, 2023
5a4ef32
spelling: rectangle
jsoref Jun 23, 2023
d52ed14
spelling: recursively
jsoref Jun 23, 2023
edfcf92
spelling: refer
jsoref Jun 23, 2023
49a3e7a
spelling: reference
jsoref Jun 23, 2023
6f92612
spelling: relativized
jsoref Jun 23, 2023
395b2cb
spelling: renderer
jsoref Jun 23, 2023
410ebc4
spelling: repeat
jsoref Jun 23, 2023
ef3a128
spelling: representation
jsoref Jun 23, 2023
c91ba3f
spelling: representing
jsoref Jun 23, 2023
e28fffa
spelling: represents
jsoref Jun 23, 2023
1726e36
spelling: reserved
jsoref Jun 23, 2023
20fc085
spelling: resolution
jsoref Jun 23, 2023
79dcde6
spelling: resulting
jsoref Jun 23, 2023
67e963e
spelling: retrieves
jsoref Jun 23, 2023
9e83d70
spelling: retroactive
jsoref Jun 23, 2023
9c55a82
spelling: returned
jsoref Jun 23, 2023
4449035
spelling: returns
jsoref Jun 23, 2023
622ba80
spelling: scheme
jsoref Jun 23, 2023
10cb2bf
spelling: secret
jsoref Jun 23, 2023
47cc187
spelling: separate
jsoref Jun 23, 2023
ea2260c
spelling: separated
jsoref Jun 23, 2023
4f0ed44
spelling: separator
jsoref Jun 23, 2023
38ea800
spelling: separators
jsoref Jun 23, 2023
65a17e1
spelling: serialization
jsoref Jun 23, 2023
ba0358c
spelling: settings
jsoref Jun 23, 2023
025e7a6
spelling: shouldn't
jsoref Jun 23, 2023
f5364bd
spelling: similar
jsoref Jun 23, 2023
f34da0f
spelling: single
jsoref Jun 23, 2023
465c1ea
spelling: singleton
jsoref Jun 23, 2023
7dcd8cc
spelling: singularity
jsoref Jun 23, 2023
b0b2ce7
spelling: size
jsoref Jun 23, 2023
6bc25e4
spelling: slide
jsoref Jun 23, 2023
4164a3f
spelling: snippet
jsoref Jun 23, 2023
df8c65e
spelling: specific
jsoref Jun 23, 2023
a9e54e8
spelling: specified
jsoref Jun 23, 2023
76d772a
spelling: specifies
jsoref Jun 23, 2023
a549ee9
spelling: specify
jsoref Jun 23, 2023
ac93609
spelling: speech
jsoref Jun 23, 2023
b276bbc
spelling: spreadsheet
jsoref Jun 23, 2023
ee17198
spelling: square
jsoref Jun 23, 2023
97761c9
spelling: straight
jsoref Jun 23, 2023
06e424d
spelling: stream
jsoref Jun 23, 2023
0c9565a
spelling: stretched
jsoref Jun 23, 2023
35cfc41
spelling: strikeout
jsoref Jun 23, 2023
b35522a
spelling: string
jsoref Jun 23, 2023
1d6e358
spelling: structures
jsoref Jun 23, 2023
a0823ea
spelling: subrange
jsoref Jun 23, 2023
dc6a93e
spelling: summarized
jsoref Jun 23, 2023
0f1d9d0
spelling: summary
jsoref Jun 23, 2023
9500b69
spelling: superclass
jsoref Jun 23, 2023
c169aaa
spelling: superscript
jsoref Jun 23, 2023
cf6e7eb
spelling: surrounded
jsoref Jun 23, 2023
650296e
spelling: system
jsoref Jun 23, 2023
6f84fc9
spelling: table
jsoref Jun 23, 2023
07c9008
spelling: tangent's
jsoref Jun 23, 2023
f6ec11d
spelling: terminator
jsoref Jun 23, 2023
5188d50
spelling: than
jsoref Jun 19, 2023
146d6a6
spelling: that
jsoref Jun 19, 2023
93c2943
spelling: the
jsoref Jun 23, 2023
0605533
spelling: this
jsoref Jun 19, 2023
19f5896
spelling: to
jsoref Jun 19, 2023
957f5ad
spelling: todo
jsoref Jun 23, 2023
b8b9a06
spelling: transmittable
jsoref Jun 23, 2023
75f2658
spelling: umlaut
jsoref Jun 23, 2023
ab3fbeb
spelling: underlying
jsoref Jun 23, 2023
ad7e898
spelling: unevaluable
jsoref Jun 23, 2023
77b354a
spelling: unnecessary
jsoref Jun 23, 2023
a572e5d
spelling: unparsable
jsoref Jun 23, 2023
c9d0f73
spelling: unset
jsoref Jun 23, 2023
f78510a
spelling: us
jsoref Jun 23, 2023
d691bf0
spelling: usage
jsoref Jun 23, 2023
8d4417d
spelling: value
jsoref Jun 19, 2023
7cba88b
spelling: verifier
jsoref Jun 23, 2023
4dd8abc
spelling: verify
jsoref Jun 23, 2023
7765b25
spelling: version
jsoref Jun 23, 2023
c3a8dcd
spelling: vertical
jsoref Jun 23, 2023
63ba12a
spelling: weight
jsoref Jun 23, 2023
4083671
spelling: were
jsoref Jun 19, 2023
4fb0e15
spelling: while
jsoref Jun 23, 2023
a7098d3
spelling: width
jsoref Jun 23, 2023
da52d5e
spelling: with-text
jsoref Jun 23, 2023
d2452dc
spelling: with
jsoref Jun 19, 2023
e4bd729
spelling: woohoo
jsoref Jun 23, 2023
fabc363
spelling: workaround
jsoref Jun 19, 2023
4105c35
spelling: workbook
jsoref Jun 23, 2023
02afc86
spelling: writing
jsoref Jun 23, 2023
bfde088
spelling: written and
jsoref Jun 23, 2023
f91be07
spelling: xslx
jsoref Jun 23, 2023
a792818
spelling: xwpfwordextractor
jsoref Jun 23, 2023
852fb50
spelling: zhang
jsoref Jun 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ subprojects {
// see https://github.com/java9-modularity/gradle-modules-plugin/issues/97
// opposed to the recommendation there, it doesn't work to add ... to the dependencies
// testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.7.1'
// gradles gradle-worker.jar is still not a JPMS module and thus runs as unnamed module
// gradle's gradle-worker.jar is still not a JPMS module and thus runs as unnamed module
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brand

'--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=org.apache.poi.poi',
'--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=ALL-UNNAMED',
'--add-exports','org.junit.platform.commons/org.junit.platform.commons.logging=ALL-UNNAMED',
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3223,7 +3223,7 @@ under the License.
<download-line prop="li3" dist="src" pack="tar.gz"/>
<download-line prop="li4" dist="src" pack="zip"/>

<echo file="download-snipplet.xml"><![CDATA[
<echo file="download-snippet.xml"><![CDATA[
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dunno if something cares about the filename...

<section id="POI-${version.id}"><title>${rel_date} - POI ${version.id} available</title>
<p>The Apache POI team is pleased to announce the release of ${version.id}.
Featured are a handful of new areas of functionality and numerous bug fixes.</p>
Expand Down
8 changes: 4 additions & 4 deletions jenkins/create_jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def poijobs = [
properties: ["-Dadditionaljar=${xercesLib}"]
],
// [ name: 'POI-DSL-Maven', trigger: 'H */4 * * *', maven: true,
// // not needed any more now that we use Gradle for SonarQube
// // not needed anymore now that we use Gradle for SonarQube
// disabled: true
// ],
[ name: 'POI-DSL-regenerate-javadoc', trigger: triggerSundays, javadoc: true
Expand Down Expand Up @@ -92,7 +92,7 @@ def poijobs = [
[ name: 'POI-DSL-Windows-1.18', jdk: '1.18', trigger: triggerSundays, windows: true, slaves: 'Windows', skipcigame: true,
skipSpotbugs: true
],
[ name: 'POI-DSL-Github-PullRequests', trigger: '', skipcigame: true, disabled: true
[ name: 'POI-DSL-GitHub-PullRequests', trigger: '', skipcigame: true, disabled: true
],
]

Expand Down Expand Up @@ -265,7 +265,7 @@ poijobs.each { poijob ->
env('CI_BUILD', 'TRUE')
if(jdkKey == '1.10') {
// when using JDK 9/10 for running Ant, we need to provide more modules for the forbidden-api-checks task
// on JDK 11 and newer there is no such module any more, so do not add it here
// on JDK 11 and newer there is no such module anymore, so do not add it here
env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
}
env('FORREST_HOME', poijob.windows ? 'f:\\jenkins\\tools\\forrest\\latest' : '/home/jenkins/tools/forrest/latest')
Expand Down Expand Up @@ -490,7 +490,7 @@ xmlbeansjobs.each { xjob ->
env('LANG', 'en_US.UTF-8')
if(jdkKey == '1.10') {
// when using JDK 9/10 for running Ant, we need to provide more modules for the forbidden-api-checks task
// on JDK 11 and newer there is no such module any more, so do not add it here
// on JDK 11 and newer there is no such module anymore, so do not add it here
env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
} else if (jdkKey == '1.11' || jdkKey == '1.12' || jdkKey == '1.13' || jdkKey == '1.14' || jdkKey == '1.15' || jdkKey == '1.16' || jdkKey == '1.17'
|| jdkKey == '1.18' || jdkKey == '1.19' || jdkKey == '1.20' || jdkKey == '1.21') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public static void handleEvent(final POIFSFileSystem poiFs, final POIFSReaderEve
try (InputStream is = su.get()) {
final POIFSDocumentPath path = event.getPath();

// Ensures that the directory hierarchy for a document in a POI fileystem is in place.
// Ensures that the directory hierarchy for a document in a POI filesystem is in place.
// Get the root directory. It does not have to be created since it always exists in a POIFS.
DirectoryEntry de = poiFs.getRoot();
if (File.separator.equals(path.toString())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static void handleEvent(final POIFSFileSystem poiFs, final POIFSReaderEv
try (InputStream is = isSup.get()) {
final POIFSDocumentPath path = event.getPath();

// Ensures that the directory hierarchy for a document in a POI fileystem is in place.
// Ensures that the directory hierarchy for a document in a POI filesystem is in place.
// Get the root directory. It does not have to be created since it always exists in a POIFS.
DirectoryEntry de = poiFs.getRoot();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class TableDemo {
{"Total PO History Spend", "$10,172,038"}
};

//test data for the second taable
//test data for the second table
static final String[][] txt2 = {
{"Data Source"},
{"CAS Internal Metrics - Item Master Summary\r" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
* Though different methods are provided to construct single and multi-level
* plain, numbered and bulleted lists, close examination will reveal that they
* are not strictly necessary. If the inputs to the listInCell() and
* multilLevelListInCell() methods are constructed to include the bullet
* multiLevelListInCell() methods are constructed to include the bullet
* character or the item numbers then these methods alone may be sufficient.
*/
@SuppressWarnings({"java:S106","java:S4823"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

/**
* Sets the zoom magnication for a sheet.
* Sets the zoom magnification for a sheet.
*/
public class ZoomSheet
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
* Taken together, the first four methods define the locations of the top left
* and bottom right hand corners of the image if you imagine that the image is
* represented by a simple rectangle. The setDx1() and setDy1() methods locate
* the top left hand corner of the image while setDx2() and and Dy2() locate the
* the top left hand corner of the image while setDx2() and Dy2() locate the
* bottom right hand corner of the image. An individual image can be inserted
* into a single cell or is can lie across many cells and the latter four methods
* are used to define just where the image should be positioned. They do this by
Expand Down Expand Up @@ -211,7 +211,7 @@ public class AddDimensionedImage {
// increased to accommodate the image if it is not already larger. The image
// will be layed across one or many rows.
// Passing EXPAND_ROW_AND_COLUMN will result in the height of the row
// bing increased along with the width of the column to accomdate the
// bing increased along with the width of the column to accommodate the
// image if either is not already larger.
// Passing OVERLAY_ROW_AND_COLUMN will result in the image being layed
// over one or more rows and columns. No row or column will be resized,
Expand Down Expand Up @@ -434,7 +434,7 @@ private ClientAnchorDetail fitImageToColumns(Sheet sheet, int colNumber,
int pictureWidthCoordinates;
ClientAnchorDetail colClientAnchorDetail = null;

// Get the colum's width in millimetres
// Get the column's width in millimetres
colWidthMM = ConvertImageUnits.widthUnits2Millimetres(
(short) sheet.getColumnWidth(colNumber));

Expand Down Expand Up @@ -632,7 +632,7 @@ private ClientAnchorDetail calculateColumnLocation(Sheet sheet,
totalWidthMM += (colWidthMM + ConvertImageUnits.CELL_BORDER_WIDTH_MILLIMETRES);
toColumn++;
}
// De-crement by one the last column value.
// Decrement by one the last column value.
toColumn--;
// Highly unlikely that this will be true but, if the width of a series
// of columns is exactly equal to the required width of the image, then
Expand All @@ -647,9 +647,9 @@ private ClientAnchorDetail calculateColumnLocation(Sheet sheet,
// A problem could occur if the image is sized to fit into one or
// more columns. If that occurs, the value in the toColumn variable
// will be in error. To overcome this, there are two options, to
// ibcrement the toColumn variable's value by one or to pass the
// total number of co-ordinate positions to the third paramater
// of the ClientAnchorDetail constructor. For no sepcific reason,
// increment the toColumn variable's value by one or to pass the
// total number of co-ordinate positions to the third parameter
// of the ClientAnchorDetail constructor. For no specific reason,
// the latter option is used below.
if (sheet instanceof HSSFSheet) {
anchorDetail = new ClientAnchorDetail(startingColumn,
Expand All @@ -663,24 +663,24 @@ private ClientAnchorDetail calculateColumnLocation(Sheet sheet,
// necessary to calculate just how much - this will become the inset
// for the ClientAnchorDetail object.
else {
// Firstly, claculate how much of the image should overlap into
// Firstly, calculate how much of the image should overlap into
// the next column.
overlapMM = reqImageWidthMM - (totalWidthMM - colWidthMM);

// When the required size is very close indded to the column size,
// the calcaulation above can produce a negative value. To prevent
// problems occuring in later caculations, this is simply removed
// When the required size is very close indeed to the column size,
// the calculation above can produce a negative value. To prevent
// problems occurring in later calculations, this is simply removed
// be setting the overlapMM value to zero.
if (overlapMM < 0) {
overlapMM = 0.0D;
}

if (sheet instanceof HSSFSheet) {
// Next, from the columns width, calculate how many co-ordinate
// positons there are per millimetre
// positions there are per millimetre
coordinatePositionsPerMM = (colWidthMM == 0) ? 0
: ConvertImageUnits.TOTAL_COLUMN_COORDINATE_POSITIONS / colWidthMM;
// From this figure, determine how many co-ordinat positions to
// From this figure, determine how many co-ordinate positions to
// inset the left hand or bottom edge of the image.
inset = (int) (coordinatePositionsPerMM * overlapMM);
} else {
Expand Down Expand Up @@ -922,24 +922,24 @@ public int getInset() {
*/
public static class ConvertImageUnits {

// Each cell conatins a fixed number of co-ordinate points; this number
// Each cell contains a fixed number of co-ordinate points; this number
// does not vary with row height or column width or with font. These two
// constants are defined below.
public static final int TOTAL_COLUMN_COORDINATE_POSITIONS = 1023;
public static final int TOTAL_ROW_COORDINATE_POSITIONS = 255;
// The resoultion of an image can be expressed as a specific number
// The resolution of an image can be expressed as a specific number
// of pixels per inch. Displays and printers differ but 96 pixels per
// inch is an acceptable standard to beging with.
// inch is an acceptable standard to begin with.
public static final int PIXELS_PER_INCH = 96;
// Cnstants that defines how many pixels and points there are in a
// Constants that defines how many pixels and points there are in a
// millimetre. These values are required for the conversion algorithm.
public static final double PIXELS_PER_MILLIMETRES = 3.78;
public static final double POINTS_PER_MILLIMETRE = 2.83;
// The column width returned by HSSF and the width of a picture when
// positioned to exactly cover one cell are different by almost exactly
// 2mm - give or take rounding errors. This constant allows that
// additional amount to be accounted for when calculating how many
// celles the image ought to overlie.
// cells the image ought to overlie.
public static final double CELL_BORDER_WIDTH_MILLIMETRES = 2.0D;
public static final short EXCEL_COLUMN_WIDTH_FACTOR = 256;
public static final int UNIT_OFFSET_LENGTH = 7;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void main(String[] args) throws IOException {
multiCell(wb.createSheet("MultiCell"));
overlapping(wb.createSheet("Overlapping"));
errors(wb.createSheet("Errors"));
hideDupplicates(wb.createSheet("Hide Dups"));
hideDuplicates(wb.createSheet("Hide Dups"));
formatDuplicates(wb.createSheet("Duplicates"));
inList(wb.createSheet("In List"));
expiry(wb.createSheet("Expiry"));
Expand Down Expand Up @@ -287,7 +287,7 @@ static void errors(Sheet sheet) {
* and make the list easier to read. In this example, when the table is sorted by Region,
* the second (and subsequent) occurrences of each region name will have white font colour.
*/
static void hideDupplicates(Sheet sheet) {
static void hideDuplicates(Sheet sheet) {
sheet.createRow(0).createCell(0).setCellValue("City");
sheet.createRow(1).createCell(0).setCellValue("Boston");
sheet.createRow(2).createCell(0).setCellValue("Boston");
Expand Down Expand Up @@ -652,7 +652,7 @@ static void dataBars(Sheet sheet) {

/**
* Print out a summary of the conditional formatting rules applied to cells on the given sheet.
* Only cells with a matching rule are printed, and for those, all matching rules are sumarized.
* Only cells with a matching rule are printed, and for those, all matching rules are summarized.
*/
static void evaluateRules(Workbook wb, String sheetName) {
final WorkbookEvaluatorProvider wbEvalProv = (WorkbookEvaluatorProvider) wb.getCreationHelper().createFormulaEvaluator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public static void loadEmbedded(HSSFWorkbook workbook) throws IOException {
}
case "Presentation": {
DirectoryNode dn = (DirectoryNode) obj.getDirectory();
SlideShow<?, ?> embeddedSlieShow = new HSLFSlideShow(dn);
embeddedSlieShow.close();
SlideShow<?, ?> embeddedSlideShow = new HSLFSlideShow(dn);
embeddedSlideShow.close();
break;
}
default:
Expand Down
Loading