Revision 392d31d2
Von Sven Schöling vor fast 9 Jahren hinzugefügt
modules/override/PDF/Table.pm | ||
---|---|---|
491 | 491 |
$rows_height->[$row_idx] = $cell_font_size; |
492 | 492 |
} |
493 | 493 |
|
494 |
if (!defined $data->[$row_idx][$column_idx]) { |
|
495 |
$data->[$row_idx][$column_idx] = ' '; |
|
496 |
} |
|
497 |
|
|
494 | 498 |
# This should fix a bug with very long words like serial numbers etc. |
495 |
if( $max_word_len > 0 ) |
|
499 |
if( $max_word_len > 0 && $data->[$row_idx][$column_idx])
|
|
496 | 500 |
{ |
497 | 501 |
$data->[$row_idx][$column_idx] =~ s#(\S{$max_word_len})(?=\S)#$1 #g; |
498 | 502 |
} |
Auch abrufbar als: Unified diff
PDF::Table - einige undefined warnings gefixt