From 3c46fd3d727e4885fedef7c9f3fcd6f4c9a9ebb9 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 16 Jun 2021 10:11:47 +0200 Subject: 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 Tested-by: Jenkins --- include/svx/svdxcgv.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx') 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& rTargetDPI = std::nullopt) const; + BitmapEx GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked = false, const sal_uInt32 nMaximumQuadraticPixels = 500000, const std::optional& 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 -- cgit