diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-06-04 15:58:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-06-04 18:03:10 +0200 |
commit | 04716690f6c5193f15868bc71e7d17c53e085a54 (patch) | |
tree | 3bab71a0ff00553023b4fab9635dc37e7b235bd5 /sw/inc/frmfmt.hxx | |
parent | 5ffcf2fa69aa6c79b07b1cf04c8cf6c85c5f6b83 (diff) |
sw HTML export: allow custom DPI for the bitmaps of shapes
But leave the CSS pixel size of them unchanged in the HTML markup.
Also add some documentation on the various options, so one doesn't have
to dig them out from testcases.
Change-Id: I6c6ee4e9c98d674f44e7c5835f2e6a6737e13f34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116722
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/frmfmt.hxx')
-rw-r--r-- | sw/inc/frmfmt.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index d1146b8a736b..36333d4e8525 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -116,7 +116,7 @@ public: /// Creates the views. virtual void MakeFrames(); - virtual Graphic MakeGraphic( ImageMap* pMap = nullptr ); + virtual Graphic MakeGraphic( ImageMap* pMap = nullptr, const std::optional<Size>& rTargetDPI = std::nullopt ); /** @return the IMapObject defined at format (Fly) in the ImageMap at position Point. @@ -212,7 +212,7 @@ public: SwAnchoredObject* GetAnchoredObj() const; - virtual Graphic MakeGraphic( ImageMap* pMap = nullptr ) override; + virtual Graphic MakeGraphic( ImageMap* pMap = nullptr, const std::optional<Size>& rTargetDPI = std::nullopt ) override; virtual bool GetInfo( SfxPoolItem& rInfo ) const override; @@ -388,7 +388,7 @@ public: Reset delete marks. */ virtual void MakeFrames() override; - virtual Graphic MakeGraphic( ImageMap* pMap = nullptr ) override; + virtual Graphic MakeGraphic( ImageMap* pMap = nullptr, const std::optional<Size>& rTargetDPI = std::nullopt ) override; virtual SwFrameFormat::tLayoutDir GetLayoutDir() const override; virtual void SetLayoutDir( const SwFrameFormat::tLayoutDir _eLayoutDir ) override; |