10.07.2015 Views

Download - Multivac!

Download - Multivac!

Download - Multivac!

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

optlist = "Title=Insert parent=" + id_art;id_insert = p.begin_item("P", optlist);/* 5 create insert structure and content */p.set_text_pos(x_start_table, y_start_table);...p.end_item(id_insert);/* still more contents for the first section */p.activate_item(id_sect1);/* 6 create top part of right column */p.set_text_pos(x1_right, y1_right_top);...p.end_item(id_sect1);id_sect2 = p.begin_item("Sect", "Title={Second Section}");/* 7 create bottom part of right column */p.set_text_pos(x2_right, y2_right);.../* second section may be continued on next page(s) */p.end_item(id_sect2);id_footer = p.begin_item("Artifact", "");/* 8 create footer */p.set_text_pos(x_footer, y_footer);...p.end_item(id_footer);/* article may be continued on next page(s) */...p.end_item(id_art);With this ordering of structure elements the main text (which spans one and a half columns)is interrupted twice for the table and the insert. Therefore it must also be activatedtwice using PDF_activate_item( ).The same technique can be applied if the content spans multiple pages. For example,the header or other inserts could be created first, and then the main page content elementis activated again.9.6.4 Using Tagged PDF in AcrobatThis section mentions observations which we made while testing Tagged PDF output inAdobe Acrobat 7/8/9. The observations below are mostly related to bugs or inconsistentbehavior in Acrobat. Unless mentioned otherwise the observation relate to Acrobat 7, 8,and 9. A workaround is provided in cases where we found one.Acrobat’s Reflow Feature. Acrobat allows Tagged PDF documents to reflow, i.e. to adjustthe page contents to the current window size. While testing Tagged PDF we madeseveral observations regarding the reflow feature in Acrobat:> The order of content on the page should follow the desired reflow order.> Symbol (non-Unicode fonts) can cause Reflow in Acrobat 7 and 8 to crash, and candisable Reflow in Acrobat 9. For this reason it is recommended to put the text in aFigure element.> BLSEs may contain both structure children and direct content elements. In order forReflow feature (as well as Accessibility checker and Read Aloud) to work it is recom-222 Chapter 9: Generating various PDF Flavors

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!