Gehad elrobey 59eddc6259 Printing: export border to templates
As there is a problem with sizing the borders in QWebView, "vw" sizing is not
working as supposed with border-width, As a workaround we export border-width
dynamically, so that border-width is relatively the same for all page sizes.

The border-width is equal to the page width / 1000 which gives a nice range
for borders for A0 - A5 papers, Also prevent drawing zero pixel borders
and use 1 px borders as the minimum border.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15 15:04:11 +03:00
..
2014-06-26 15:47:02 -07:00
2014-02-08 08:00:27 -08:00
2015-07-24 09:43:24 -07:00
2014-10-14 20:33:46 +02:00
2015-07-31 11:01:57 -07:00
2015-07-31 11:01:57 -07:00
2015-06-03 21:26:31 -07:00
2015-08-03 22:19:36 -07:00
2015-07-20 10:37:30 -07:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2014-12-01 14:19:03 -08:00
2015-06-21 22:31:03 -07:00
2015-01-18 21:25:59 +12:00
2014-10-18 15:16:15 -07:00
2014-11-17 06:02:21 +00:00
2015-06-14 21:49:34 -07:00
2015-06-14 21:49:34 -07:00
2015-02-23 09:31:08 -08:00
2015-02-23 09:31:08 -08:00