Skip to content

Commit d7ca791

Browse files
committed
Apply some spelling fixes from GitHub PR #480
Some suggested changes are too invasive so we can only pick some changes semi-automatically git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922678 13f79535-47bb-0310-9956-ffa450edef68
1 parent b92a912 commit d7ca791

32 files changed

Lines changed: 38 additions & 38 deletions

poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusDraw.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ public long init(LittleEndianInputStream leis, long dataSize, long recordId, int
703703

704704
int size = 4 * LittleEndianConsts.INT_SIZE;
705705

706-
// TOOD: implement Non-Cmap-Lookup correctly
706+
// TODO: implement Non-Cmap-Lookup correctly
707707

708708
// If the CMAP_LOOKUP flag in the optionsFlags field is set, each value in this array specifies a
709709
// Unicode character. Otherwise, each value specifies an index to a character glyph in the EmfPlusFont

poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static void main(String[] args) throws Exception {
207207

208208
if (arg.startsWith("-")) {
209209
if ("-f".equals(arg)) {
210-
//write ouput to a file
210+
//write output to a file
211211
outFile = true;
212212
}
213213
} else {

poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void printDump() throws IOException {
152152
// If it has a length, depending on its type it may have children or data
153153
// If it has children, these will follow straight away
154154
// <xx xx yy yy zz zz zz zz <xx xx yy yy zz zz zz zz>>
155-
// If it has data, this will come straigh after, and run for the length
155+
// If it has data, this will come straight after, and run for the length
156156
// <xx xx yy yy zz zz zz zz dd dd dd dd dd dd dd>
157157
// All lengths given exclude the 8 byte record header
158158
// (Data records are known as Atoms)

poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowRecordDumper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
3737

3838
/**
3939
* This class provides a way to view the contents of a powerpoint file.
40-
* It will use the recored layer to grok the contents of the file, and
40+
* It will use the record layer to grok the contents of the file, and
4141
* will print out what it finds.
4242
*/
4343
public final class SlideShowRecordDumper {

poi-scratchpad/src/main/java/org/apache/poi/hslf/model/textproperties/TextPFException9.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
3232
/**
3333
* This structure store text autonumber scheme and start number.
3434
* If a paragraph has an autonumber(fBulletHasAutoNumber = 0x0001) but start number and scheme are empty,
35-
* this means the default values will be used: statNumber=1 and sheme=ANM_ArabicPeriod
35+
* this means the default values will be used: statNumber=1 and scheme=ANM_ArabicPeriod
3636
* @see <a href="http://social.msdn.microsoft.com/Forums/mr-IN/os_binaryfile/thread/650888db-fabd-4b95-88dc-f0455f6e2d28">
3737
* http://social.msdn.microsoft.com/Forums/mr-IN/os_binaryfile/thread/650888db-fabd-4b95-88dc-f0455f6e2d28</a>
3838
*/

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ColorSchemeAtom.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void setAccentAndFollowingHyperlinkColourRGB(int rgb)
9595
/* *************** record code follows ********************** */
9696

9797
/**
98-
* For the Colour Scheme (ColorSchem) Atom
98+
* For the Colour Scheme (ColorScheme) Atom
9999
*/
100100
protected ColorSchemeAtom(byte[] source, int start, int len) {
101101
// Sanity Checking - we're always 40 bytes long

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public CurrentUserAtom(DirectoryNode dir) throws IOException {
129129

130130
// If it's clearly junk, bail out
131131
if(docProps.getSize() > 131072) {
132-
throw new CorruptPowerPointFileException("The Current User stream is implausably long. It's normally 28-200 bytes long, but was " + docProps.getSize() + " bytes");
132+
throw new CorruptPowerPointFileException("The Current User stream is implausibly long. It's normally 28-200 bytes long, but was " + docProps.getSize() + " bytes");
133133
}
134134

135135
// Grab the contents

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExEmbedAtom.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public boolean getNoSizeToServerB() {
135135
}
136136

137137
/**
138-
* Getswhether the object is a Word table.
138+
* Gets whether the object is a Word table.
139139
*
140140
* @return {@code true} if the object is a Word table.
141141
*/

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExHyperlinkAtom.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2828
import org.apache.poi.util.LittleEndian;
2929

3030
/**
31-
* Tne atom that holds metadata on a specific Link in the document.
31+
* The atom that holds metadata on a specific Link in the document.
3232
* (The actual link is held in a sibling CString record)
3333
*/
3434
public final class ExHyperlinkAtom extends RecordAtom {

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExObjList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.apache.poi.util.LittleEndian;
2525

2626
/**
27-
* This class holds the links to exernal objects referenced from the document.
27+
* This class holds the links to external objects referenced from the document.
2828
*/
2929
public class ExObjList extends RecordContainer {
3030
private byte[] _header;

0 commit comments

Comments
 (0)