Apache OpenOffice (AOO) Bugzilla – Issue 66425
Text crossed out with / or X is not crossed out in running presentation.
Last modified: 2008-07-01 17:05:03 UTC
- start an Impress - write some text (it doesn't matter if textbox or outline text object) - assign the attribute strikethrough to the text and choose / or X to strikethrough - start the presentation - the text is not crossed out in the running presentation
@hdu: seems to be missing from your vcl emulation in implrenderer.cxx - care to take a look?
*** Issue 72486 has been marked as a duplicate of this issue. ***
Created attachment 49108 [details] the patch of i66425
Thanks for the patch! Importing VCL-internal functionality like OutputDevice::ImplLayout() in the canvas module is not a good idea though, especially when it is only used to measure text. Better call OutputDevice::GetTextWidth() or GetTextArray() and get rid of including the newly included header file. Here is another point that may be interesting in this context. Since there usually is a slight mismatch between the width of the original text and the strikeout text maybe we should consider to either justify the strikeout text to match the original text or position it in the middle. On the other hand the way it is implemented now works like a typewriter would cross out text, so maybe this is good enough.
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Created attachment 49586 [details] the patch of i66425
@liujianli: that is much better, thank you! @thb: do you happen to have a canvas CWS where this patch could be applied
Created attachment 49605 [details] I have revised the imprenderer.cxx and deleted the change of textaction.cxx
Fix looks excellent, big thanks!
thorsten, what is the status of this issue. Can I just take the patch and apply it?
I have to apologize - this one slipped by me. Fix taken as-is, and committed to CWS canvas05. Thx for the good work again, liujl!
Adapting target milestone.
Should be thanks for Herbert,he give me a lot of help.
Fixed in CWS canvas05, please verify
CGU: Verified in cws canvas05
*** Issue 55708 has been marked as a duplicate of this issue. ***
CGU: integrated in dev300m22