svdibrow.cxx (c0739476) | svdibrow.cxx (26734c99) |
---|---|
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 --- 807 unchanged lines hidden (view full) --- 816 if (ImpGetItem(*pSet,SDRATTR_TEXT_AUTOGROWWIDTH,pItem)) { 817 FASTBOOL bAutoGrow=((const SdrTextAutoGrowWidthItem*)pItem)->GetValue(); 818 if (!bAutoGrow) return sal_True; 819 } 820 } break; 821 case SDRATTR_TEXT_VERTADJUST: 822 case SDRATTR_TEXT_HORZADJUST: { 823 if (ImpGetItem(*pSet,SDRATTR_TEXT_FITTOSIZE,pItem)) { | 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 --- 807 unchanged lines hidden (view full) --- 816 if (ImpGetItem(*pSet,SDRATTR_TEXT_AUTOGROWWIDTH,pItem)) { 817 FASTBOOL bAutoGrow=((const SdrTextAutoGrowWidthItem*)pItem)->GetValue(); 818 if (!bAutoGrow) return sal_True; 819 } 820 } break; 821 case SDRATTR_TEXT_VERTADJUST: 822 case SDRATTR_TEXT_HORZADJUST: { 823 if (ImpGetItem(*pSet,SDRATTR_TEXT_FITTOSIZE,pItem)) { |
824 sal_Bool bFit=((const SdrTextFitToSizeTypeItem*)pItem)->GetValue(); 825 if (bFit) return sal_True; | 824 SdrFitToSizeType eFit=((const SdrTextFitToSizeTypeItem*)pItem)->GetValue(); 825 if (eFit!=SDRTEXTFIT_NONE) return sal_True; |
826 } 827 } break; 828 829 case SDRATTR_TEXT_ANIDIRECTION : 830 case SDRATTR_TEXT_ANISTARTINSIDE: 831 case SDRATTR_TEXT_ANISTOPINSIDE : 832 case SDRATTR_TEXT_ANICOUNT : 833 case SDRATTR_TEXT_ANIDELAY : --- 462 unchanged lines hidden --- | 826 } 827 } break; 828 829 case SDRATTR_TEXT_ANIDIRECTION : 830 case SDRATTR_TEXT_ANISTARTINSIDE: 831 case SDRATTR_TEXT_ANISTOPINSIDE : 832 case SDRATTR_TEXT_ANICOUNT : 833 case SDRATTR_TEXT_ANIDELAY : --- 462 unchanged lines hidden --- |