summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorRegina Henschel <regina@apache.org>2015-07-08 12:31:43 +0000
committerMichael Stahl <mstahl@redhat.com>2015-07-08 16:57:49 +0200
commit64bc8b45b5c23efc5fe57585a69aa4263aaf4e83 (patch)
treed61a0aa25685e951ffa32751afb89e97c35531a0 /starmath/inc
parent26aebe26f706d9fbc9c113f5c1fdc495578435bf (diff)
i#107734 Support for Math Input Panel in Windows 7
The patch introduces a new command .uno:ImportMathClipboard to module Math. It imports MathML content from clipboard and transforms it to Starmath It handles clipboard MIME type 'application/mathml+xml' and plain text, which can be interpreted as MathML segment. It partly solves issues #i14252, #i34781, and #i53509 too. Review by: Hanya <hanya.runo@gmail.com> (cherry picked from commit 9ec2148653436be8612273439180749e71e2ce58) Conflicts: dtrans/source/win32/ftransl/ftransl.cxx officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu sot/inc/sot/formats.hxx sot/source/base/exchange.cxx starmath/sdi/smath.sdi starmath/source/view.cxx Change-Id: I6cb5e8f737ee2e39f9ce96aba841db347a8806e4
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/starmath.hrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index 7196b26dd269..6bf6e2124b9e 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -45,6 +45,7 @@
#define SID_SYMBOLS (SID_SMA_START + 56) // Has to be picked up again for now!
#define SID_TEXTMODE (SID_SMA_START + 57)
#define SID_IMPORT_FORMULA (SID_SMA_START + 58)
+#define SID_IMPORT_MATHML_CLIPBOARD (SID_SMA_START + 59)
#define SID_TEXT (SID_SMA_START + 100)
#define SID_GAPHIC_SM (SID_SMA_START + 101)
/** Command for inserting a symbol specified by a string (Inserts an SmSpecialNode) */