diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-07-27 15:11:32 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-07-29 13:05:56 +0000 |
commit | 4e3f7d32b80fcb44f20abe634a2035d2c90c9e08 (patch) | |
tree | 3fe76a82fb73584a6ea96e0f7905edc939a21ed9 /include | |
parent | 15dc66c81a5a0af8db52a98e51e289f8f134d8c4 (diff) |
fdo#67274 Always embed images from gallery
This patch removes the options to link images from the gallery.
Users should never link to the gallery. The links wouldn't work anymore if you just change the operating system, because the gallery is on a different place.
Changes:
* Removed option in "Bullets and Numbering" dialog to link graphical bullets
* Change the Gallery image context menu.
Before:
Insert
Copy
Link
Background
Page
Paragraph
...
Now:
Insert
Insert as Background
Page
Paragraph
...
Change-Id: I699042a7d7a27369775f9ee4c14c4a6964489a92
Reviewed-on: https://gerrit.libreoffice.org/5141
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/galleryitem.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/svx/galleryitem.hxx b/include/svx/galleryitem.hxx index 738eede12ec6..41eeac5b4b91 100644 --- a/include/svx/galleryitem.hxx +++ b/include/svx/galleryitem.hxx @@ -28,12 +28,11 @@ // property names map those from css::gallery::GalleryItem // with exception of "AsLink" and "FilterName" #define SVXGALLERYITEM_TYPE "GalleryItemType" -#define SVXGALLERYITEM_LINK "AsLink" #define SVXGALLERYITEM_URL "URL" #define SVXGALLERYITEM_FILTER "FilterName" #define SVXGALLERYITEM_DRAWING "Drawing" #define SVXGALLERYITEM_GRAPHIC "Graphic" -#define SVXGALLERYITEM_PARAMS 6 +#define SVXGALLERYITEM_PARAMS 5 #define SVXGALLERYITEM_ARGNAME "GalleryItem" DBG_NAMEEX_VISIBILITY( SvxGalleryItem, SVX_DLLPUBLIC ) @@ -41,7 +40,6 @@ DBG_NAMEEX_VISIBILITY( SvxGalleryItem, SVX_DLLPUBLIC ) class SVX_DLLPUBLIC SvxGalleryItem : public SfxPoolItem { sal_Int8 m_nType; - sal_Bool m_bIsLink; rtl::OUString m_aURL; rtl::OUString m_aFilterName; com::sun::star::uno::Reference< com::sun::star::lang::XComponent > m_xDrawing; @@ -56,7 +54,6 @@ public: ~SvxGalleryItem(); sal_Int8 GetType() const { return m_nType; } - sal_Bool IsLink() const { return m_bIsLink; } const rtl::OUString GetURL() const { return m_aURL; } const rtl::OUString GetFilterName() const { return m_aFilterName; } const com::sun::star::uno::Reference< com::sun::star::lang::XComponent > GetDrawing() const { return m_xDrawing; } |