From 2d3baccf0249f8c68dcf8f9b0000453d0bc82d8f Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 20 May 2013 00:13:10 +0200 Subject: Math: new rendered Elements docking window added Added a docking window with elements that are rendered using the math renderer insted of static pictures. Currently this is an alternative to the existing elements floating window which will be removed when the new one is ready. This is an initial but fully functional version. Change-Id: I7678d09d643c532c672447026b0f12b7b70fc91d --- starmath/sdi/smath.sdi | 52 ++++++++++++++++++++++++++++++++++++++++++++++-- starmath/sdi/smslots.sdi | 11 +++++++++- 2 files changed, 60 insertions(+), 3 deletions(-) (limited to 'starmath/sdi') diff --git a/starmath/sdi/smath.sdi b/starmath/sdi/smath.sdi index 95366b08f2d0..6df2a617d227 100644 --- a/starmath/sdi/smath.sdi +++ b/starmath/sdi/smath.sdi @@ -164,6 +164,31 @@ SfxVoidItem CommandWindow SID_CMDBOXWINDOW GroupId = GID_VIEW; ] +//-------------------------------------------------------------------------- +SfxVoidItem ElementsDockingWindow SID_ELEMENTSDOCKINGWINDOW +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + //-------------------------------------------------------------------------- SfxVoidItem Preferences SID_PREFERENCES () @@ -368,6 +393,30 @@ SfxVoidItem InsertCommand SID_INSERTCOMMAND GroupId = GID_INSERT; ] +SfxVoidItem InsertCommandText SID_INSERTCOMMANDTEXT +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_INSERT; +] + //-------------------------------------------------------------------------- SfxVoidItem InsertConfigName SID_INSERTSYMBOL () @@ -777,7 +826,7 @@ SfxStringItem TextStatus SID_TEXTSTATUS ] //-------------------------------------------------------------------------- -SfxVoidItem ToolBowWindow SID_TOOLBOXWINDOW +SfxVoidItem ToolBoxWindow SID_TOOLBOXWINDOW () [ /* flags: */ @@ -952,4 +1001,3 @@ SfxVoidItem ZoomOut SID_ZOOMOUT ToolBoxConfig = TRUE, GroupId = GID_VIEW; ] - diff --git a/starmath/sdi/smslots.sdi b/starmath/sdi/smslots.sdi index 5291ca1c40e0..710442350f41 100644 --- a/starmath/sdi/smslots.sdi +++ b/starmath/sdi/smslots.sdi @@ -260,6 +260,11 @@ interface FormulaView ExecMethod = Execute ; StateMethod = GetState ; ] + SID_INSERTCOMMANDTEXT + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] //idlpp kein Menueeintrag , also keine Texte SID_INSERTSYMBOL //idlpp ole : no , status : no [ @@ -296,6 +301,11 @@ interface FormulaView ExecMethod = NoExec ; StateMethod = NoState ; ] + SID_ELEMENTSDOCKINGWINDOW + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] //idlpp kein Menueeintrag , also keine Texte SID_TOOLBOXWINDOW //idlpp ole : no , status : no [ @@ -320,4 +330,3 @@ shell SmViewShell } } - -- cgit