summaryrefslogtreecommitdiff
path: root/sw/sdi/_annotsh.sdi
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-02-19 12:36:06 +0000
committerRüdiger Timm <rt@openoffice.org>2008-02-19 12:36:06 +0000
commit94f7a80008b269c481da28ea664afdfbe8cf6683 (patch)
treed70c20cd23739580cf051cfb676b48b99b1999c2 /sw/sdi/_annotsh.sdi
parent810c354e374fa207928f3210fb79d3006107ab72 (diff)
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2007/11/29 10:46:09 mba 1.1.2.5: #i84074#: slots for richt text editing of notes 2007/11/29 00:12:02 mod 1.1.2.4: notes grow automatically till next note or page border 2007/11/13 16:43:09 mod 1.1.2.3: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/07/09 13:07:51 mod 1.1.2.2: work on SwAnnotationShell continues 2007/07/04 15:39:15 mba 1.1.2.1: new shell for editing notes
Diffstat (limited to 'sw/sdi/_annotsh.sdi')
-rwxr-xr-xsw/sdi/_annotsh.sdi297
1 files changed, 297 insertions, 0 deletions
diff --git a/sw/sdi/_annotsh.sdi b/sw/sdi/_annotsh.sdi
new file mode 100755
index 000000000000..c230b2c3a548
--- /dev/null
+++ b/sw/sdi/_annotsh.sdi
@@ -0,0 +1,297 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: _annotsh.sdi,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2008-02-19 13:36:06 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+interface _Annotation
+[ Automation = FALSE; ]
+{
+ FN_DELETE_NOTE
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_DELETE_NOTE_AUTHOR
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_DELETE_ALL_NOTES
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_HIDE_NOTE
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_HIDE_NOTE_AUTHOR
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_HIDE_ALL_NOTES
+ [
+ ExecMethod = NoteExec ;
+ StateMethod = GetNoteState ;
+ ]
+
+ FN_ESCAPE // api:
+ [
+ ExecMethod = NoteExec ;
+ ]
+
+ SfxVoidItem Cut SID_CUT ( ) // api:
+ [
+ ExecMethod = ExecClpbrd ;
+ StateMethod = StateClpbrd ;
+ Volatile ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_COPY // api:
+ [
+ ExecMethod = ExecClpbrd ;
+ StateMethod = StateClpbrd ;
+ Volatile ;
+ ]
+
+ SID_PASTE // api:
+ [
+ ExecMethod = ExecClpbrd ;
+ StateMethod = StateClpbrd ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ FN_PASTESPECIAL // api:
+ [
+ StateMethod = StateClpbrd ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_SELECTALL // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = NoState ;
+ ]
+
+ SID_UNDO // api:
+ [
+ ExecMethod = ExecUndo ;
+ StateMethod = StateUndo ;
+
+ ToolBoxConfig , MenuConfig , AccelConfig;
+ ]
+
+ SID_REDO // api:
+ [
+ ExecMethod = ExecUndo ;
+ StateMethod = StateUndo ;
+
+ ]
+
+ SID_REPEAT // api:
+ [
+ ExecMethod = ExecUndo ;
+ StateMethod = StateUndo ;
+ ]
+ SID_GETUNDOSTRINGS
+ [
+ StateMethod = StateUndo ;
+ ]
+
+ SID_GETREDOSTRINGS
+ [
+ StateMethod = StateUndo ;
+ ]
+
+ FN_FORMAT_RESET // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = NoState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ FN_INSERT_SYMBOL // api:
+ [
+ ExecMethod = Exec ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_FONT // status()
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_FONTHEIGHT // status()
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_COLOR // api:
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_WEIGHT // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_POSTURE // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_UNDERLINE // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_CONTOUR
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_SHADOWED
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_CHAR_STRIKEOUT
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_ADJUST_LEFT // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_ADJUST_CENTER // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_ADJUST_RIGHT // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_ADJUST_BLOCK // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_LINESPACE_10 // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_LINESPACE_15 // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_ATTR_PARA_LINESPACE_20 // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_CHAR_DLG // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ SID_PARA_DLG // api:
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ FN_SET_SUPER_SCRIPT
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ FN_SET_SUB_SCRIPT
+ [
+ ExecMethod = Exec ;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+}
+