office-gobmx/svx/source
Justin Luth a366cd34a8 tdf#125969 cui: add in-use area image to bitmap list
This fixes a five year old (non-)easyhack with 3 duplicates.
Note the nice-to-have dependencies in the bug report(s).

When the document has a unique background (area) image,
it is now added to the list of available images
IF/WHEN the user looks in the area tab.
This allows the user to switch back after changing,
or re-use it in other places in the document.

Most of this patch ended up being plumbing to ensure that
this added image is ONLY available to the current document,
because it MUST NOT be saved to the user profile.

This change affects all apps and all types of areas: NICE
  -tested Writer pages, paragraphs, headers, textbox, sidebar(page)
  -tested Calc page style
  -tested Draw page, sidebar(page), textbox

Caveats:
-the bitmap list is NOT updated at the time of document import,
 only when area property inspected.
 (The bug requesting inclusion at the time of import is tdf#100832).

make -srj1 UITest_writer_tests8 \
    UITEST_TEST_NAME=tdf125969.tdf125969.test_tdf125969 \
    SAL_USE_VCLPLUGIN=gen

Change-Id: Ic9fea9b199602c4df1376e781d5df019526473d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176253
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-12-10 00:07:59 +01:00
..
accessibility Move helpers for css::awt/VCL point/rect/size to vcl::unohelper 2024-12-04 20:47:14 +01:00
annotation Let ESelection use EPaM for simplification 2024-11-24 08:12:55 +01:00
core clang-tidy: performance-unnecessary-copy-initialization in svx 2024-11-12 08:41:41 +01:00
customshapes svx: fix typo 2024-11-14 14:59:16 +01:00
diagram cid#1555812 COPY_INSTEAD_OF_MOVE 2024-08-21 09:31:36 +02:00
dialog tdf#130857 Search dialog: Use weld::Container ptr instead of Box 2024-11-30 09:41:21 +01:00
engine3d svx: prefix members of E3dSphereObj 2024-12-02 11:58:19 +01:00
fmcomp fix various getSelectedItemPos implementations 2024-11-29 18:46:26 +01:00
form Use std::initializer_list, C-style array instead of more expensive Sequence 2024-12-07 19:10:08 +01:00
gallery2 weld: Rename weld::Treeview selection signal/connect 2024-12-07 11:15:03 +01:00
gengal loplugin:ostr in svx 2024-05-11 12:41:09 +02:00
inc loplugin:methodcycles 2024-11-22 20:03:28 +01:00
items svx: prefix members of SvxB3DVectorItem 2024-11-19 15:32:51 +01:00
mnuctrls loplugin:ostr in svx 2024-05-11 12:41:09 +02:00
sdr Move helpers for css::awt/VCL point/rect/size to vcl::unohelper 2024-12-04 20:47:14 +01:00
sidebar tdf#163913 Implement font-relative margins 2024-11-28 22:10:05 +01:00
smarttags cid#1556442 COPY_INSTEAD_OF_MOVE 2024-11-06 13:58:54 +01:00
stbctrls cid#1606638 silence Overflowed integer argument 2024-11-18 22:24:40 +01:00
styles loplugin:ostr in svx 2024-05-11 12:41:09 +02:00
svdraw svx: prefix members of SdrDragResize 2024-12-09 09:56:51 +01:00
table Use std::initializer_list, C-style array instead of more expensive Sequence 2024-12-07 19:10:08 +01:00
tbxctrls cid#1607542 COPY_INSTEAD_OF_MOVE 2024-11-30 22:39:23 +01:00
theme Document Colors do not show any color in the Palette 2024-03-11 18:47:41 +01:00
toolbars reduce number of GetItem calls 2024-07-31 09:54:12 +02:00
uitest tdf#158237 Use C++20 contains() instead of find() and end() 2024-12-05 08:03:54 +01:00
unodialogs/textconversiondlgs weld: Rename weld::Treeview selection signal/connect 2024-12-07 11:15:03 +01:00
unodraw Use std::initializer_list, C-style array instead of more expensive Sequence 2024-12-07 19:10:08 +01:00
unogallery tdf#162555: change rtl::Reference creation order 2024-08-22 14:24:13 +02:00
xml no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
xoutdev tdf#125969 cui: add in-use area image to bitmap list 2024-12-10 00:07:59 +01:00