pdf: preserve the original page dimensions on import
commit6d8ce5b1d608d2e8e4dc36dec43328e9380a8bc9
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>
Fri, 25 May 2018 03:01:15 +0000 (24 23:01 -0400)
committerJan Holesovsky <kendy@collabora.com>
Thu, 7 Jun 2018 08:45:34 +0000 (7 10:45 +0200)
treeab284fde823234d1fe7c54a883601db34f8a9ad1
parent47505ae5c26d8a93e28d86d236b07eeb57651b53
pdf: preserve the original page dimensions on import

Also allow for rendering PDFs to images at custom
resolution, instead of hard-coded (old hard-coded
value of 96 dpi is now default arguments).

Change-Id: Ia5b52f72d6ce7130a2debc7c6f86504aa041bdc8
Reviewed-on: https://gerrit.libreoffice.org/54786
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
include/vcl/pdfread.hxx
sd/source/filter/pdf/sdpdffilter.cxx
vcl/source/filter/ipdf/pdfread.cxx