View | Details | Raw Unified | Return to bug 47548
Collapse All | Expand All

(-)a/src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java (+3 lines)
Lines 197-202 public class RecordFactoryInputStream { Link Here
197
                } else if (lastRecord instanceof DrawingGroupRecord) {
197
                } else if (lastRecord instanceof DrawingGroupRecord) {
198
                    ((DrawingGroupRecord) lastRecord).processContinueRecord(contRec.getData());
198
                    ((DrawingGroupRecord) lastRecord).processContinueRecord(contRec.getData());
199
                    return null;
199
                    return null;
200
                } else if (lastRecord instanceof DrawingRecord) {
201
                    ((DrawingRecord) lastRecord).processContinueRecord(contRec.getData());
202
                    return null;
200
                } else if (lastRecord instanceof UnknownRecord) {
203
                } else if (lastRecord instanceof UnknownRecord) {
201
                    //Gracefully handle records that we don't know about,
204
                    //Gracefully handle records that we don't know about,
202
                    //that happen to be continued
205
                    //that happen to be continued
(-)a/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java (+9 lines)
Lines 289-292 public final class TestExcelExtractor extends TestCase { Link Here
289
			assertTrue("Unable to find expected word in text\n" + text, text.indexOf("test phrase") >= 0);
289
			assertTrue("Unable to find expected word in text\n" + text, text.indexOf("test phrase") >= 0);
290
		}
290
		}
291
	}
291
	}
292
293
        /**
294
         * Test that we get text from headers and footers
295
         */
296
        public void testGraphContinue() {
297
                ExcelExtractor extractor = createExtractor("drawing_continue.xls");
298
                extractor.getText();
299
        }
300
292
}
301
}

Return to bug 47548