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& )
|
catch( const Exception& )
|
||||||
{
|
{
|
||||||
DBG_UNHANDLED_EXCEPTION();
|
//DBG_UNHANDLED_EXCEPTION();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -451,8 +451,7 @@ BOOL SvxTextAttrPage::FillItemSet( SfxItemSet& rAttrs)
|
|||||||
default: ; //prevent warning
|
default: ; //prevent warning
|
||||||
DBG_ERROR( "svx::SvxTextAttrPage::FillItemSet(), unhandled state!" );
|
DBG_ERROR( "svx::SvxTextAttrPage::FillItemSet(), unhandled state!" );
|
||||||
case STATE_NOCHECK: eFTS = SDRTEXTFIT_NONE; break;
|
case STATE_NOCHECK: eFTS = SDRTEXTFIT_NONE; break;
|
||||||
//case STATE_CHECK: eFTS = SDRTEXTFIT_RESIZEATTR; break;
|
case STATE_CHECK: eFTS = SDRTEXTFIT_AUTOFIT; break;
|
||||||
case STATE_CHECK: eFTS = SDRTEXTFIT_PROPORTIONAL; break;
|
|
||||||
}
|
}
|
||||||
rAttrs.Put( SdrTextFitToSizeTypeItem( eFTS ) );
|
rAttrs.Put( SdrTextFitToSizeTypeItem( eFTS ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user