42BV / pdf-library

Toucan-PDF
http://www.toucanpdf.org
9 stars 3 forks source link

Add padding on a table level as well #48

Closed DylanDeWolff closed 9 years ago

DylanDeWolff commented 9 years ago

Currently value padding is specified on a cell level, if the user wants to adjust the default padding for the entire table it will require setting this new value for each cell individually. Tables should have their own padding that works the same as borders. If a cell does not have a specified padding, use the table value, and if the cell does have a specified value simply ignore the table value. These should probably be extracted into a separate interface.

DylanDeWolff commented 9 years ago

Padding is now specified on table level and cell level, cell level is null by default. Any cells that maintain this default value will get their value replaced by the table padding value which is 5 by default.