summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-07-04 13:46:09 +0000
committerOliver Specht <os@openoffice.org>2002-07-04 13:46:09 +0000
commit16895d77ccc6ed36a288aa91e4959b4648707f56 (patch)
tree6e6982791916b2e08c7dbbebaaf27d1bd0a14761 /sw/sdi
parentdadec96f02884fc8608502a731d9882738ca3778 (diff)
#101159# DropCap recording completed
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_textsh.sdi18
-rw-r--r--sw/sdi/switems.sdi8
-rw-r--r--sw/sdi/swriter.sdi54
3 files changed, 72 insertions, 8 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index ca95e9767f1c..634776a66b57 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -2,9 +2,9 @@
*
* $RCSfile: _textsh.sdi,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: mba $ $Date: 2002-07-01 08:48:46 $
+ * last change: $Author: os $ $Date: 2002-07-04 14:43:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -109,7 +109,7 @@ interface BaseText : Selection
*/
FN_FORMAT_DROPCAPS
[
- ExecMethod = Execute ;
+ ExecMethod = ExecParaAttrArgs ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
@@ -1183,10 +1183,20 @@ interface BaseText : Selection
FN_FORMAT_DROPCAPS // status(final|play)
[
- ExecMethod = ExecParaAttrArgs ;
+ ExecMethod = Execute ;
StateMethod = GetAttrState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
+ FN_DROP_TEXT
+ [
+ ExecMethod = Execute;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+ FN_DROP_CHAR_STYLE_NAME
+ [
+ ExecMethod = ExecParaAttrArgs;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
SID_ATTR_PARA_HYPHENZONE // status(final|play)
[
ExecMethod = ExecTxtCtrl;
diff --git a/sw/sdi/switems.sdi b/sw/sdi/switems.sdi
index 533ae4abb39e..7b3257ed572d 100644
--- a/sw/sdi/switems.sdi
+++ b/sw/sdi/switems.sdi
@@ -2,9 +2,9 @@
*
* $RCSfile: switems.sdi,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: mba $ $Date: 2002-06-27 08:30:06 $
+ * last change: $Author: os $ $Date: 2002-07-04 14:43:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -147,8 +147,8 @@ item FmtFrmSize SwFmtFrmSize;
*/
struct Drop
{
- BYTE Lines MID_DROPCAP_LINES;
- BYTE Count MID_DROPCAP_COUNT;
+ INT16 Lines MID_DROPCAP_LINES;
+ INT16 Count MID_DROPCAP_COUNT;
INT16 Distance MID_DROPCAP_DISTANCE;
BOOL WholeWord MID_DROPCAP_WHOLE_WORD;
// String Style MID_DROPCAP_CHAR_STYLE_NAME;
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index 427ba83a61ff..20f6025cb3bf 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -9469,4 +9469,58 @@ SfxVoidItem DeleteBookmark FN_DELETE_BOOKMARK
ToolBoxConfig = FALSE,
GroupId = GID_EDIT;
]
+//--------------------------------------------------------------------------
+SfxVoidItem SetDropCapText FN_DROP_TEXT
+(
+ SfxStringItem DropCapText FN_DROP_TEXT
+)
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* config: */
+ AccelConfig = FALSE,
+ MenuConfig = FALSE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = FALSE,
+ GroupId = GID_FORMAT;
+]
+
+//--------------------------------------------------------------------------
+SfxVoidItem SetDropCapCharStyleName FN_DROP_CHAR_STYLE_NAME
+(
+ SfxStringItem CharStyleName FN_DROP_CHAR_STYLE_NAME
+)
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+
+ /* config: */
+ AccelConfig = FALSE,
+ MenuConfig = FALSE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = FALSE,
+ GroupId = GID_FORMAT;
+]