Changeset 30742
- Timestamp:
- 2016-08-24T13:37:00+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r30492 r30742 439 439 440 440 if ($self->{'use_sections'} && $self->{'converted_to'} eq "HTML") { 441 # we explicitly make it a paged document, cos greenstone won't get it441 # For gs2 we explicitly make it a paged document, cos greenstone won't get it 442 442 # right if any section has an empty title, or one with letters in it 443 $doc_obj->set_utf8_metadata_element ($cursection, "gsdlthistype", "Paged"); 443 if (&util::is_gs3()) { 444 # but for gs3, paged docs currently use image slider which is ugly if there are no images 445 $doc_obj->set_utf8_metadata_element ($cursection, "gsdlthistype", "Hierarchy"); 446 } else { 447 $doc_obj->set_utf8_metadata_element ($cursection, "gsdlthistype", "Paged"); 448 } 444 449 } 445 450
Note:
See TracChangeset
for help on using the changeset viewer.