Skip to content

Commit

Permalink
Merge pull request #633 from veraPDF/table_row_span
Browse files Browse the repository at this point in the history
Fix calculating number of rows of table
  • Loading branch information
MaximPlusov authored Jan 12, 2024
2 parents b4a8f80 + bf5497e commit b41da40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private boolean hasScope(GFSETableCell[][] cells, int numberOfRows, int numberOf

private boolean checkRegular(List<GFPDStructElem> listTR, GFSETableCell[][] cells,
int numberOfRows, int numberOfColumns, List<Integer> rowGroupingsIndexes) {
for (int rowNumber = 0; rowNumber < numberOfRows; rowNumber++) {
for (int rowNumber = 0; rowNumber < listTR.size(); rowNumber++) {
int columnNumber = 0;
for (PDStructElem elem : listTR.get(rowNumber).getStructuralSignificanceChildren()) {
String type = elem.getstandardType();
Expand Down

0 comments on commit b41da40

Please sign in to comment.