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.

* This will also delete Textflow handles used in the table */p.delete_table(tbl, "");Headers and footers. With the header and footer options of PDF_fit_table( ) you can definethe number of initial or final table rows which will be placed at the top or bottom ofa table instance. Using the fill option with area=header or area=footer, headers and footerscan be individually filled with color. Header rows consist of the first n rows of the tabledefinition and footer rows of the last m rows.Headers and footers are specified per table instance in PDF_fit_table( ). Consequently,they can differ among table instances: while some table instances include headers/footers,others can omit them, e.g. to specify a special row in the last table instance.Joining rows. In order to ensure that a set of rows will be kept together in the same tableinstance, they can be assigned to the same row join group using the rowjoingroup option.The row join group contains multiple consecutive rows. All rows in the group willbe prevented from being separated into multiple table instances.The rows of a cell spanning these rows don’t constitute a join group automatically.Fitbox too low. If the fitbox is too low to hold the required header and footer rows, andat least one body row or row join group the row heights will be decreased uniformly untilthe table fits into the fitbox. However, if the required shrinking factor is smaller thanthe limit set in vertshrinklimit, no shrinking will be performed and PDF_fit_table( ) will returnthe string _error instead, or the respective error message. In order to avoid anyshrinking use vertshrinklimit=100%.Fitbox too narrow. The coordinates of the table’s fitbox are explicitly supplied in thecall to PDF_fit_table( ). If the actual table width as calculated from the sum of the suppliedcolumn widths exceeds the table’s fitbox, all columns will be reduced until the tablefits into the fitbox. However, if the required shrinking factor is smaller than the limitset in horshrinklimit, no shrinking will be performed and PDF_fit_table( ) will return thestring _error instead, or the respective error message. In order to avoid any shrinkinguse horshrinklimit=100%.Splitting a cell. If the last rows spanned by a cell doesn’t fit in the fitbox the cell will besplit. In case of an image, PDI page or text line cell, the cell contents will be repeated inthe next table instance. In case of a Textflow cell, the cell contents will continue in theremaining rows of the cell.Figure 7.43 shows how the Textflow cell will be split while the Textflow continues inthe next row. In Figure 7.44, an image cell is shown which will be repeated in the firstrow of the next table instance.tableinstance 11 Giant WingMaterialOffset print paper 220g/sqmOur paper planes are theideal way of passing thetime. We offer revolutionaryFig. 7.43Splitting a celltableinstance 2BenefitIt is amazingly robust andcan even do aerobatics. Butit is best suited to gliding.new developments of thetraditional common paperplanes.7.4 Table Formatting 175

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

Saved successfully!

Ooh no, something went wrong!