diff options
author | Javen O'Neal <onealj@apache.org> | 2016-10-19 21:52:31 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-10-19 21:52:31 +0000 |
commit | 99125ee19173959d42553f78c9ea936648f904b8 (patch) | |
tree | f5250e86fe41b26e92a6b26b6066dff811a484fd /src/scratchpad | |
parent | 9eef74edd1d49ef6b7245faa938c817a7fda2967 (diff) | |
download | poi-99125ee19173959d42553f78c9ea936648f904b8.tar.gz poi-99125ee19173959d42553f78c9ea936648f904b8.zip |
Eclipse automated refactor/cleanup: add missing @Override and @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765726 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
30 files changed, 73 insertions, 31 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/TestPOIDocumentScratchpad.java b/src/scratchpad/testcases/org/apache/poi/TestPOIDocumentScratchpad.java index 30296cf822..d19843a6f9 100644 --- a/src/scratchpad/testcases/org/apache/poi/TestPOIDocumentScratchpad.java +++ b/src/scratchpad/testcases/org/apache/poi/TestPOIDocumentScratchpad.java @@ -47,7 +47,8 @@ public final class TestPOIDocumentScratchpad extends TestCase { * Set things up, using a PowerPoint document and * a Word Document for our testing */ - public void setUp() throws Exception { + @Override + public void setUp() throws Exception { doc = new HSLFSlideShowImpl(POIDataSamples.getSlideShowInstance().openResourceAsStream("basic_test_ppt_file.ppt")); doc2 = HWPFTestDataSamples.openSampleFile("test2.doc"); diff --git a/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java b/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java index c617341698..5b7723aebe 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java +++ b/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java @@ -30,7 +30,8 @@ public final class TestHDGFCore extends TestCase { private POIFSFileSystem fs; - protected void setUp() throws Exception { + @Override + protected void setUp() throws Exception { fs = new POIFSFileSystem(_dgTests.openResourceAsStream("Test_Visio-Some_Random_Text.vsd")); } diff --git a/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java b/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java index d36c5ba54f..48cc8a9166 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java +++ b/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java @@ -31,7 +31,8 @@ public final class TestVisioExtractor extends TestCase { private String defFilename; private int defTextChunks; - protected void setUp() { + @Override + protected void setUp() { defFilename = "Test_Visio-Some_Random_Text.vsd"; defTextChunks = 5; } diff --git a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/StreamTest.java b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/StreamTest.java index 41d1132782..6693ce05df 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/StreamTest.java +++ b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/StreamTest.java @@ -33,10 +33,15 @@ public abstract class StreamTest extends TestCase { this.format = format; } - public boolean destinationCompressed() { return compressed; } - public boolean destinationHasChunks() { return false; } - public boolean destinationHasPointers() { return hasPointers; } - public boolean destinationHasStrings() { return false; } - public int getSizeInBytes() { return -1; } + @Override + public boolean destinationCompressed() { return compressed; } + @Override + public boolean destinationHasChunks() { return false; } + @Override + public boolean destinationHasPointers() { return hasPointers; } + @Override + public boolean destinationHasStrings() { return false; } + @Override + public int getSizeInBytes() { return -1; } } } diff --git a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java index 06f2dd86c9..431526e56d 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java @@ -36,7 +36,8 @@ public final class TestStreamBugs extends StreamTest { private PointerFactory ptrFactory; private POIFSFileSystem filesystem; - protected void setUp() throws Exception { + @Override + protected void setUp() throws Exception { ptrFactory = new PointerFactory(11); chunkFactory = new ChunkFactory(11); diff --git a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java index 8d4771b735..3af4c6b361 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java +++ b/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java @@ -34,7 +34,8 @@ public final class TestStreamComplex extends StreamTest { private ChunkFactory chunkFactory; private PointerFactory ptrFactory; - protected void setUp() throws Exception { + @Override + protected void setUp() throws Exception { ptrFactory = new PointerFactory(11); chunkFactory = new ChunkFactory(11); diff --git a/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java b/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java index 2178e6a760..f854394816 100644 --- a/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java +++ b/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java @@ -44,7 +44,8 @@ public final class TestMAPIAttributes extends TestCase { } - protected void tearDown() throws Exception { + @Override +protected void tearDown() throws Exception { stream.close(); super.tearDown(); diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordContainer.java b/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordContainer.java index 67bbd03175..565d7fb922 100644 --- a/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordContainer.java +++ b/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordContainer.java @@ -144,6 +144,7 @@ public final class TestRecordContainer extends TestCase { assertEquals(ch.length-1, recordContainer.getChildRecords().length); } + @Override protected void setUp() throws Exception { super.setUp(); diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java b/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java index cd4b54d19c..593289ff19 100644 --- a/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java +++ b/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java @@ -38,6 +38,7 @@ import org.apache.poi.hslf.usermodel.HSLFSlideShow; public final class TestTxMasterStyleAtom extends TestCase { protected HSLFSlideShow _ppt; + @Override public void setUp() { _ppt = new HSLFSlideShow(); } diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java index b89a5f6e2d..2e2998c68b 100644 --- a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java +++ b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java @@ -48,7 +48,8 @@ public final class TestAddingSlides extends TestCase { /** * Create/open the slideshows */ - public void setUp() throws Exception { + @Override + public void setUp() throws Exception { hss_empty = HSLFSlideShowImpl.create(); ss_empty = new HSLFSlideShow(hss_empty); diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBugs.java index e9a8236f66..720719271c 100644 --- a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBugs.java @@ -863,11 +863,13 @@ public final class TestBugs { assertEquals(hlRun.getEndIndex(), hlShape.getEndIndex()); OutputStream nullOutput = new OutputStream(){ + @Override public void write(int b) throws IOException {} }; final boolean found[] = { false }; DummyGraphics2d dgfx = new DummyGraphics2d(new PrintStream(nullOutput)){ + @Override public void drawString(AttributedCharacterIterator iterator, float x, float y) { // For the test file, common sl draws textruns one by one and not mixed // so we evaluate the whole iterator diff --git a/src/scratchpad/testcases/org/apache/poi/hssf/converter/TestExcelConverterSuite.java b/src/scratchpad/testcases/org/apache/poi/hssf/converter/TestExcelConverterSuite.java index cdd803a713..799a44c079 100644 --- a/src/scratchpad/testcases/org/apache/poi/hssf/converter/TestExcelConverterSuite.java +++ b/src/scratchpad/testcases/org/apache/poi/hssf/converter/TestExcelConverterSuite.java @@ -55,6 +55,7 @@ public class TestExcelConverterSuite "../spreadsheet" ); for ( final File child : directory.listFiles( new FilenameFilter() { + @Override public boolean accept( File dir, String name ) { return name.endsWith( ".xls" ) && !failingFiles.contains( name ); diff --git a/src/scratchpad/testcases/org/apache/poi/hwmf/TestHwmfParsing.java b/src/scratchpad/testcases/org/apache/poi/hwmf/TestHwmfParsing.java index 78e6534569..17226a654b 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwmf/TestHwmfParsing.java +++ b/src/scratchpad/testcases/org/apache/poi/hwmf/TestHwmfParsing.java @@ -105,6 +105,7 @@ public class TestHwmfParsing { while ((ze = zis.getNextEntry()) != null) {
String basename = ze.getName().replaceAll(".*?([^/]+)\\.wmf", "$1");
FilterInputStream fis = new FilterInputStream(zis){
+ @Override
public void close() throws IOException {}
};
try {
@@ -138,6 +139,7 @@ public class TestHwmfParsing { final String startFile = "";
File files[] = indir.listFiles(new FileFilter() {
boolean foundStartFile = false;
+ @Override
public boolean accept(File pathname) {
foundStartFile |= startFile.isEmpty() || pathname.getName().contains(startFile);
return foundStartFile && pathname.getName().matches("(?i).*\\.wmf?$");
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFTestCase.java b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFTestCase.java index 76fab8a8cb..7ac08176dd 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFTestCase.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFTestCase.java @@ -29,7 +29,8 @@ public abstract class HWPFTestCase extends TestCase { protected HWPFTestCase() { } - protected void setUp() throws Exception { + @Override + protected void setUp() throws Exception { super.setUp(); /** @todo verify the constructors */ _hWPFDocFixture = new HWPFDocFixture(this, getTestFile()); @@ -42,7 +43,8 @@ public abstract class HWPFTestCase extends TestCase { return HWPFDocFixture.DEFAULT_TEST_FILE; } - protected void tearDown() throws Exception { + @Override + protected void tearDown() throws Exception { if (_hWPFDocFixture != null) { _hWPFDocFixture.tearDown(); } diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/TestFieldsTables.java b/src/scratchpad/testcases/org/apache/poi/hwpf/TestFieldsTables.java index a0c71f81f5..095d776571 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/TestFieldsTables.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/TestFieldsTables.java @@ -68,6 +68,7 @@ public class TestFieldsTables extends HWPFTestCase { } + @Override protected String getTestFile() { return "test-fields.doc"; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java b/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java index d8724eb0b9..e065b0999b 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java @@ -44,7 +44,8 @@ public final class TestHWPFPictures extends TestCase { private String imgCFile; private String imgDFile; - protected void setUp() { + @Override + protected void setUp() { docAFile = "testPictures.doc"; docBFile = "two_images.doc"; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFRangeParts.java b/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFRangeParts.java index 5ab3e889f1..8fce4e5587 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFRangeParts.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFRangeParts.java @@ -93,7 +93,8 @@ public final class TestHWPFRangeParts extends TestCase { */ private HWPFDocument docUnicode; - public void setUp() { + @Override + public void setUp() { docUnicode = HWPFTestDataSamples.openSampleFile("HeaderFooterUnicode.doc"); docAscii = HWPFTestDataSamples.openSampleFile("ThreeColHeadFoot.doc"); } diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java index f567978a1f..f3194bf2f8 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java @@ -54,6 +54,7 @@ public class TestWordToConverterSuite "../document" ); for ( final File child : directory.listFiles( new FilenameFilter() { + @Override public boolean accept( File dir, String name ) { return name.endsWith( ".doc" ) && !failingFiles.contains( name ); diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java index b1c3fa8b24..1b18e5fd3a 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java @@ -59,6 +59,7 @@ public class TestWordToHtmlConverter { wordToHtmlConverter.setPicturesManager( new PicturesManager() { + @Override public String savePicture( byte[] content, PictureType pictureType, String suggestedName, float widthInches, float heightInches ) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java index 2ecd482892..88ed7c3a0f 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java @@ -49,7 +49,8 @@ public final class TestDifferentRoutes extends TestCase { private HWPFDocument doc; - protected void setUp() { + @Override + protected void setUp() { doc = HWPFTestDataSamples.openSampleFile("test2.doc"); } diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java index af6aa652f5..9085630551 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java @@ -80,7 +80,8 @@ public final class TestWordExtractor extends TestCase { // With footnote private String filename6; - protected void setUp() throws Exception { + @Override + protected void setUp() throws Exception { String filename = "test2.doc"; String filename2 = "test.doc"; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestCHPBinTable.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestCHPBinTable.java index d98390dacc..3ee35eded0 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestCHPBinTable.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestCHPBinTable.java @@ -73,7 +73,8 @@ public final class TestCHPBinTable } } - protected void setUp() + @Override +protected void setUp() throws Exception { super.setUp(); @@ -82,7 +83,8 @@ public final class TestCHPBinTable _hWPFDocFixture.setUp(); } - protected void tearDown() + @Override +protected void tearDown() throws Exception { _cHPBinTable = null; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFontTable.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFontTable.java index 6a781851fc..fa4dc3e129 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFontTable.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFontTable.java @@ -53,7 +53,8 @@ public final class TestFontTable } - protected void setUp() + @Override +protected void setUp() throws Exception { super.setUp(); @@ -63,7 +64,8 @@ public final class TestFontTable _hWPFDocFixture.setUp(); } - protected void tearDown() + @Override +protected void tearDown() throws Exception { _hWPFDocFixture.tearDown(); diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPlexOfCps.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPlexOfCps.java index f5f3162363..07540541e3 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPlexOfCps.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPlexOfCps.java @@ -56,7 +56,8 @@ public final class TestPlexOfCps assertEquals(node.getEnd()-node.getStart(), span); } } - protected void setUp() + @Override +protected void setUp() throws Exception { super.setUp(); @@ -66,7 +67,8 @@ public final class TestPlexOfCps _hWPFDocFixture.setUp(); } - protected void tearDown() + @Override +protected void tearDown() throws Exception { _plexOfCps = null; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSectionTable.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSectionTable.java index 6fb92165cb..1ca57b098b 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSectionTable.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSectionTable.java @@ -85,7 +85,8 @@ public final class TestSectionTable } } - protected void setUp() + @Override +protected void setUp() throws Exception { super.setUp(); @@ -95,7 +96,8 @@ public final class TestSectionTable _hWPFDocFixture.setUp(); } - protected void tearDown() + @Override +protected void tearDown() throws Exception { _hWPFDocFixture.tearDown(); diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestStyleSheet.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestStyleSheet.java index af9921a6f3..41677ddfba 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestStyleSheet.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestStyleSheet.java @@ -61,7 +61,8 @@ public final class TestStyleSheet assertEquals(newStyleSheet, _styleSheet); } - protected void setUp() + @Override +protected void setUp() throws Exception { super.setUp(); @@ -76,7 +77,8 @@ public final class TestStyleSheet _styleSheet = new StyleSheet(tableStream, fib.getFcStshf()); } - protected void tearDown() + @Override +protected void tearDown() throws Exception { _styleSheet = null; diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHeaderStories.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHeaderStories.java index ec9e2f9440..0aa4b31626 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHeaderStories.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHeaderStories.java @@ -35,7 +35,8 @@ public final class TestHeaderStories extends TestCase { private HWPFDocument unicode; private HWPFDocument withFields; - protected void setUp() { + @Override + protected void setUp() { none = HWPFTestDataSamples.openSampleFile("NoHeadFoot.doc"); header = HWPFTestDataSamples.openSampleFile("ThreeColHead.doc"); diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeDelete.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeDelete.java index 5e32812e8d..4d0648b39a 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeDelete.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeDelete.java @@ -46,7 +46,8 @@ public final class TestRangeDelete extends TestCase { private String illustrativeDocFile; - protected void setUp() { + @Override + protected void setUp() { illustrativeDocFile = "testRangeDelete.doc"; } diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeInsertion.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeInsertion.java index ededa32755..79c2af67f1 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeInsertion.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeInsertion.java @@ -38,7 +38,8 @@ public final class TestRangeInsertion extends TestCase { private String illustrativeDocFile; - protected void setUp() { + @Override + protected void setUp() { illustrativeDocFile = "testRangeInsertion.doc"; } diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeProperties.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeProperties.java index e0db917ec6..0865189a22 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeProperties.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeProperties.java @@ -64,6 +64,7 @@ public final class TestRangeProperties extends TestCase { private HWPFDocument u; private HWPFDocument a; + @Override protected void setUp() { u = HWPFTestDataSamples.openSampleFile("HeaderFooterUnicode.doc"); a = HWPFTestDataSamples.openSampleFile("SampleDoc.doc"); |