fit-list-to-size.diff: Shrink font automatically when text overflows.
i#94086 Scale-font-down if typing text in Impress and the text box becomes too small.
This commit is contained in:
committed by
Jan Holesovsky
parent
261276ba32
commit
b7628798ec
@@ -133,7 +133,7 @@ namespace svx
|
||||
}
|
||||
catch( const Exception& )
|
||||
{
|
||||
DBG_UNHANDLED_EXCEPTION();
|
||||
//DBG_UNHANDLED_EXCEPTION();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -451,8 +451,7 @@ BOOL SvxTextAttrPage::FillItemSet( SfxItemSet& rAttrs)
|
||||
default: ; //prevent warning
|
||||
DBG_ERROR( "svx::SvxTextAttrPage::FillItemSet(), unhandled state!" );
|
||||
case STATE_NOCHECK: eFTS = SDRTEXTFIT_NONE; break;
|
||||
//case STATE_CHECK: eFTS = SDRTEXTFIT_RESIZEATTR; break;
|
||||
case STATE_CHECK: eFTS = SDRTEXTFIT_PROPORTIONAL; break;
|
||||
case STATE_CHECK: eFTS = SDRTEXTFIT_AUTOFIT; break;
|
||||
}
|
||||
rAttrs.Put( SdrTextFitToSizeTypeItem( eFTS ) );
|
||||
}
|
||||
|
Reference in New Issue
Block a user