docpool.cxx (facb16e7) docpool.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

--- 720 unchanged lines hidden (view full) ---

729 {
730 aText += String::CreateFromInt32( nPropLeftMargin );
731 aText += '%';
732 }
733 else
734 {
735 aText += GetMetricText( (long)nLeftMargin,
736 eCoreMetric, ePresentationMetric, 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

--- 720 unchanged lines hidden (view full) ---

729 {
730 aText += String::CreateFromInt32( nPropLeftMargin );
731 aText += '%';
732 }
733 else
734 {
735 aText += GetMetricText( (long)nLeftMargin,
736 eCoreMetric, ePresentationMetric, pIntl );
737 aText += sal_Unicode(' ');
737 aText += EE_RESSTR(GetMetricId(ePresentationMetric));
738 }
739 aText += cpDelim;
740
741 // nPropFirstLineOfst haben wir nicht
742
743 aText += EE_RESSTR(RID_SVXITEMS_LRSPACE_RIGHT);
744 if ( 100 != nPropRightMargin )
745 {
746 aText += String::CreateFromInt32( nPropRightMargin );
747 aText += '%';
748 }
749 else
750 {
751 aText += GetMetricText( (long)nRightMargin,
752 eCoreMetric, ePresentationMetric, pIntl );
738 aText += EE_RESSTR(GetMetricId(ePresentationMetric));
739 }
740 aText += cpDelim;
741
742 // nPropFirstLineOfst haben wir nicht
743
744 aText += EE_RESSTR(RID_SVXITEMS_LRSPACE_RIGHT);
745 if ( 100 != nPropRightMargin )
746 {
747 aText += String::CreateFromInt32( nPropRightMargin );
748 aText += '%';
749 }
750 else
751 {
752 aText += GetMetricText( (long)nRightMargin,
753 eCoreMetric, ePresentationMetric, pIntl );
754 aText += sal_Unicode(' ');
753 aText += EE_RESSTR(GetMetricId(ePresentationMetric));
754 }
755 }
756 break;
757
758 default:
759 if ( !pIntl )
760 pIntl = ScGlobal::GetScIntlWrapper();

--- 298 unchanged lines hidden ---
755 aText += EE_RESSTR(GetMetricId(ePresentationMetric));
756 }
757 }
758 break;
759
760 default:
761 if ( !pIntl )
762 pIntl = ScGlobal::GetScIntlWrapper();

--- 298 unchanged lines hidden ---