$id2nr->{ $id } = $nr++;
- $doc->appendParagraph(text => $abstract->{Title}->[0], style => 'Heading 1');
+ my $t = $doc->appendParagraph(text => $abstract->{Title}->[0], style => 'Heading 1');
+ $doc->setPageBreak( $t, position => 'before', style => 'Heading 1');
foreach my $a ( @{ $abstract->{PrimaryAuthor} } ) {
$doc->appendParagraph(text => join(' ',
$doc->appendParagraph(text => $abstract->{Content}->[0], style => 'Abstract');
- my $pg = $doc->appendParagraph();
- $doc->setPageBreak( $pg );
-
}
warn "# stat = ",dump($stat);