summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-09-29 07:54:00 +0000
committerKai Ahrens <ka@openoffice.org>2000-09-29 07:54:00 +0000
commitf4ed0224ce541f32114f2147789ea6ac4c916f6d (patch)
treebfd88ce7e6ce5370d48c17026703d8f68ba016e1
parentabbee0cf48e1507539ffe1b053ff9031b9559ee2 (diff)
added graphic crop item
-rw-r--r--sd/sdi/drgrfob.sdi5
-rw-r--r--sd/sdi/sdnew.sdi23
-rw-r--r--sd/source/ui/app/app.src7
-rw-r--r--sd/source/ui/app/toolbox.src17
4 files changed, 43 insertions, 9 deletions
diff --git a/sd/sdi/drgrfob.sdi b/sd/sdi/drgrfob.sdi
index c74645432179..7d4b596f0abf 100644
--- a/sd/sdi/drgrfob.sdi
+++ b/sd/sdi/drgrfob.sdi
@@ -108,4 +108,9 @@ shell SdDrawGrafObjectBar
ExecMethod = Execute;
StateMethod = GetAttrState;
]
+ SID_ATTR_GRAF_CROP
+ [
+ ExecMethod = Execute;
+ StateMethod = GetAttrState;
+ ]
}
diff --git a/sd/sdi/sdnew.sdi b/sd/sdi/sdnew.sdi
index 9d94c01f6778..f5ed480a96e0 100644
--- a/sd/sdi/sdnew.sdi
+++ b/sd/sdi/sdnew.sdi
@@ -186,3 +186,26 @@ SfxVoidItem GrafFilterSolarize SID_GRAFFILTER_SOLARIZE
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
+
+//--------------------------------------------------------------------------
+SfxVoidItem GrafAttrCrop SID_ATTR_GRAF_CROP
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = TRUE,
+ HasCoreId = FALSE,
+ HasDialog = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ Synchron;
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_FORMAT;
+]
diff --git a/sd/source/ui/app/app.src b/sd/source/ui/app/app.src
index 9d45a5b6badd..a2ba41528681 100644
--- a/sd/source/ui/app/app.src
+++ b/sd/source/ui/app/app.src
@@ -2,9 +2,9 @@
*
* $RCSfile: app.src,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:30 $
+ * last change: $Author: ka $ $Date: 2000-09-29 08:53:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -406,9 +406,10 @@
SID_GRAFFILTER_POPART;\
SID_GRAFFILTER_SEPIA;\
SID_GRAFFILTER_SOLARIZE;\
+ SID_ATTR_GRAF_CROP;\
};\
IdCount = {\
- 295;\
+ 296;\
};
ImageList RID_DEFAULTIMAGELIST_SC
diff --git a/sd/source/ui/app/toolbox.src b/sd/source/ui/app/toolbox.src
index 1c67f90d8187..9cd5a9fb1a85 100644
--- a/sd/source/ui/app/toolbox.src
+++ b/sd/source/ui/app/toolbox.src
@@ -2,9 +2,9 @@
*
* $RCSfile: toolbox.src,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:31 $
+ * last change: $Author: ka $ $Date: 2000-09-29 08:54:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -754,14 +754,19 @@ ToolBox RID_DRAW_GRAF_TOOLBOX
{
Type = TOOLBOXITEM_SEPARATOR ;
};
-
ToolBoxItem
{
Identifier = SID_ATTR_GRAF_TRANSPARENCE;
HelpID = SID_ATTR_GRAF_BLUE;
};
+ ToolBoxItem
+ {
+ Type = TOOLBOXITEM_SEPARATOR ;
+ };
+ ToolBoxItem
+ {
+ Identifier = SID_ATTR_GRAF_CROP;
+ HelpID = SID_ATTR_GRAF_CROP;
+ };
};
};
-
-
-