This is enhancement request for ability to delete all images in Writer. That request can be seen in forums, and answers are usually to find/select/extension but delete 1by1, or to use macro. That should be done more frienfly. While this might be done in very long open ticket for better search and replace with RegEx, that is far fetched. Proposed solution is to use Navigator with one of these: - right click on Images and Delete all (which could be done for some other objects as well, but in separate ticket) - Shift/Ctrl click on some objects of the same type, so that Delete key can be used.
+1
Jim, what do you think?
(In reply to Timur from comment #0) > Navigator... Images and Delete all > ... > - Shift/Ctrl click on some objects of the same type, so that Delete key can > be used. I'd prefer multi-selection and one function that applies to one or many/all. Besides, what happens to frames and captions on deletion?
Not sure about frames and captions.. Good it is noted. Maybe not remove what exists in Navigator, as it should be removed separately. But really, I am interested only in images.
I think users expect some generic contextual interaction with the Navigator among which deletion is one. And if an image is deleted the surrounding frame and captions should be removed as well. We currently allow to delete one item and keep frame and caption. The enhancement should: * allow multi-selection * remove frame and caption too Probably two topics since the first sounds simple while the second could be tricky.
(In reply to Dieter from comment #2) > Jim, what do you think? With the patch commit made for enhancement bug 160817 all content of a content type/category other than Headings can be deleted using the content type context menu or after selecting the content type by using the delete icon that appears in the selected entry main functions toolbar.
Jim, could you please clarify "all content of a content type/category other than Headings can be deleted" because I do not see 1. but see 2. with a build from 5 days ago: 1. using the content type context menu - while single images have "Delete image", Images category does not for me, 2. after selecting the content type by using the delete icon that appears in the selected entry main functions toolbar - this works and apart from 1. that would be good to clarify, resolves this issue.
(In reply to Timur from comment #7) > Jim, could you please clarify "all content of a content type/category other > than Headings can be deleted" because I do not see 1. but see 2. with a > build from 5 days ago: > 1. using the content type context menu - while single images have "Delete > image", Images category does not for me, You are right. All category entry context menus do not include a "Delete all" item. I think I decided to separate that from the toolbar patch and it got stashed somewhere and never uploaded. I'll try to find it or just redo it. > 2. after selecting the content type by using the delete icon that appears in > the selected entry main functions toolbar - this works and apart from 1. > that would be good to clarify, resolves this issue. Thanks for confirming this works.
Jim Raykowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d5143c058bfdc0f5674c3e0a88fae2f9cbe28a0a tdf#156926 related: Ability to Delete all images in Writer It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I build LO, and tested. First time it didn't work, maybe an old user profile. But second time, it worked well. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 83d1f9c2dd85d2793028c7afaa3459d1f76898b6 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded