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/sdi | |
parent | b91ad8c6132e870ef6b7a88d024a4ff8e6a8cf29 (diff) |
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.
Notes
Notes:
split repo tag: impress_OOO_BUILD_3_2_99_0_PRE
Diffstat (limited to 'sd/sdi')
-rwxr-xr-x | sd/sdi/_drvwsh.sdi | 17 | ||||
-rwxr-xr-x | sd/sdi/sdraw.sdi | 27 |
2 files changed, 32 insertions, 12 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index 6d0d3ef33ce9..bfb2570782b9 100755 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -25,18 +25,6 @@ * ************************************************************************/ -enum SdrFitToSizeType -{ - SDRTEXTFIT_NONE , - SDRTEXTFIT_PROPORTIONAL , - SDRTEXTFIT_ALLLINES , - SDRTEXTFIT_RESIZEATTR -} -item UINT32 SvxObjectItem ; -item BOOL SdrShadowItem ; -item SdrFitToSizeType SdrTextFitToSizeTypeItem ; - - interface DrawView { SID_JUMPTOMARK // ole : no, status : ? @@ -674,6 +662,11 @@ interface DrawView ExecMethod = FuPermanent ; StateMethod = GetMenuState ; ] + SID_OUTLINE_TEXT_AUTOFIT // ole : no, status : ? + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] SID_TEXT_FITTOSIZE_VERTICAL // ole : no, status : ? [ ExecMethod = FuPermanent ; diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi index 0e91fb2c9134..dab765600f18 100755 --- a/sd/sdi/sdraw.sdi +++ b/sd/sdi/sdraw.sdi @@ -6351,6 +6351,33 @@ SfxBoolItem TextFitToSizeTool SID_TEXT_FITTOSIZE ] //-------------------------------------------------------------------------- +SfxBoolItem TextAutoFitToSize SID_OUTLINE_TEXT_AUTOFIT + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_FORMAT; +] + +//-------------------------------------------------------------------------- TbxImageItem TextToolbox SID_DRAWTBX_TEXT [ |