Apache OpenOffice (AOO) Bugzilla – Issue 115437
Smart tags: recognized words aren't underlined
Last modified: 2013-08-07 14:44:07 UTC
Recognized words are not underlined violet in OpenOffice.org Writer. Install either of these extensions: http://extensions.services.openoffice.org/project/LatitudeAndLongitude (paste 32.30642° N 122.61458° W in Writer) http://extensions.services.openoffice.org/project/stcalculator (paste 1+2 in Writer) Then you can Ctrl+Click the tag, but it is not underlined. (Ubuntu 10.04 + JRE6u18)
The "smart tags" functionality itself is not broken - the dotted line "just" won't be painted; you will still be able to open the Smart tags context menu properly on desired expressions. MRU->OD: please post your findings about the facts here and then hand over to AW. Thanks!
od->aw: As already discussed: The root cause is in method <impPaintLineGeometryWithEvtlExpand(..)> (vcl/source/gdi/outdev.cxx) - it seems that applyLineDashing(..) does not work as expected. The dashed line with the setup distance = 40, dashlen = 1 and dashcount = 1 in Twip is not painted. It should be painted a dashed line which dash are on pixel wide. The paint of this dashed line is triggered in method <lcl_DrawLineForWrongListData(..)> (sw/source/core/txtnode/fntcache.cxx) From my point of view this defect could be something for OOo 3.3
AW: Identified. Inside void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt, const LineInfo& rLineInfo ) in VCL the initialisation for the LineColor Pen (ImplInitLineColor()) is missing when fat or dashed line is used. This is missing since #i105655# DEV300/aw078. A simple and non-risky fix is possible. I will add a patch for this.
Created attachment 72915 [details] Patch to solve the problem
Add me to CC
adjusting target to 3.3
applied patch to cws sw33bf12 - change file: /vcl/source/gdi/outdev.cxx, change set c25bcf0b738b Note: not pushed to hg.services.openoffice.org/cws/sw33bf12 yet because of the current outage
od->mru: Checked in internal installation set of cws sw33bf12 - please verify.
Verified in CWS sw33bf12.
Checked in OOO330m15.