diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-07-03 16:33:36 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2017-07-04 10:28:35 +0200 |
commit | dd74a659c60c1f0e7733d4244e808865377c6316 (patch) | |
tree | 402e767710ede69c40de175d26b3e2e8d3f57ac1 /sw/inc/editsh.hxx | |
parent | abc440a691efb872afac385ce5ed28cd5db56c8c (diff) |
support for saving a modified image instead of original version
Normally when you save an image through the "Save..." entry in the
context menu for an image, the saved image is the original one more
eventually applied filters (which are not removeable).
Further applied transformations like rotations, cropping, color
effects are not included in the saved image.
This patch offers the user to choose if saving the original image
(with filters) or the modified version through a pop-up dialog.
The new feature is available in Writer, Draw and Calc.
Change-Id: I4f983e3a5e8a6839fa5789a96c4d8c44477c1fd7
Reviewed-on: https://gerrit.libreoffice.org/39480
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r-- | sw/inc/editsh.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 1bc5c1b0eec5..7a0d2d85f2d9 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -78,6 +78,7 @@ class SwCharFormat; class SwExtTextInput; class Graphic; class GraphicObject; +class GraphicAttr; class SwFormatINetFormat; class SwTable; class SwTextBlocks; @@ -610,6 +611,7 @@ public: const Graphic* GetGraphic( bool bWait = true ) const; const GraphicObject* GetGraphicObj() const; + const GraphicAttr* GetGraphicAttr( GraphicAttr& rGA ) const; bool IsLinkedGrfSwapOut() const; GraphicType GetGraphicType() const; |