xattr.cxx (c7be74b1) | xattr.cxx (ae2dc0fa) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1464 unchanged lines hidden (view full) --- 1473 { 1474 case SFX_ITEM_PRESENTATION_NONE: 1475 rText.Erase(); 1476 return ePres; 1477 case SFX_ITEM_PRESENTATION_NAMELESS: 1478 case SFX_ITEM_PRESENTATION_COMPLETE: 1479 rText = GetMetricText( (long) GetValue(), 1480 eCoreUnit, ePresUnit, pIntl); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1464 unchanged lines hidden (view full) --- 1473 { 1474 case SFX_ITEM_PRESENTATION_NONE: 1475 rText.Erase(); 1476 return ePres; 1477 case SFX_ITEM_PRESENTATION_NAMELESS: 1478 case SFX_ITEM_PRESENTATION_COMPLETE: 1479 rText = GetMetricText( (long) GetValue(), 1480 eCoreUnit, ePresUnit, pIntl); |
1481 rText += sal_Unicode(' '); |
|
1481 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 1482 return ePres; 1483 default: 1484 return SFX_ITEM_PRESENTATION_NONE; 1485 } 1486} 1487 1488sal_Bool XLineWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const --- 1260 unchanged lines hidden (view full) --- 2749 { 2750 case SFX_ITEM_PRESENTATION_NONE: 2751 rText.Erase(); 2752 return ePres; 2753 case SFX_ITEM_PRESENTATION_NAMELESS: 2754 case SFX_ITEM_PRESENTATION_COMPLETE: 2755 rText = GetMetricText( (long) GetValue(), 2756 eCoreUnit, ePresUnit, pIntl); | 1482 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 1483 return ePres; 1484 default: 1485 return SFX_ITEM_PRESENTATION_NONE; 1486 } 1487} 1488 1489sal_Bool XLineWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const --- 1260 unchanged lines hidden (view full) --- 2750 { 2751 case SFX_ITEM_PRESENTATION_NONE: 2752 rText.Erase(); 2753 return ePres; 2754 case SFX_ITEM_PRESENTATION_NAMELESS: 2755 case SFX_ITEM_PRESENTATION_COMPLETE: 2756 rText = GetMetricText( (long) GetValue(), 2757 eCoreUnit, ePresUnit, pIntl); |
2758 rText += sal_Unicode(' '); |
|
2757 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 2758 return ePres; 2759 default: 2760 return SFX_ITEM_PRESENTATION_NONE; 2761 } 2762} 2763 2764sal_Bool XLineStartWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const --- 91 unchanged lines hidden (view full) --- 2856 { 2857 case SFX_ITEM_PRESENTATION_NONE: 2858 rText.Erase(); 2859 return ePres; 2860 case SFX_ITEM_PRESENTATION_NAMELESS: 2861 case SFX_ITEM_PRESENTATION_COMPLETE: 2862 rText = GetMetricText( (long) GetValue(), 2863 eCoreUnit, ePresUnit, pIntl); | 2759 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 2760 return ePres; 2761 default: 2762 return SFX_ITEM_PRESENTATION_NONE; 2763 } 2764} 2765 2766sal_Bool XLineStartWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const --- 91 unchanged lines hidden (view full) --- 2858 { 2859 case SFX_ITEM_PRESENTATION_NONE: 2860 rText.Erase(); 2861 return ePres; 2862 case SFX_ITEM_PRESENTATION_NAMELESS: 2863 case SFX_ITEM_PRESENTATION_COMPLETE: 2864 rText = GetMetricText( (long) GetValue(), 2865 eCoreUnit, ePresUnit, pIntl); |
2866 rText += sal_Unicode(' '); |
|
2864 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 2865 return ePres; 2866 default: 2867 return SFX_ITEM_PRESENTATION_NONE; 2868 } 2869} 2870 2871sal_Bool XLineEndWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const --- 2813 unchanged lines hidden --- | 2867 rText += SVX_RESSTR( GetMetricId( ePresUnit) ); 2868 return ePres; 2869 default: 2870 return SFX_ITEM_PRESENTATION_NONE; 2871 } 2872} 2873 2874sal_Bool XLineEndWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const --- 2813 unchanged lines hidden --- |