42BV/pdf-library

Add padding on a table level as well

Closed this issue · 1 comments

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.

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.