- * See - * http://poi.apache.org/spreadsheet/how-to.html#sxssf. + * See + * https://poi.apache.org/spreadsheet/how-to.html#sxssf. *
* If you really want to use this approach, which is also the one that SXSSF * does for you, it works as follows: @@ -72,8 +72,8 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook; * to all rows in the document. Older rows that are no longer in the window * become inaccessible, as they are written to the disk. *
- * See - * http://poi.apache.org/spreadsheet/how-to.html#sxssf. + * See + * https://poi.apache.org/spreadsheet/how-to.html#sxssf. */ public final class BigGridDemo { private static final String XML_ENCODING = "UTF-8"; diff --git a/src/examples/src/org/apache/poi/xssf/usermodel/examples/HyperlinkExample.java b/src/examples/src/org/apache/poi/xssf/usermodel/examples/HyperlinkExample.java index 34586fb97e..e5663ecf42 100644 --- a/src/examples/src/org/apache/poi/xssf/usermodel/examples/HyperlinkExample.java +++ b/src/examples/src/org/apache/poi/xssf/usermodel/examples/HyperlinkExample.java @@ -54,7 +54,7 @@ public class HyperlinkExample { cell.setCellValue("URL Link"); Hyperlink link = createHelper.createHyperlink(HyperlinkType.URL); - link.setAddress("http://poi.apache.org/"); + link.setAddress("https://poi.apache.org/"); cell.setHyperlink(link); cell.setCellStyle(hlink_style); diff --git a/src/java/org/apache/poi/hssf/package-info.java b/src/java/org/apache/poi/hssf/package-info.java index eb95f0d058..43f8bcbe65 100644 --- a/src/java/org/apache/poi/hssf/package-info.java +++ b/src/java/org/apache/poi/hssf/package-info.java @@ -18,6 +18,6 @@ /** * Horrible SpreadSheet Format API's for reading/writting Excel files using pure Java. * - * @see Overview, tutorials, examples, guides, and tool documentation + * @see Overview, tutorials, examples, guides, and tool documentation */ package org.apache.poi.hssf; diff --git a/src/java/org/apache/poi/poifs/crypt/package-info.java b/src/java/org/apache/poi/poifs/crypt/package-info.java index 924b54ec15..df27963002 100644 --- a/src/java/org/apache/poi/poifs/crypt/package-info.java +++ b/src/java/org/apache/poi/poifs/crypt/package-info.java @@ -29,7 +29,7 @@ *Package
object,
- * see http://poi.apache.org/oxml4j/.
+ * see https://poi.apache.org/oxml4j/.
*
* Once you have finished working with the Workbook, you should close the package
* by calling either {@link #close()} or {@link OPCPackage#close()}, to avoid
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
index d83de633cf..0a893b1503 100644
--- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
+++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java
@@ -211,7 +211,7 @@ public class TestXSLFBugs {
XSLFTextRun r = p.addNewTextRun();
p.addLineBreak();
r.setText("Apache POI");
- r.createHyperlink().setAddress("http://poi.apache.org");
+ r.createHyperlink().setAddress("https://poi.apache.org");
// create hyperlink pointing to a page, which isn't available at the time of importing the content
r = p.addNewTextRun();
r.setText("Slide 2");
@@ -233,7 +233,7 @@ public class TestXSLFBugs {
XSLFTextParagraph p = shape.getTextParagraphs().get(1);
XSLFHyperlink h1 = p.getTextRuns().get(0).getHyperlink();
assertNotNull(h1);
- assertEquals("http://poi.apache.org", h1.getAddress());
+ assertEquals("https://poi.apache.org", h1.getAddress());
XSLFHyperlink h2 = p.getTextRuns().get(2).getHyperlink();
assertNotNull(h2);
// relative url will be resolved to an absolute url, therefore this doesn't equals to "slide2.xml"
@@ -724,8 +724,8 @@ public class TestXSLFBugs {
@Test
public void bug59434() throws IOException {
- String url1 = "http://poi.apache.org/changes.html";
- String url2 = "http://poi.apache.org/faq.html";
+ String url1 = "https://poi.apache.org/changes.html";
+ String url2 = "https://poi.apache.org/faq.html";
XMLSlideShow ppt1 = new XMLSlideShow();
PictureData pd1 = ppt1.addPicture(slTests.readFile("tomcat.png"), PictureType.PNG);
PictureData pd2 = ppt1.addPicture(slTests.readFile("santa.wmf"), PictureType.WMF);
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java
index 4c4152badb..08dfe3913a 100644
--- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java
+++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java
@@ -56,7 +56,7 @@ public class TestXSLFHyperlink {
XSLFHyperlink link3 = cell3.getTextParagraphs().get(0).getTextRuns().get(0).getHyperlink();
assertNotNull(link3);
assertEquals("mailto:dev@poi.apache.org?subject=Hi%20There", link3.getAddress());
-
+
ppt.close();
}
@@ -99,7 +99,7 @@ public class TestXSLFHyperlink {
assertEquals(id2, rel2.getId());
assertEquals(TargetMode.INTERNAL, rel2.getTargetMode());
assertEquals(XSLFRelation.SLIDE.getRelation(), rel2.getRelationshipType());
-
+
ppt.close();
}
@@ -174,7 +174,7 @@ public class TestXSLFHyperlink {
assertNotNull(hl5);
assertEquals("firstslide", hl5.getXmlObject().getAction().split("=")[1]);
assertEquals(HyperlinkType.DOCUMENT, hl5.getType());
-
+
ppt2.close();
}
}
\ No newline at end of file
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java
index 463322a535..4dae58a238 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java
@@ -265,7 +265,7 @@ public final class TestXSSFCell extends BaseTestXCell {
XSSFWorkbook wb2 = (XSSFWorkbook)_testDataProvider.writeOutAndReadBack(wb1);
row = wb2.getSheetAt(0).getRow(0);
assertCellsWithMissingR(row);
-
+
wb2.close();
wb1.close();
}
@@ -338,7 +338,7 @@ public final class TestXSSFCell extends BaseTestXCell {
wbRef.close();
wb.close();
}
-
+
@Test
public void test56170() throws IOException {
final Workbook wb1 = XSSFTestDataSamples.openSampleWorkbook("56170.xlsx");
@@ -346,7 +346,7 @@ public final class TestXSSFCell extends BaseTestXCell {
Workbook wb2 = XSSFTestDataSamples.writeOutAndReadBack(wb1);
Cell cell;
-
+
// add some contents to table so that the table will need expansion
Row row = sheet.getRow(0);
Workbook wb3 = XSSFTestDataSamples.writeOutAndReadBack(wb2);
@@ -363,7 +363,7 @@ public final class TestXSSFCell extends BaseTestXCell {
cell.setCellValue("demo3");
Workbook wb9 = XSSFTestDataSamples.writeOutAndReadBack(wb8);
-
+
row = sheet.getRow(1);
cell = row.createCell(0);
cell.setCellValue("demo1");
@@ -373,7 +373,7 @@ public final class TestXSSFCell extends BaseTestXCell {
cell.setCellValue("demo3");
Workbook wb10 = XSSFTestDataSamples.writeOutAndReadBack(wb9);
-
+
// expand table
XSSFTable table = sheet.getTables().get(0);
final CellReference startRef = table.getStartCellReference();
@@ -395,7 +395,7 @@ public final class TestXSSFCell extends BaseTestXCell {
wb2.close();
wb1.close();
}
-
+
@Test
public void test56170Reproduce() throws IOException {
try (Workbook wb = new XSSFWorkbook()) {
@@ -437,11 +437,11 @@ public final class TestXSSFCell extends BaseTestXCell {
private void validateRow(Row row) {
// trigger bug with CArray handling
((XSSFRow)row).onDocumentWrite();
-
+
for(Cell cell : row) {
assertNotNull(cell.toString());
}
- }
+ }
@Test
public void testBug56644ReturnNull() throws IOException {
@@ -526,59 +526,59 @@ public final class TestXSSFCell extends BaseTestXCell {
}
private XSSFCell srcCell, destCell; //used for testCopyCellFrom_CellCopyPolicy
-
+
@Test
public final void testCopyCellFrom_CellCopyPolicy_default() {
setUp_testCopyCellFrom_CellCopyPolicy();
-
+
// default copy policy
final CellCopyPolicy policy = new CellCopyPolicy();
destCell.copyCellFrom(srcCell, policy);
-
+
assertEquals(CellType.FORMULA, destCell.getCellType());
assertEquals("2+3", destCell.getCellFormula());
assertEquals(srcCell.getCellStyle(), destCell.getCellStyle());
}
-
+
@Test
public final void testCopyCellFrom_CellCopyPolicy_value() {
setUp_testCopyCellFrom_CellCopyPolicy();
-
+
// Paste values only
final CellCopyPolicy policy = new CellCopyPolicy.Builder().cellFormula(false).build();
destCell.copyCellFrom(srcCell, policy);
assertEquals(CellType.NUMERIC, destCell.getCellType());
}
-
+
@Test
public final void testCopyCellFrom_CellCopyPolicy_formulaWithUnregisteredUDF() {
setUp_testCopyCellFrom_CellCopyPolicy();
-
+
srcCell.setCellFormula("MYFUNC2(123, $A5, Sheet1!$B7)");
-
+
// Copy formula verbatim (no shifting). This is okay because copyCellFrom is Internal.
// Users should use higher-level copying functions to row- or column-shift formulas.
final CellCopyPolicy policy = new CellCopyPolicy.Builder().cellFormula(true).build();
destCell.copyCellFrom(srcCell, policy);
assertEquals("MYFUNC2(123, $A5, Sheet1!$B7)", destCell.getCellFormula());
}
-
+
@Test
public final void testCopyCellFrom_CellCopyPolicy_style() {
setUp_testCopyCellFrom_CellCopyPolicy();
srcCell.setCellValue((String) null);
-
+
// Paste styles only
final CellCopyPolicy policy = new CellCopyPolicy.Builder().cellValue(false).build();
destCell.copyCellFrom(srcCell, policy);
assertEquals(srcCell.getCellStyle(), destCell.getCellStyle());
-
+
// Old cell value should not have been overwritten
assertNotEquals(CellType.BLANK, destCell.getCellType());
assertEquals(CellType.BOOLEAN, destCell.getCellType());
assertTrue(destCell.getBooleanCellValue());
}
-
+
@Test
public final void testCopyCellFrom_CellCopyPolicy_copyHyperlink() throws IOException {
setUp_testCopyCellFrom_CellCopyPolicy();
@@ -587,7 +587,7 @@ public final class TestXSSFCell extends BaseTestXCell {
srcCell.setCellValue("URL LINK");
Hyperlink link = createHelper.createHyperlink(HyperlinkType.URL);
- link.setAddress("http://poi.apache.org/");
+ link.setAddress("https://poi.apache.org/");
srcCell.setHyperlink(link);
// Set link cell style (optional)
@@ -607,7 +607,7 @@ public final class TestXSSFCell extends BaseTestXCell {
new CellAddress(srcCell).formatAsString(), links.get(0).getCellRef());
assertEquals("destination hyperlink",
new CellAddress(destCell).formatAsString(), links.get(1).getCellRef());
-
+
wb.close();
}
@@ -628,7 +628,7 @@ public final class TestXSSFCell extends BaseTestXCell {
srcCell.setCellValue("URL LINK");
Hyperlink link = createHelper.createHyperlink(HyperlinkType.URL);
- link.setAddress("http://poi.apache.org/");
+ link.setAddress("https://poi.apache.org/");
destCell.setHyperlink(link);
// Set link cell style (optional)
@@ -651,36 +651,36 @@ public final class TestXSSFCell extends BaseTestXCell {
assertEquals("number of hyperlinks on sheet", 1, links.size());
assertEquals("source hyperlink",
new CellAddress(destCell).formatAsString(), links.get(0).getCellRef());
-
+
// Merge destCell's hyperlink to srcCell. Since destCell does have a hyperlink, this should copy destCell's hyperlink to srcCell.
srcCell.copyCellFrom(destCell, policy);
assertNotNull(srcCell.getHyperlink());
assertNotNull(destCell.getHyperlink());
-
+
links = srcCell.getSheet().getHyperlinkList();
assertEquals("number of hyperlinks on sheet", 2, links.size());
assertEquals("dest hyperlink",
new CellAddress(destCell).formatAsString(), links.get(0).getCellRef());
assertEquals("source hyperlink",
new CellAddress(srcCell).formatAsString(), links.get(1).getCellRef());
-
+
wb.close();
}
-
+
private void setUp_testCopyCellFrom_CellCopyPolicy() {
@SuppressWarnings("resource")
final XSSFWorkbook wb = new XSSFWorkbook();
final XSSFRow row = wb.createSheet("Sheet1").createRow(0);
srcCell = row.createCell(0);
destCell = row.createCell(1);
-
+
srcCell.setCellFormula("2+3");
-
+
final CellStyle style = wb.createCellStyle();
style.setBorderTop(BorderStyle.THICK);
style.setFillBackgroundColor((short) 5);
srcCell.setCellStyle(style);
-
+
destCell.setCellValue(true);
}
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
index 0a7cf4a2f5..faadec0b62 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFHyperlink.java
@@ -57,7 +57,7 @@ public final class TestXSSFHyperlink extends BaseTestHyperlink {
XSSFSheet sheet = workbook.createSheet();
XSSFRow row = sheet.createRow(0);
XSSFCreationHelper createHelper = workbook.getCreationHelper();
-
+
String[] urls = {
"http://apache.org",
"www.apache.org",
@@ -273,12 +273,12 @@ public final class TestXSSFHyperlink extends BaseTestHyperlink {
}
}
}
-
+
@Override
public XSSFHyperlink copyHyperlink(Hyperlink link) {
return new XSSFHyperlink(link);
}
-
+
@Test
public void testCopyHSSFHyperlink() throws IOException {
HSSFWorkbook hssfworkbook = new HSSFWorkbook();
@@ -290,15 +290,15 @@ public final class TestXSSFHyperlink extends BaseTestHyperlink {
hlink.setLastRow(6);
hlink.setLabel("label");
XSSFHyperlink xlink = new XSSFHyperlink(hlink);
-
+
assertEquals("http://poi.apache.org/", xlink.getAddress());
assertEquals(new CellReference(2, 3), new CellReference(xlink.getCellRef()));
// Are HSSFHyperlink.label and XSSFHyperlink.tooltip the same? If so, perhaps one of these needs renamed for a consistent Hyperlink interface
// assertEquals("label", xlink.getTooltip());
-
+
hssfworkbook.close();
}
-
+
/* bug 59775: XSSFHyperlink has wrong type if it contains a location (CTHyperlink#getLocation)
* URLs with a hash mark (#) are still URL hyperlinks, not document links
*/
@@ -310,27 +310,27 @@ public final class TestXSSFHyperlink extends BaseTestHyperlink {
CellAddress A3 = new CellAddress("A3");
CellAddress A4 = new CellAddress("A4");
CellAddress A7 = new CellAddress("A7");
-
+
XSSFHyperlink link = sh.getHyperlink(A2);
assertEquals("address", "A2", link.getCellRef());
assertEquals("link type", HyperlinkType.URL, link.getType());
assertEquals("link target", "http://twitter.com/#!/apacheorg", link.getAddress());
-
+
link = sh.getHyperlink(A3);
assertEquals("address", "A3", link.getCellRef());
assertEquals("link type", HyperlinkType.URL, link.getType());
assertEquals("link target", "http://www.bailii.org/databases.html#ie", link.getAddress());
-
+
link = sh.getHyperlink(A4);
assertEquals("address", "A4", link.getCellRef());
assertEquals("link type", HyperlinkType.URL, link.getType());
assertEquals("link target", "https://en.wikipedia.org/wiki/Apache_POI#See_also", link.getAddress());
-
+
link = sh.getHyperlink(A7);
assertEquals("address", "A7", link.getCellRef());
assertEquals("link type", HyperlinkType.DOCUMENT, link.getType());
assertEquals("link target", "Sheet1", link.getAddress());
-
+
wb.close();
}
diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFDocument.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFDocument.java
index cb9b102bd9..a63ca0c256 100644
--- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFDocument.java
+++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFDocument.java
@@ -65,7 +65,7 @@ public final class TestXWPFDocument {
// }
}
assertTrue(found);
-
+
pack.close();
doc.close();
}
@@ -195,12 +195,17 @@ public final class TestXWPFDocument {
public void testAddHyperlink() throws IOException {
try (XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("SampleDoc.docx")) {
XWPFParagraph p = doc.createParagraph();
- XWPFHyperlinkRun h = p.createHyperlinkRun("http://poi.apache.org/");
+ XWPFHyperlinkRun h = p.createHyperlinkRun("https://poi.apache.org/");
h.setText("Apache POI");
- assertEquals("http://poi.apache.org/", h.getHyperlink(doc).getURL());
+ assertEquals("https://poi.apache.org/", h.getHyperlink(doc).getURL());
assertEquals(p.getRuns().size(), 1);
assertEquals(p.getRuns().get(0), h);
+
+ h = p.createHyperlinkRun("https://poi.apache.org/");
+ h.setText("Apache POI");
+
+ assertEquals("rId8", h.getHyperlinkId());
}
}
@@ -456,14 +461,14 @@ public final class TestXWPFDocument {
doc.close();
}
-
+
@Test
public void testEnforcedWith() throws IOException {
try (XWPFDocument docx = XWPFTestDataSamples.openSampleDocument("EnforcedWith.docx")) {
assertTrue(docx.isEnforcedProtection());
}
}
-
+
@Test
@Ignore("XWPF should be able to write to a new Stream when opened Read-Only")
public void testWriteFromReadOnlyOPC() throws Exception {
diff --git a/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java b/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
index c6353dae6d..09dca86a51 100644
--- a/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
+++ b/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
@@ -32,7 +32,7 @@ import org.junit.Test;
public final class TestPublisherTextExtractor {
private static final POIDataSamples _samples = POIDataSamples.getPublisherInstance();
- private static final String SAMPLE_TEXT =
+ private static final String SAMPLE_TEXT =
"This is some text on the first page\n" +
"It\u2019s in times new roman, font size 10, all normal\n" +
"" +
@@ -154,7 +154,7 @@ public final class TestPublisherTextExtractor {
*/
@Test
public void testWithHyperlinks() throws Exception {
- InputStream linkAt = _samples.openResourceAsStream("LinkAt10.pub");
+ InputStream linkAt = _samples.openResourceAsStream("LinkAt10.pub");
HPBFDocument doc = new HPBFDocument(linkAt);
PublisherTextExtractor ext = new PublisherTextExtractor(doc);
diff --git a/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java b/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java
index 31349cdbc9..d386664dce 100644
--- a/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java
+++ b/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java
@@ -68,7 +68,7 @@ public final class TestQuillContents {
assertEquals("STSH", qc.getBits()[3].getThingType());
assertEquals("STSH", qc.getBits()[3].getBitType());
assertEquals(2, qc.getBits()[3].getOptA());
-
+
doc.close();
}
@@ -85,7 +85,7 @@ public final class TestQuillContents {
String t = text.getText();
assertStartsWith(t, "This is some text on the first page");
assertEndsWith(t, "Within doc to page 1\r");
-
+
doc.close();
}
@@ -148,7 +148,7 @@ public final class TestQuillContents {
assertEquals(0x22000000, plc12.getPlcValB()[0]);
assertEquals(0x05, plc12.getPlcValA()[1]);
assertEquals(0x04, plc12.getPlcValB()[1]);
-
+
doc.close();
}
@@ -253,7 +253,7 @@ public final class TestQuillContents {
assertEquals(0x000004, plc16.getPlcValB()[4]);
assertEquals(0x000004, plc16.getPlcValA()[5]);
assertEquals(0x000004, plc16.getPlcValB()[5]);
-
+
doc.close();
}
@@ -272,7 +272,7 @@ public final class TestQuillContents {
assertEquals(0, plc18.getNumberOfHyperlinks());
assertEquals(0, plc18.getTextStartAt(0));
assertEquals(601, plc18.getAllTextEndAt());
-
+
doc.close();
}
@@ -347,7 +347,7 @@ public final class TestQuillContents {
assertEquals(10, hlBit.getTextStartAt(0));
assertEquals(15, hlBit.getAllTextEndAt());
assertEquals("http://poi.apache.org/", hlBit.getHyperlink(0));
-
+
doc.close();
}
diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHyperlink.java b/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHyperlink.java
index 73cef448f2..59a54dfe2e 100644
--- a/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHyperlink.java
+++ b/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHyperlink.java
@@ -91,7 +91,7 @@ public final class TestHyperlink {
assertEquals("Open Jakarta POI HSSF module test ", links.get(0).getLabel());
assertEquals("http://jakarta.apache.org/poi/hssf/", links.get(0).getAddress());
assertEquals("Jakarta HSSF", rawText.substring(links.get(0).getStartIndex(), links.get(0).getEndIndex()-1));
-
+
ppt.close();
}
@@ -115,7 +115,7 @@ public final class TestHyperlink {
hl3.linkToSlide(slide1);
HSLFTextRun r4 = ppt1.createSlide().createTextBox().setText("page4");
HSLFHyperlink hl4 = r4.createHyperlink();
- hl4.linkToUrl("http://poi.apache.org");
+ hl4.linkToUrl("https://poi.apache.org");
HSLFTextBox tb5 = ppt1.createSlide().createTextBox();
tb5.setText("page5");
HSLFHyperlink hl5 = tb5.createHyperlink();
@@ -146,7 +146,7 @@ public final class TestHyperlink {
HSLFTextBox tb4 = (HSLFTextBox)slides.get(3).getShapes().get(0);
hl4 = tb4.getTextParagraphs().get(0).getTextRuns().get(0).getHyperlink();
assertNotNull(hl4);
- assertEquals("http://poi.apache.org", hl4.getLabel());
+ assertEquals("https://poi.apache.org", hl4.getLabel());
assertEquals(HyperlinkType.URL, hl4.getType());
tb5 = (HSLFTextBox)slides.get(4).getShapes().get(0);
@@ -154,10 +154,10 @@ public final class TestHyperlink {
assertNotNull(hl5);
assertEquals(InteractiveInfoAtom.LINK_FirstSlide, hl5.getInfo().getInteractiveInfoAtom().getHyperlinkType());
assertEquals(HyperlinkType.DOCUMENT, hl5.getType());
-
+
ppt2.close();
}
-
+
private static List