mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
spelling of embedded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43438ee6ef
commit
add71cb80a
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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());
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user