Since we can have multiples options to configure the generation of pdfs, I think that is useful to make a Map structure with the settings a pass it to the classes: HtmlToPdf and HtmlToPdfObject.
This way we can load a bunch of settings (e.g. from external properties files) in a few lines of code.
So, I propose to add two new methods to allow the update the settings with a Map.
Since we can have multiples options to configure the generation of pdfs, I think that is useful to make a Map structure with the settings a pass it to the classes: HtmlToPdf and HtmlToPdfObject.
This way we can load a bunch of settings (e.g. from external properties files) in a few lines of code.
So, I propose to add two new methods to allow the update the settings with a Map.