diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2010-09-17 10:11:29 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-09-17 10:14:35 +0200 |
commit | aa9af08b389a106fcfb53842ac7669b208a27205 (patch) | |
tree | 2e4442f9247b6f3d8f43f9400a5f9ed77efc9d1f /sd/source/ui/view/drviews4.cxx | |
parent | Update .gitignore for Windows builds (diff) | |
download | core-aa9af08b389a106fcfb53842ac7669b208a27205.tar.gz core-aa9af08b389a106fcfb53842ac7669b208a27205.zip |
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.
Diffstat (limited to 'sd/source/ui/view/drviews4.cxx')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 88027d360806..cc4aa5131fdc 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -679,9 +679,13 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) { switch ( nId ) { + case OBJ_OUTLINETEXT: + nSdResId = bGraphicShell ? RID_GRAPHIC_OUTLINETEXTOBJ_POPUP : + RID_DRAW_OUTLINETEXTOBJ_POPUP; + break; + case OBJ_CAPTION: case OBJ_TITLETEXT: - case OBJ_OUTLINETEXT: case OBJ_TEXT: nSdResId = bGraphicShell ? RID_GRAPHIC_TEXTOBJ_POPUP : RID_DRAW_TEXTOBJ_POPUP; |