diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-06-16 10:11:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-06-16 12:21:46 +0200 |
commit | 3c46fd3d727e4885fedef7c9f3fcd6f4c9a9ebb9 (patch) | |
tree | cf46806a7126b0ce74d49137c0e3a559f6364034 /include | |
parent | e838c1b9e9031de742deeff763c06b1d39f399ef (diff) |
sw HTML export: allow larger bitmaps for shapes than the vcl default
VCL default would be 500k pixels, i.e. a 2" x 1" shape at 600 dpi would
be already truncated from 1200 pixels width to 1000 pixels. That's a bit
too extreme, use a larger limit in the sw HTML export.
Change-Id: I52b85d77cd27410d53c700a89190c99348de5e19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117287
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdxcgv.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdxcgv.hxx b/include/svx/svdxcgv.hxx index 0afaa7c6ad6f..8ed2adbb126d 100644 --- a/include/svx/svdxcgv.hxx +++ b/include/svx/svdxcgv.hxx @@ -58,7 +58,7 @@ public: // Draw all marked objects onto a bitmap, with the display's color depth // and resolution - BitmapEx GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked = false, const std::optional<Size>& rTargetDPI = std::nullopt) const; + BitmapEx GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked = false, const sal_uInt32 nMaximumQuadraticPixels = 500000, const std::optional<Size>& rTargetDPI = std::nullopt) const; // Copy all marked objects to a new model, consisting of exactly one page, // with the flag PageNotValid set. This means, that only the page's objects |