Closed F21 closed 11 years ago
I would like to add zoom and margin and footer and header support.
zoom
margin
footer
header
We can of course, keep adding parameters to __construct() in converter, but pretty soon, we will end up in argument hell.
__construct()
converter
What do you think about reworking the constructor, so that all arguments will be passed in as an element in an associative array?
We can then convert the associative array to json and passed it to converter.js.
converter.js
Features added in wip-2.0 branch.
I would like to add
zoom
andmargin
andfooter
andheader
support.We can of course, keep adding parameters to
__construct()
inconverter
, but pretty soon, we will end up in argument hell.What do you think about reworking the constructor, so that all arguments will be passed in as an element in an associative array?
We can then convert the associative array to json and passed it to
converter.js
.