From: PJ Fanning Date: Wed, 1 Dec 2021 11:33:25 +0000 (+0000) Subject: spelling of embedded X-Git-Tag: REL_5_2_0~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=add71cb80adb570eddfcaf804e89c1c26bc4a38c;p=poi.git spelling of embedded git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/test/java/org/apache/poi/ooxml/TestEmbedded.java b/poi-ooxml/src/test/java/org/apache/poi/ooxml/TestEmbedded.java index 86b925f784..09772fdfb9 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/ooxml/TestEmbedded.java +++ b/poi-ooxml/src/test/java/org/apache/poi/ooxml/TestEmbedded.java @@ -33,7 +33,7 @@ import org.apache.poi.xwpf.usermodel.XWPFDocument; import org.junit.jupiter.api.Test; /** - * Class to test that we handle embeded bits in OOXML files properly + * Class to test that we handle embedded bits in OOXML files properly */ class TestEmbedded { @Test 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()); diff --git a/poi/src/test/java/org/apache/poi/hssf/extractor/TestExcelExtractor.java b/poi/src/test/java/org/apache/poi/hssf/extractor/TestExcelExtractor.java index 1874c567a3..497bd20843 100644 --- a/poi/src/test/java/org/apache/poi/hssf/extractor/TestExcelExtractor.java +++ b/poi/src/test/java/org/apache/poi/hssf/extractor/TestExcelExtractor.java @@ -275,10 +275,10 @@ final class TestExcelExtractor { } /** - * Excel embeded in excel + * Excel embedded in excel */ @Test - void testWithEmbededInOwn() throws Exception { + void testWithEmbeddedInOwn() throws Exception { POIDataSamples ssSamples = POIDataSamples.getSpreadSheetInstance(); POIFSFileSystem fs = null; HSSFWorkbook wbA = null, wbB = null;