summaryrefslogtreecommitdiff
path: root/sd/sdi
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-09-17 10:11:29 +0200
committerJan Holesovsky <kendy@suse.cz>2010-09-17 10:14:35 +0200
commitaa9af08b389a106fcfb53842ac7669b208a27205 (patch)
tree2e4442f9247b6f3d8f43f9400a5f9ed77efc9d1f /sd/sdi
parentb91ad8c6132e870ef6b7a88d024a4ff8e6a8cf29 (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
split repo tag: impress_OOO_BUILD_3_2_99_0_PRE
Diffstat (limited to 'sd/sdi')
-rwxr-xr-xsd/sdi/_drvwsh.sdi17
-rwxr-xr-xsd/sdi/sdraw.sdi27
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
[