diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-05-20 00:13:10 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-05-20 00:20:27 +0200 |
commit | 2d3baccf0249f8c68dcf8f9b0000453d0bc82d8f (patch) | |
tree | e40b44c418a9dde000e6e461d719b98227538539 /starmath/sdi | |
parent | c0b8dd85d4b49e8800e69e614c567ce272ac9780 (diff) |
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
Diffstat (limited to 'starmath/sdi')
-rw-r--r-- | starmath/sdi/smath.sdi | 52 | ||||
-rw-r--r-- | starmath/sdi/smslots.sdi | 11 |
2 files changed, 60 insertions, 3 deletions
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 @@ -165,6 +165,31 @@ SfxVoidItem CommandWindow SID_CMDBOXWINDOW ] //-------------------------------------------------------------------------- +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 } } - |