You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/11/30 11:05:24 UTC

[Bug 56998] Display a space character before unit symbols

https://issues.apache.org/ooo/show_bug.cgi?id=56998

hanya <ha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hanya.runo@gmail.com

--- Comment #9 from hanya <ha...@gmail.com> ---
Created attachment 82004
  --> https://issues.apache.org/ooo/attachment.cgi?id=82004&action=edit
Patch to add separator space in MetricField

MetricField is used to show such value and unit set and it inherits
MetricFormatter 
class to convert units and to join the value and its unit.
MetricFormatter::CreateFieldText method concatenate the value and the unit so 
it can insert the space separator between them.
- degree has own space ahead and it is FUNIT_CUSTOM, so the patch do not touch
it.
- percent character is not an unit so it does not need the separator.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.