|
|
|
@ -539,7 +539,7 @@ public class PdfPTable implements LargeElement {
|
|
|
|
|
* @param indexList 要设置的列索引List |
|
|
|
|
*/ |
|
|
|
|
private void fillAbsoluteWidths(float[] colWidths, ArrayList<Integer> indexList) { |
|
|
|
|
for (int i = 0; i < indexList.size() && i < absoluteWidths.length; i++) { |
|
|
|
|
for (int i = 0; i < indexList.size() && indexList.get(i) < absoluteWidths.length; i++) { |
|
|
|
|
Integer index = indexList.get(i); |
|
|
|
|
absoluteWidths[index] = colWidths[index]; |
|
|
|
|
} |
|
|
|
|