summaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-12-01 11:33:25 +0000
committerPJ Fanning <fanningpj@apache.org>2021-12-01 11:33:25 +0000
commitadd71cb80adb570eddfcaf804e89c1c26bc4a38c (patch)
treedbf103e981917962aab9263e9fe517342e62775a /poi-scratchpad
parent43438ee6ef2faceb6407f7ef25460c778a9de7a6 (diff)
downloadpoi-add71cb80adb570eddfcaf804e89c1c26bc4a38c.tar.gz
poi-add71cb80adb570eddfcaf804e89c1c26bc4a38c.zip
spelling of embedded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java4
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java2
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java6
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestPictures.java8
5 files changed, 11 insertions, 11 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
index b5782aa91a..6d35f371da 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
@@ -718,7 +718,7 @@ public final class HSLFSlideShowImpl extends POIDocument implements Closeable {
/**
* Writes out the slideshow file the is represented by an instance
* of this class.
- * If you require all streams to be written out (eg Marcos, embeded
+ * If you require all streams to be written out (eg Marcos, embedded
* documents), then set {@code preserveNodes} set to {@code true}
*
* @param newFile The File to write to.
@@ -757,7 +757,7 @@ public final class HSLFSlideShowImpl extends POIDocument implements Closeable {
/**
* Writes out the slideshow file the is represented by an instance
* of this class.
- * If you require all streams to be written out (eg Marcos, embeded
+ * If you require all streams to be written out (eg Macros, embedded
* documents), then set {@code preserveNodes} set to {@code true}
*
* @param out The OutputStream to write to.
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java
index e103c3367b..61ed4da168 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java
@@ -234,7 +234,7 @@ public final class HWPFDocument extends HWPFDocumentCore {
/**
* This constructor loads a Word document from a specific point
* in a POIFSFileSystem, probably not the default.
- * Used typically to open embeded documents.
+ * Used typically to open embedded documents.
*
* @param directory The DirectoryNode that contains the Word document.
* @throws IOException If there is an unexpected IOException from the passed
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
index 08815263cf..5a69dbbb3f 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
@@ -170,7 +170,7 @@ public abstract class HWPFDocumentCore extends POIDocument {
/**
* This constructor loads a Word document from a specific point
* in a POIFSFileSystem, probably not the default.
- * Used typically to open embeded documents.
+ * Used typically to open embedded documents.
*
* @param directory The DirectoryNode that contains the Word document.
* @throws IOException If there is an unexpected IOException from the passed
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java b/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java
index 303ca4293f..6b8a08ff2d 100644
--- a/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java
+++ b/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java
@@ -76,7 +76,7 @@ public final class TestExtractor {
"\nThese are the notes on page two, again lacking formatting\n";
/**
- * Where our embeded files live
+ * Where our embedded files live
*/
private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance();
@@ -197,7 +197,7 @@ public final class TestExtractor {
}
/**
- * A powerpoint file with embeded powerpoint files
+ * A powerpoint file with embedded powerpoint files
*/
@Test
void testExtractFromOwnEmbeded() throws IOException {
@@ -230,7 +230,7 @@ public final class TestExtractor {
}
/**
- * A powerpoint file with embeded powerpoint files
+ * A powerpoint file with embedded powerpoint files
*/
@Test
void test52991() throws IOException {
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestPictures.java b/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestPictures.java
index b792289282..96caa82a24 100644
--- a/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestPictures.java
+++ b/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestPictures.java
@@ -139,21 +139,21 @@ public final class TestPictures {
/**
* When you embed another office document into Word, it stores
* a rendered "icon" picture of what that document looks like.
- * This image is re-created when you edit the embeded document,
+ * This image is re-created when you edit the embedded document,
* then used as-is to speed things up.
* Check that we can properly read one of these
*/
@Test
void testEmbededDocumentIcon() {
- // This file has two embeded excel files, an embeded powerpoint
- // file and an embeded word file, in that order
+ // This file has two embedded excel files, an embedded powerpoint
+ // file and an embedded word file, in that order
HWPFDocument doc = openSampleFile("word_with_embeded.doc");
// Check we don't break loading the pictures
doc.getPicturesTable().getAllPictures();
PicturesTable pictureTable = doc.getPicturesTable();
- // Check the text, and its embeded images
+ // Check the text, and its embedded images
Paragraph p;
Range r = doc.getRange();
assertEquals(1, r.numSections());