Apache OpenOffice (AOO) Bugzilla – Issue 119629
[From Symphony]Bullet color is lost when open pptx sample file
Last modified: 2012-10-09 05:30:04 UTC
Created attachment 77852 [details] bullet color Build: Aoo3.4 Steps: 1.Open the attached sample file in Aoo3.4 2.Check the bullet color Bug: The bullet color change to black, it should same with the text color
1. Root cause: Bullet color isn't set with correctly. There are many options for setting color for bullet. However, there is priority. 2. Resolution: Figure out which color to apply on bullet color. Will send out patch for review soon.
1. Root cause: The bullet color inherits from closest text in this sample. 2. Resolution: Apply text's color to bullet color. 3. Test: pass on Xp
Created attachment 77992 [details] patch for bullet color
Created attachment 78174 [details] patch for bullet color in pptx In this sample, the color is from bullet's closest text. Thus add code to get color from closest text and apply it to bullet color. It involves 1. add lcl_getBulletclr() to get color from text from runs and apply it to bullet color 2. add a const member function getBulletList() to be invoked in TextParagraph::insertAt() const
reviewed, built and tested, patch applied on trunk trunk -> revision 1348027
confirm fixing the bug on ver 1351249 in Win7 ,pass
set Target Milestone to AOO 3.5.0 for PM purpose.