Apache OpenOffice (AOO) Bugzilla – Issue 66558
new chart: user defined bitmaps are not loaded correclty
Last modified: 2013-02-24 21:19:58 UTC
Load the attached file. If the bitmaps used as fill-bitmaps are not locally available in your Office installation (in the standard.sob file), they are not loaded. The Area tab-page of the property dialog shows the correct name, but an empty bitmap. User-defined bitmaps used as symbols seem to work. (See Euro-symbol in attached file).
Created attachment 37233 [details] Bugdoc with different user-defined bitmaps (can be seen in the replacement image after load). Activating the chart shows they are missing
added keyword new_implementation
The reason for this problem is that the bitmaps stored in the com.sun.star.drawing.BitmapTable offered by the chart model, are stored just as URLs, not as XGraphic. Therefore, there is no object holding this object and the graphic manager drops the bitmap. Solution: Change the BitmapTable to contain com.sun.star.graphic.XGraphic instead of a URL string.
->KA: Thanks for taking care of this issue. As said before it would make sense to change the data type of the BitmapTable to XGraphic instead of URL. This affects probably all applications as well as xmloff. And also the new chart. It would make sense to implement this in an own CWS to which we resync chart2mst3 and then adapt the changes to the new chart.
Changed the subject to reflect the task behin this issue ->KA: If you finished this, please notify us, so that we can adapt the new chart.
changed target to 2.3
Resolved issue with a different approach: added preloading of graphics out of embedded objects graphics storage directly after loading the model itself. Graphics are stored within a vector during lifetime of model to ensure, that they can be referenced from different locations (e.g. SVX).
changed the summary to better reflect the problem and its now different solution
checked on newest build of CWS.
verified
I see no problems with the graphics in the chart-area/-wall. All are displayed properly. System: OpenSuSE 10.2-i586, KDE 3.5.7, OOo-dev 2.3 m216.