You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1388,14 +1388,14 @@ public void tableWithHeaderFooterTest06() throws IOException, InterruptedExcepti
1388
1388
table.addCell(newCell().setBorderLeft(newSolidBorder(ColorConstants.BLUE, 0.5f)).setBorderRight(newSolidBorder(ColorConstants.BLUE, 0.5f)).setHeight(30).setBorderBottom(newSolidBorder(ColorConstants.BLUE, 2 * i + 1 > 50 ? 50 : 2 * i + 1)).setBorderTop(newSolidBorder(ColorConstants.GREEN, (50 - 2 * i + 1 >= 0) ? 50 - 2 * i + 1 : 0)).add(newParagraph(String.valueOf(i + 1))));
1389
1389
}
1390
1390
doc.add(table);
1391
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
@@ -1419,14 +1419,14 @@ public void tableWithHeaderFooterTest06A() throws IOException, InterruptedExcept
1419
1419
table.addCell(newCell().setBorderLeft(newSolidBorder(ColorConstants.BLUE, 0.5f)).setBorderRight(newSolidBorder(ColorConstants.BLUE, 0.5f)).setHeight(30).setBorderBottom(newSolidBorder(ColorConstants.BLUE, 2 * i + 1 > 50 ? 50 : 2 * i + 1)).setBorderTop(newSolidBorder(ColorConstants.GREEN, (50 - 2 * i + 1 >= 0) ? 50 - 2 * i + 1 : 0)).add(newParagraph(String.valueOf(i + 1))));
1420
1420
}
1421
1421
doc.add(table);
1422
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
@@ -1450,14 +1450,14 @@ public void tableWithHeaderFooterTest06B() throws IOException, InterruptedExcept
1450
1450
table.addCell(newCell().setBorderLeft(newSolidBorder(ColorConstants.BLUE, 0.5f)).setBorderRight(newSolidBorder(ColorConstants.BLUE, 0.5f)).setHeight(30).setBorderTop(newSolidBorder(ColorConstants.BLUE, 2 * i + 1 > 50 ? 50 : 2 * i + 1)).setBorderBottom(newSolidBorder(ColorConstants.GREEN, (50 - 2 * i + 1 >= 0) ? 50 - 2 * i + 1 : 0)).add(newParagraph(String.valueOf(i + 1))));
1451
1451
}
1452
1452
doc.add(table);
1453
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
@@ -1656,15 +1656,15 @@ public void tableWithHeaderFooterTest11() throws IOException, InterruptedExcepti
1656
1656
table.setSkipLastFooter(true);
1657
1657
1658
1658
doc.add(table);
1659
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
@@ -1691,15 +1691,15 @@ public void tableWithHeaderFooterTest11A() throws IOException, InterruptedExcept
1691
1691
1692
1692
table.setSkipLastFooter(true);
1693
1693
doc.add(table);
1694
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
@@ -1880,13 +1880,13 @@ public void tableWithHeaderFooterTest17() throws IOException, InterruptedExcepti
1880
1880
table.setSkipLastFooter(true);
1881
1881
1882
1882
doc.add(table);
1883
-
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
doc.add(newTable(UnitValue.createPercentArray(1)).useAllAvailableWidth().setBorder(newSolidBorder(ColorConstants.ORANGE, 2)).addCell("Is my occupied area correct?"));
0 commit comments