Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Images in Addons.xcu should be queried every time - not only for addons | ||
---|---|---|---|
Product: | App Dev | Reporter: | tobiaskrais <tux-spam> |
Component: | api | Assignee: | joerg.skottke |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | PATCH | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 72764 | ||
Attachments: |
Description
tobiaskrais
2006-11-30 09:04:08 UTC
cd: Confirmed and accepted. It's a valid use case that someone wants to extend the image base with extensions (Addons.xcu). Therefore the UI elements (menubar/toolbar/statusbar) should also query the addon image repository. Created attachment 46666 [details]
The changes are in two files: toolbarmanager.cxx and its header file.
cd: Set issue to patch. Created attachment 46717 [details]
Demo add-on to test the new support for add-on images
Created attachment 46718 [details]
Basic script to test the new support for add-on images for menus&toolbars
cd: Patch accepted and integrated into CWS fwk68. Fixed. cd->jsk: Please verify. To verify 1. Install the extension (DemoAddon_cpp.oxt) first. 2. Copy the Basic script to the Basic IDE 3. Open a new Writer document 4. Run the macro using the menu "Tools - Macro - Run Macro..." 5. You should see a new button at the end of the Standard bar with the same image as the add-on toolbar (white gulls on a blue background). 6. Open the File menu and you should see a new entry at the end of the menu called "No image!". It should have an image in front same as the new button. Verified for Windows, Solaris (Sparc) and Linux close |