Ignore:
Timestamp:
2011-06-23T20:21:11+12:00 (13 years ago)
Author:
ak19
Message:

Part 2 of 2 commits: PDF to text conversion for PDFBox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/pdf-box/trunk/java/perllib/plugins/PDFBoxConverter.pm

    r24141 r24200  
    151151    # messages concerning the converted_to member variable when PDFPlugin's
    152152    # use_sections option is checked.
    153     # PDFBox plugin still doesn't process use_sections, but can avoid msg.
    154     $self->{'converted_to'} = "HTML" if ($target_file_type eq "html");
     153    # PDFBox plugin now processes use_sections option, when working with v1.5.0
     154    # of the PDFBox jar file (which embeds each page in special <div> tags).
     155    if ($target_file_type eq "html") {
     156    $self->{'converted_to'} = "HTML";
     157    } else {
     158    $self->{'converted_to'} = "text";
     159    }
    155160
    156161    my $outhandle = $self->{'outhandle'};
Note: See TracChangeset for help on using the changeset viewer.