Author: hanya
Date: Sat Jan 18 08:14:47 2014
New Revision: 1559327

URL: http://svn.apache.org/r1559327
Log:
#i56998# add a space separater between value and unit and remove separator 
between value and percent to match with ISO 31-0

Modified:
    openoffice/trunk/main/chart2/source/controller/dialogs/tp_SeriesToAxis.src
    openoffice/trunk/main/cui/source/dialogs/colorpicker.cxx
    openoffice/trunk/main/cui/source/dialogs/colorpicker.src
    openoffice/trunk/main/cui/source/dialogs/grfflt.src
    openoffice/trunk/main/cui/source/dialogs/zoom.src
    openoffice/trunk/main/cui/source/tabpages/tabline.src
    openoffice/trunk/main/editeng/source/items/frmitems.cxx
    openoffice/trunk/main/editeng/source/items/paraitem.cxx
    openoffice/trunk/main/editeng/source/items/textitem.cxx
    openoffice/trunk/main/sc/source/core/data/docpool.cxx
    openoffice/trunk/main/sd/source/ui/animations/CustomAnimationDialog.src
    openoffice/trunk/main/sd/source/ui/animations/SlideTransitionPane.src
    openoffice/trunk/main/svx/source/dialog/bmpmask.src
    openoffice/trunk/main/svx/source/engine3d/float3d.src
    openoffice/trunk/main/svx/source/items/algitem.cxx
    
openoffice/trunk/main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
    openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.src
    openoffice/trunk/main/svx/source/svdraw/svdattr.cxx
    openoffice/trunk/main/svx/source/svdraw/svdomeas.cxx
    openoffice/trunk/main/svx/source/xoutdev/xattr.cxx
    openoffice/trunk/main/sw/source/ui/utlui/attrdesc.cxx
    openoffice/trunk/main/sw/source/ui/utlui/uiitems.cxx
    openoffice/trunk/main/vcl/source/control/field.cxx

Modified: 
openoffice/trunk/main/chart2/source/controller/dialogs/tp_SeriesToAxis.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/chart2/source/controller/dialogs/tp_SeriesToAxis.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/chart2/source/controller/dialogs/tp_SeriesToAxis.src 
(original)
+++ openoffice/trunk/main/chart2/source/controller/dialogs/tp_SeriesToAxis.src 
Sat Jan 18 08:14:47 2014
@@ -78,7 +78,7 @@ TabPage TP_OPTIONS
                Maximum = 100 ;
                StrictFormat = TRUE ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText  = " %" ;
+               CustomUnitText  = "%" ;
                First = 1 ;
                Last = 100 ;
                SpinSize = 1 ;
@@ -105,7 +105,7 @@ TabPage TP_OPTIONS
                Maximum = 600 ;
                StrictFormat = TRUE ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText  = " %" ;
+               CustomUnitText  = "%" ;
                First = 1 ;
                Last = 100 ;
                SpinSize = 1 ;

Modified: openoffice/trunk/main/cui/source/dialogs/colorpicker.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/colorpicker.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/cui/source/dialogs/colorpicker.cxx (original)
+++ openoffice/trunk/main/cui/source/dialogs/colorpicker.cxx Sat Jan 18 
08:14:47 2014
@@ -1196,9 +1196,7 @@ ColorPickerDialog::ColorPickerDialog( Wi
 {
     FreeResource();
 
-    String sUnitText;
-    sUnitText.Append( ' ' );
-    sUnitText.Append( (sal_Unicode) 0xb0 );
+    String sUnitText( (sal_Unicode) 0xb0 );
 
     maMFHue.SetCustomUnitText( sUnitText );
 

Modified: openoffice/trunk/main/cui/source/dialogs/colorpicker.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/colorpicker.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/cui/source/dialogs/colorpicker.src (original)
+++ openoffice/trunk/main/cui/source/dialogs/colorpicker.src Sat Jan 18 
08:14:47 2014
@@ -323,7 +323,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
     FixedText CT_BRIGHTNESS
@@ -345,7 +345,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
 // -------------------------------------------------------------------------
@@ -378,7 +378,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
     FixedText CT_MAGENTA
@@ -400,7 +400,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
     FixedText CT_YELLOW
@@ -422,7 +422,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
     FixedText CT_KEY
@@ -444,7 +444,7 @@ ModalDialog RID_CUI_DIALOG_COLORPICKER
         Maximum = 100 ;
         Last = 100 ;
         Unit = FUNIT_CUSTOM ;
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
     };
 
     // ------------------------------------------------------

Modified: openoffice/trunk/main/cui/source/dialogs/grfflt.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/grfflt.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/cui/source/dialogs/grfflt.src (original)
+++ openoffice/trunk/main/cui/source/dialogs/grfflt.src Sat Jan 18 08:14:47 2014
@@ -179,7 +179,7 @@ ModalDialog RID_SVX_GRFFILTER_DLG_SOLARI
         Maximum = 100 ; 
         StrictFormat = TRUE ; 
         Unit = FUNIT_CUSTOM ; 
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
         Last = 100 ; 
         SpinSize = 1 ; 
     };
@@ -260,7 +260,7 @@ ModalDialog RID_SVX_GRFFILTER_DLG_SEPIA
         Maximum = 100 ; 
         StrictFormat = TRUE ; 
         Unit = FUNIT_CUSTOM ; 
-        CustomUnitText = " %" ;
+        CustomUnitText = "%" ;
         First = 1 ; 
         Last = 100 ; 
         SpinSize = 1 ; 

Modified: openoffice/trunk/main/cui/source/dialogs/zoom.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/zoom.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/cui/source/dialogs/zoom.src (original)
+++ openoffice/trunk/main/cui/source/dialogs/zoom.src Sat Jan 18 08:14:47 2014
@@ -67,7 +67,7 @@ ModalDialog RID_SVXDLG_ZOOM
         HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100";
         Pos = MAP_APPFONT ( 12 , 53 ) ;
         Size = MAP_APPFONT ( 105, 10 ) ;
-        Text = "~100 %" ;
+        Text = "~100%" ;
        };
     RadioButton BTN_USER
        {

Modified: openoffice/trunk/main/cui/source/tabpages/tabline.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/tabpages/tabline.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/cui/source/tabpages/tabline.src (original)
+++ openoffice/trunk/main/cui/source/tabpages/tabline.src Sat Jan 18 08:14:47 
2014
@@ -541,7 +541,7 @@ TabPage RID_SVXPAGE_LINE_DEF
                DecimalDigits = 2 ;
                Value = 1 ;
                Unit = FUNIT_MM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
                SpinSize = 10 ;
        };
        MetricField MTR_FLD_LENGTH_2
@@ -562,7 +562,7 @@ TabPage RID_SVXPAGE_LINE_DEF
                DecimalDigits = 2 ;
                Value = 1 ;
                Unit = FUNIT_MM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
                SpinSize = 10 ;
        };
        FixedText FT_DISTANCE
@@ -586,7 +586,7 @@ TabPage RID_SVXPAGE_LINE_DEF
                DecimalDigits = 2 ;
                Value = 1 ;
                Unit = FUNIT_MM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
                Last = 5000 ;
                SpinSize = 10 ;
        };

Modified: openoffice/trunk/main/editeng/source/items/frmitems.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/items/frmitems.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/editeng/source/items/frmitems.cxx (original)
+++ openoffice/trunk/main/editeng/source/items/frmitems.cxx Sat Jan 18 08:14:47 
2014
@@ -336,10 +336,12 @@ SfxItemPresentation SvxSizeItem::GetPres
                case SFX_ITEM_PRESENTATION_COMPLETE:
                        rText = EE_RESSTR(RID_SVXITEMS_SIZE_WIDTH);
             rText += GetMetricText( aSize.Width(), eCoreUnit, ePresUnit, pIntl 
);
+                       rText += sal_Unicode(' ');
                        rText += EE_RESSTR(GetMetricId(ePresUnit));
                        rText += cpDelim;
                        rText += EE_RESSTR(RID_SVXITEMS_SIZE_HEIGHT);
             rText += GetMetricText( aSize.Height(), eCoreUnit, ePresUnit, 
pIntl );
+                       rText += sal_Unicode(' ');
                        rText += EE_RESSTR(GetMetricId(ePresUnit));
                        return SFX_ITEM_PRESENTATION_COMPLETE;
         //no break necessary
@@ -609,6 +611,7 @@ SfxItemPresentation SvxLRSpaceItem::GetP
                        {
                                rText += GetMetricText( (long)nLeftMargin,
                                        eCoreUnit, ePresUnit, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        rText += cpDelim;
@@ -622,6 +625,7 @@ SfxItemPresentation SvxLRSpaceItem::GetP
                                {
                                        rText += GetMetricText( 
(long)nFirstLineOfst,
                                             eCoreUnit, ePresUnit, pIntl );
+                                       rText += sal_Unicode(' ');
                                        rText += 
EE_RESSTR(GetMetricId(ePresUnit));
                                }
                                rText += cpDelim;
@@ -633,6 +637,7 @@ SfxItemPresentation SvxLRSpaceItem::GetP
                        {
                                rText += GetMetricText( (long)nRightMargin,
                                         eCoreUnit, ePresUnit, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        return SFX_ITEM_PRESENTATION_COMPLETE;
@@ -958,6 +963,7 @@ SfxItemPresentation SvxULSpaceItem::GetP
                        else
                        {
                 rText += GetMetricText( (long)nUpper, eCoreUnit, ePresUnit, 
pIntl );
+                               rText += sal_Unicode(' ');
                                rText += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        rText += cpDelim;
@@ -967,6 +973,7 @@ SfxItemPresentation SvxULSpaceItem::GetP
                        else
                        {
                 rText += GetMetricText( (long)nLower, eCoreUnit, ePresUnit, 
pIntl );
+                               rText += sal_Unicode(' ');
                                rText += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        return SFX_ITEM_PRESENTATION_COMPLETE;
@@ -1477,6 +1484,7 @@ SfxItemPresentation SvxShadowItem::GetPr
                        rText += EE_RESSTR(nId);
                        rText += cpDelim;
             rText += GetMetricText( (long)nWidth, eCoreUnit, ePresUnit, pIntl 
);
+                       rText += sal_Unicode(' ');
                        rText += EE_RESSTR(GetMetricId(ePresUnit));
                        rText += cpDelim;
                        rText += EE_RESSTR(RID_SVXITEMS_SHADOW_BEGIN + 
eLocation);
@@ -1682,6 +1690,7 @@ XubString SvxBorderLine::GetValueString(
        else
        {
                String sMetric = EE_RESSTR(GetMetricId( eDestUnit ));
+        sMetric.Insert( sal_Unicode(' '), 0 );
         aStr += GetMetricText( (long)nInWidth, eSrcUnit, eDestUnit, pIntl );
                if ( bMetricStr )
                        aStr += sMetric;
@@ -2219,28 +2228,33 @@ SfxItemPresentation SvxBoxItem::GetPrese
                        {
                                rText += GetMetricText( (long)nTopDist, 
eCoreUnit,
                                             ePresUnit, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        else
                        {
-                               (((rText += EE_RESSTR(RID_SVXITEMS_BORDER_TOP))
+                               ((((rText += EE_RESSTR(RID_SVXITEMS_BORDER_TOP))
                                          += GetMetricText( (long)nTopDist, 
eCoreUnit,
                                         ePresUnit, pIntl ))
+                                         += sal_Unicode(' '))
                                          += EE_RESSTR(GetMetricId(ePresUnit)))
                                          += cpDelim;
-                               (((rText += 
EE_RESSTR(RID_SVXITEMS_BORDER_BOTTOM))
+                               ((((rText += 
EE_RESSTR(RID_SVXITEMS_BORDER_BOTTOM))
                                          += GetMetricText( (long)nBottomDist, 
eCoreUnit,
                                         ePresUnit, pIntl ))
+                                         += sal_Unicode(' '))
                                          += EE_RESSTR(GetMetricId(ePresUnit)))
                                          += cpDelim;
-                               (((rText += EE_RESSTR(RID_SVXITEMS_BORDER_LEFT))
+                               ((((rText += 
EE_RESSTR(RID_SVXITEMS_BORDER_LEFT))
                                          += GetMetricText( (long)nLeftDist, 
eCoreUnit,
                                         ePresUnit, pIntl ))
+                                         += sal_Unicode(' '))
                                          += EE_RESSTR(GetMetricId(ePresUnit)))
                                          += cpDelim;
-                               ((rText += EE_RESSTR(RID_SVXITEMS_BORDER_RIGHT))
+                               (((rText += 
EE_RESSTR(RID_SVXITEMS_BORDER_RIGHT))
                                          += GetMetricText( (long)nRightDist, 
eCoreUnit,
                                         ePresUnit, pIntl ))
+                                         += sal_Unicode(' '))
                                          += EE_RESSTR(GetMetricId(ePresUnit));
                        }
                        return SFX_ITEM_PRESENTATION_COMPLETE;

Modified: openoffice/trunk/main/editeng/source/items/paraitem.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/items/paraitem.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/editeng/source/items/paraitem.cxx (original)
+++ openoffice/trunk/main/editeng/source/items/paraitem.cxx Sat Jan 18 08:14:47 
2014
@@ -1196,7 +1196,10 @@ SfxItemPresentation SvxTabStopItem::GetP
                                rText += GetMetricText(
                     (long)((*this)[i]).GetTabPos(), eCoreUnit, ePresUnit, 
pIntl );
                                if ( SFX_ITEM_PRESENTATION_COMPLETE == ePres )
+                               {
+                                       rText += sal_Unicode(' ');
                                        rText += 
EE_RESSTR(GetMetricId(ePresUnit));
+                               }
                                bComma = sal_True;
                        }
                }

Modified: openoffice/trunk/main/editeng/source/items/textitem.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/items/textitem.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/editeng/source/items/textitem.cxx (original)
+++ openoffice/trunk/main/editeng/source/items/textitem.cxx Sat Jan 18 08:14:47 
2014
@@ -1105,8 +1105,9 @@ SfxItemPresentation SvxFontHeightItem::G
                {
                        if( SFX_MAPUNIT_RELATIVE != ePropUnit )
                        {
-                               ( rText = String::CreateFromInt32( (short)nProp 
) ) +=
-                                               EE_RESSTR( GetMetricId( 
ePropUnit ) );
+                               rText = String::CreateFromInt32( (short)nProp );
+                               rText += sal_Unicode(' ');
+                               rText += EE_RESSTR( GetMetricId( ePropUnit ) );
                                if( 0 <= (short)nProp )
                                        rText.Insert( sal_Unicode('+'), 0 );
                        }
@@ -1114,6 +1115,7 @@ SfxItemPresentation SvxFontHeightItem::G
                        {
                                rText = GetMetricText( (long)nHeight,
                                         eCoreUnit, SFX_MAPUNIT_POINT, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += 
EE_RESSTR(GetMetricId(SFX_MAPUNIT_POINT));
                        }
                        else
@@ -1319,6 +1321,7 @@ SfxItemPresentation SvxFontWidthItem::Ge
                        {
                                rText = GetMetricText( (long)nWidth,
                                         eCoreUnit, SFX_MAPUNIT_POINT, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += 
EE_RESSTR(GetMetricId(SFX_MAPUNIT_POINT));
                        }
                        else
@@ -2257,6 +2260,7 @@ SfxItemPresentation SvxKerningItem::GetP
                        return ePres;
                case SFX_ITEM_PRESENTATION_NAMELESS:
             rText = GetMetricText( (long)GetValue(), eCoreUnit, 
SFX_MAPUNIT_POINT, pIntl );
+            rText += sal_Unicode(' ');
             rText += EE_RESSTR(GetMetricId(SFX_MAPUNIT_POINT));
                        return ePres;
                case SFX_ITEM_PRESENTATION_COMPLETE:
@@ -2272,6 +2276,7 @@ SfxItemPresentation SvxKerningItem::GetP
                        if ( nId )
                                rText += EE_RESSTR(nId);
             rText += GetMetricText( (long)GetValue(), eCoreUnit, 
SFX_MAPUNIT_POINT, pIntl );
+            rText += sal_Unicode(' ');
             rText += EE_RESSTR(GetMetricId(SFX_MAPUNIT_POINT));
                        return ePres;
                }

Modified: openoffice/trunk/main/sc/source/core/data/docpool.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/docpool.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/docpool.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/docpool.cxx Sat Jan 18 08:14:47 
2014
@@ -734,6 +734,7 @@ SfxItemPresentation lcl_HFPresentation
                                {
                                        aText += GetMetricText( 
(long)nLeftMargin,
                                            eCoreMetric, ePresentationMetric, 
pIntl );
+                                       aText += sal_Unicode(' ');
                                        aText += 
EE_RESSTR(GetMetricId(ePresentationMetric));
                                }
                                aText += cpDelim;
@@ -750,6 +751,7 @@ SfxItemPresentation lcl_HFPresentation
                                {
                                        aText += GetMetricText( 
(long)nRightMargin,
                                             eCoreMetric, ePresentationMetric, 
pIntl );
+                                       aText += sal_Unicode(' ');
                                        aText += 
EE_RESSTR(GetMetricId(ePresentationMetric));
                                }
                        }

Modified: 
openoffice/trunk/main/sd/source/ui/animations/CustomAnimationDialog.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/animations/CustomAnimationDialog.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/sd/source/ui/animations/CustomAnimationDialog.src 
(original)
+++ openoffice/trunk/main/sd/source/ui/animations/CustomAnimationDialog.src Sat 
Jan 18 08:14:47 2014
@@ -242,7 +242,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
                Maximum = 9999 ;
                DecimalDigits = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText [ en-US ] = "sec";
+               CustomUnitText [ en-US ] = " sec";
                SpinSize = 5 ;
                Hide = TRUE;
        };
@@ -510,7 +510,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
                Maximum = 9999 ;
                DecimalDigits = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText [ en-US ] = "sec";
+               CustomUnitText [ en-US ] = " sec";
                SpinSize = 5 ;
        };
 
@@ -660,7 +660,7 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
                Maximum = 9999 ;
                DecimalDigits = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText [ en-US ] = "sec";
+               CustomUnitText [ en-US ] = " sec";
                SpinSize = 5 ;
        };
 

Modified: openoffice/trunk/main/sd/source/ui/animations/SlideTransitionPane.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/animations/SlideTransitionPane.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/sd/source/ui/animations/SlideTransitionPane.src 
(original)
+++ openoffice/trunk/main/sd/source/ui/animations/SlideTransitionPane.src Sat 
Jan 18 08:14:47 2014
@@ -156,7 +156,7 @@ Control DLG_SLIDE_TRANSITION_PANE
                SpinSize = 1 ;
 
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText [ en-US ] = "sec";
+               CustomUnitText [ en-US ] = " sec";
        };
 
     FixedLine FL_EMPTY1

Modified: openoffice/trunk/main/svx/source/dialog/bmpmask.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/dialog/bmpmask.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/dialog/bmpmask.src (original)
+++ openoffice/trunk/main/svx/source/dialog/bmpmask.src Sat Jan 18 08:14:47 2014
@@ -100,7 +100,7 @@ DockingWindow RID_SVXDLG_BMPMASK
                Last = 99 ;
                SpinSize = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
        };
        ListBox LB_1
        {
@@ -143,7 +143,7 @@ DockingWindow RID_SVXDLG_BMPMASK
                Last = 99 ;
                SpinSize = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
        };
        ListBox LB_2
        {
@@ -186,7 +186,7 @@ DockingWindow RID_SVXDLG_BMPMASK
                Last = 99 ;
                SpinSize = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
        };
        ListBox LB_3
        {
@@ -229,7 +229,7 @@ DockingWindow RID_SVXDLG_BMPMASK
                Last = 99 ;
                SpinSize = 1 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
        };
        ListBox LB_4
        {

Modified: openoffice/trunk/main/svx/source/engine3d/float3d.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/engine3d/float3d.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/engine3d/float3d.src (original)
+++ openoffice/trunk/main/svx/source/engine3d/float3d.src Sat Jan 18 08:14:47 
2014
@@ -251,7 +251,7 @@ DockingWindow RID_SVXFLOAT_3D
                Maximum = 100 ;
                Last = 100 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText = " %" ;
+               CustomUnitText = "%" ;
        };
        FixedText FT_BACKSCALE
        {
@@ -272,7 +272,7 @@ DockingWindow RID_SVXFLOAT_3D
                SpinSize = 5 ;
                Maximum = 10000 ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText  = " %" ;
+               CustomUnitText  = "%" ;
                Last = 10000 ;
        };
        FixedText FT_END_ANGLE
@@ -1169,7 +1169,7 @@ DockingWindow RID_SVXFLOAT_3D
                Repeat = TRUE ;
                Spin = TRUE ;
                Unit = FUNIT_CUSTOM ;
-               CustomUnitText  = " %" ;
+               CustomUnitText  = "%" ;
                Minimum = 1 ;
                First = 1 ;
                Maximum = 100 ;

Modified: openoffice/trunk/main/svx/source/items/algitem.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/items/algitem.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/items/algitem.cxx (original)
+++ openoffice/trunk/main/svx/source/items/algitem.cxx Sat Jan 18 08:14:47 2014
@@ -600,18 +600,22 @@ SfxItemPresentation SvxMarginItem::GetPr
                {
                        rText = SVX_RESSTR(RID_SVXITEMS_MARGIN_LEFT);
             rText += GetMetricText( (long)nLeftMargin, eCoreUnit, ePresUnit, 
pIntl );
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR(GetMetricId(ePresUnit));
                        rText += cpDelim;
                        rText += SVX_RESSTR(RID_SVXITEMS_MARGIN_TOP);
             rText += GetMetricText( (long)nTopMargin, eCoreUnit, ePresUnit, 
pIntl );
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR(GetMetricId(ePresUnit));
                        rText += cpDelim;
                        rText += SVX_RESSTR(RID_SVXITEMS_MARGIN_RIGHT);
             rText += GetMetricText( (long)nRightMargin, eCoreUnit, ePresUnit, 
pIntl );
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR(GetMetricId(ePresUnit));
                        rText += cpDelim;
                        rText += SVX_RESSTR(RID_SVXITEMS_MARGIN_BOTTOM);
             rText += GetMetricText( (long)nBottomMargin, eCoreUnit, ePresUnit, 
pIntl );
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR(GetMetricId(ePresUnit));
                        return SFX_ITEM_PRESENTATION_COMPLETE;
                }

Modified: 
openoffice/trunk/main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- 
openoffice/trunk/main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx 
(original)
+++ 
openoffice/trunk/main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx 
Sat Jan 18 08:14:47 2014
@@ -185,6 +185,7 @@ void TextCharacterSpacingControl::Rearra
                {       
                        String aStrTip( maStrCusE);   //LAST CUSTOM no tip 
defect //add 
                        aStrTip.Append( String::CreateFromDouble( 
(double)mnCustomKern / 10));
+                       aStrTip.Append( xub_Unicode(' ') );
                        aStrTip.Append(maStrUnit);              // modify 
                        maVSSpacing.SetItemText(6,aStrTip);
                }
@@ -192,6 +193,7 @@ void TextCharacterSpacingControl::Rearra
                {       
                        String aStrTip(maStrCusC) ;             //LAST CUSTOM 
no tip defect //add 
                        aStrTip.Append( String::CreateFromDouble( 
(double)-mnCustomKern / 10));
+                       aStrTip.Append( xub_Unicode( ' ' ) );
                        aStrTip.Append(maStrUnit);              // modify 
                        maVSSpacing.SetItemText( 6, aStrTip );
                }       

Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.src
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.src?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.src 
(original)
+++ openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.src Sat Jan 
18 08:14:47 2014
@@ -623,11 +623,11 @@ Control RID_POPUPPANEL_TEXTPAGE_SPACING
        
        String STR_VERY_TIGHT_TIP
        {
-               Text [ en-US ] = " Spacing: Condensed By: 3pt";
+               Text [ en-US ] = " Spacing: Condensed By: 3 pt";
        };
        String STR_TIGHT_TIP
        {
-               Text [ en-US ] = " Spacing: Condensed By: 1.5pt";
+               Text [ en-US ] = " Spacing: Condensed By: 1.5 pt";
        };
        String STR_NORMAL_TIP
        {
@@ -635,11 +635,11 @@ Control RID_POPUPPANEL_TEXTPAGE_SPACING
        };
        String STR_LOOSE_TIP
        {
-               Text [ en-US ] = " Spacing: Expanded By: 3pt";
+               Text [ en-US ] = " Spacing: Expanded By: 3 pt";
        };
        String STR_VERY_LOOSE_TIP
        {
-               Text [ en-US ] = " Spacing: Expanded By: 6pt";
+               Text [ en-US ] = " Spacing: Expanded By: 6 pt";
        };
        String STR_CUSTOM_C_TIP
        {

Modified: openoffice/trunk/main/svx/source/svdraw/svdattr.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/svdraw/svdattr.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/svdraw/svdattr.cxx (original)
+++ openoffice/trunk/main/svx/source/svdraw/svdattr.cxx Sat Jan 18 08:14:47 2014
@@ -1011,6 +1011,7 @@ SfxItemPresentation __EXPORT SdrMetricIt
        aFmt.TakeStr(nValue,rText);
        String aStr;
        aFmt.TakeUnitStr((MapUnit)ePresMetric,aStr);
+       rText += sal_Unicode(' ');
        rText+=aStr;
        if (ePres==SFX_ITEM_PRESENTATION_COMPLETE) {
                String aStr2;

Modified: openoffice/trunk/main/svx/source/svdraw/svdomeas.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/svdraw/svdomeas.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/svdraw/svdomeas.cxx (original)
+++ openoffice/trunk/main/svx/source/svdraw/svdomeas.cxx Sat Jan 18 08:14:47 
2014
@@ -608,8 +608,9 @@ void SdrMeasureObj::UndirtyText() const
                {
             
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS),
 EE_FEATURE_FIELD), ESelection(0,0));
             
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_VALUE), 
EE_FEATURE_FIELD),ESelection(0,1));
-            
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_UNIT), 
EE_FEATURE_FIELD),ESelection(0,2));
-            
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS),
 EE_FEATURE_FIELD),ESelection(0,3));
+            rOutliner.QuickInsertText(String(sal_Unicode(' ')), 
ESelection(0,2));
+            
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_UNIT), 
EE_FEATURE_FIELD),ESelection(0,3));
+            
rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS),
 EE_FEATURE_FIELD),ESelection(0,4));
 
                        if(GetStyleSheet())
                                rOutliner.SetStyleSheet(0, GetStyleSheet());

Modified: openoffice/trunk/main/svx/source/xoutdev/xattr.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xattr.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/xoutdev/xattr.cxx (original)
+++ openoffice/trunk/main/svx/source/xoutdev/xattr.cxx Sat Jan 18 08:14:47 2014
@@ -1478,6 +1478,7 @@ SfxItemPresentation XLineWidthItem::GetP
                case SFX_ITEM_PRESENTATION_COMPLETE:
                        rText = GetMetricText( (long) GetValue(),
                                     eCoreUnit, ePresUnit, pIntl);
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR( GetMetricId( ePresUnit) );
                        return ePres;
                default:
@@ -2754,6 +2755,7 @@ SfxItemPresentation XLineStartWidthItem:
                case SFX_ITEM_PRESENTATION_COMPLETE:
                        rText = GetMetricText( (long) GetValue(),
                                     eCoreUnit, ePresUnit, pIntl);
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR( GetMetricId( ePresUnit) );
                        return ePres;
                default:
@@ -2861,6 +2863,7 @@ SfxItemPresentation XLineEndWidthItem::G
                case SFX_ITEM_PRESENTATION_COMPLETE:
                        rText = GetMetricText( (long) GetValue(),
                                     eCoreUnit, ePresUnit, pIntl);
+                       rText += sal_Unicode(' ');
                        rText += SVX_RESSTR( GetMetricId( ePresUnit) );
                        return ePres;
                default:

Modified: openoffice/trunk/main/sw/source/ui/utlui/attrdesc.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/utlui/attrdesc.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/utlui/attrdesc.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/utlui/attrdesc.cxx Sat Jan 18 08:14:47 
2014
@@ -388,6 +388,7 @@ SfxItemPresentation SwFmtFrmSize::GetPre
                        else
                        {
                 rText += ::GetMetricText( GetWidth(), eCoreUnit, ePresUnit, 
pIntl );
+                               rText += sal_Unicode(' ');
                                rText += ::GetSvxString( ::GetMetricId( 
ePresUnit ) );
                        }
             if ( ATT_VAR_SIZE != GetHeightSizeType() )
@@ -406,6 +407,7 @@ SfxItemPresentation SwFmtFrmSize::GetPre
                                else
                                {
                     rText += ::GetMetricText( GetHeight(), eCoreUnit, 
ePresUnit, pIntl );
+                                       rText += sal_Unicode(' ');
                                        rText += ::GetSvxString( ::GetMetricId( 
ePresUnit ) );
                                }
                        }
@@ -562,6 +564,7 @@ SfxItemPresentation SwFmtVertOrient::Get
                                        rText += SW_RESSTR( STR_POS_Y );
                                        rText += ' ';
                     rText += ::GetMetricText( GetPos(), eCoreUnit, ePresUnit, 
pIntl );
+                                       rText += sal_Unicode(' ');
                                        rText += ::GetSvxString( ::GetMetricId( 
ePresUnit ) );
                                }
                                break;
@@ -623,6 +626,7 @@ SfxItemPresentation SwFmtHoriOrient::Get
                                        rText += SW_RESSTR( STR_POS_X );
                                        rText += ' ';
                     rText += ::GetMetricText( GetPos(), eCoreUnit, ePresUnit, 
pIntl );
+                                       rText += sal_Unicode(' ');
                                        rText += ::GetSvxString( ::GetMetricId( 
ePresUnit ) );
                                }
                                break;

Modified: openoffice/trunk/main/sw/source/ui/utlui/uiitems.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/utlui/uiitems.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/utlui/uiitems.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/utlui/uiitems.cxx Sat Jan 18 08:14:47 
2014
@@ -110,6 +110,7 @@ SfxItemPresentation  SwPageFtnInfoItem::
                                rText = SW_RESSTR( STR_MAX_FTN_HEIGHT );
                                rText += ' ';
                 rText += ::GetMetricText( nHght, eCoreUnit, ePresUnit, pIntl );
+                               rText += sal_Unicode(' ');
                                rText += ::GetSvxString( ::GetMetricId( 
ePresUnit ) );
                        }
                        return ePres;

Modified: openoffice/trunk/main/vcl/source/control/field.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/control/field.cxx?rev=1559327&r1=1559326&r2=1559327&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/control/field.cxx (original)
+++ openoffice/trunk/main/vcl/source/control/field.cxx Sat Jan 18 08:14:47 2014
@@ -1585,8 +1585,11 @@ XubString MetricFormatter::CreateFieldTe
     if( meUnit == FUNIT_CUSTOM )
         aStr += maCustomUnitText;
     else
+    {
+        if ( meUnit != FUNIT_NONE || meUnit != FUNIT_PERCENT )
+            aStr += xub_Unicode( ' ' );
         aStr += ImplMetricToString( meUnit );
-
+    }
     return aStr;
 }
 


Reply via email to