Revision dfa3f845
Von Sven Schöling vor mehr als 5 Jahren hinzugefügt
modules/override/PDF/Table.pm | ||
---|---|---|
505 | 505 |
$rows_height->[$row_idx] = $cell_font_size; |
506 | 506 |
} |
507 | 507 |
|
508 |
if (!defined $data->[$row_idx][$column_idx]) { |
|
509 |
$data->[$row_idx][$column_idx] = ' '; |
|
510 |
} |
|
511 |
|
|
508 | 512 |
# This should fix a bug with very long words like serial numbers etc. |
509 |
if( $max_word_len > 0 ) |
|
513 |
if( $max_word_len > 0 && $data->[$row_idx][$column_idx])
|
|
510 | 514 |
{ |
511 | 515 |
$data->[$row_idx][$column_idx] =~ s#(\S{$max_word_len})(?=\S)#$1 #g; |
512 | 516 |
} |
Auch abrufbar als: Unified diff
PDF::Table - einige undefined warnings gefixt