From 4e1bfacab80ce124853b4648c1808b576097b355 Mon Sep 17 00:00:00 2001 From: GitBrent Date: Tue, 14 Nov 2017 19:36:19 -0600 Subject: [PATCH] Updated auto-paging text --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 552efbb5e..d80ea91a8 100644 --- a/README.md +++ b/README.md @@ -758,12 +758,9 @@ slide.addTable( [rows], {any Layout/Formatting OPTIONS} ); | :-------------- | :------ | :------ | :--------------------- | :--------------------------------------------------------- | | `autoPage` | boolean | `true` | auto-page table | `true` or `false`. Ex: `{autoPage:false}` | | `lineWeight` | float | 0 | line weight value | -1.0 to 1.0. Ex: `{lineWeight:0.5}` | -| `newPageStartY` | number/string | | starting `y` value for tables on new Slides | 0-n OR 'n%'. Ex:`{newPageStartY:0.5}` | - -### Table Auto-Paging Notes -Tables will auto-page by default and the table on new Slides will use the current Slide's top `margin` value as the starting point for `y`. -Tables will retain their existing `x`, `w`, and `colW` values as they are continued onto subsequent Slides. +| `newPageStartY` | number/string | | starting `y` value for tables on new Slides | 0-n OR 'n%'. Ex:`{newPageStartY:0.5}` | +Option Details: * `autoPage`: allows the auto-paging functionality (as table rows overflow the Slide, new Slides will be added) to be disabled. * `lineWeight`: adjusts the calculated height of lines. If too much empty space is left under each table, then increase lineWeight value. Conversely, if the tables are overflowing the bottom of the Slides, then @@ -772,6 +769,12 @@ reduce the lineWeight value. Also helpful when using some fonts that do not have you may place a table halfway down a Slide, but you wouldn't that to be the starting location for subsequent tables. Use this option to ensure there is no wasted space and to guarantee a professional look. +### Table Auto-Paging Notes +* New slides will be created as tables overflow. The table will start at either `newPageStartY` (if present) or the Slide's top `margin`. +* Tables will retain their existing `x`, `w`, and `colW` values as they are rendered onto subsequent Slides. +* Auto-paging is not an exact science! Try using different `lineWeight` and Slide margin values if your tables are overflowing the Slide. +* There are many examples of auto-paging in the `examples` folder. + ### Table Formatting Options | Option | Type | Unit | Default | Description | Possible Values | | :----------- | :------ | :----- | :-------- | :----------------- | :-------------------------------------------------------------------------------- |