From 64bc8b45b5c23efc5fe57585a69aa4263aaf4e83 Mon Sep 17 00:00:00 2001 From: Regina Henschel Date: Wed, 8 Jul 2015 12:31:43 +0000 Subject: 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 (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 --- include/sot/formats.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/sot') diff --git a/include/sot/formats.hxx b/include/sot/formats.hxx index cb2ee82ad74a..c85a10fb7c03 100644 --- a/include/sot/formats.hxx +++ b/include/sot/formats.hxx @@ -185,8 +185,9 @@ enum class SotClipboardFormatId : sal_uLong HC_GDIMETAFILE = 140, PNG = 141, STARWRITERGLOB_8_TEMPLATE = 142, + MATHML = 143, // the point at which we start allocating "runtime" format IDs - USER_END = STARWRITERGLOB_8_TEMPLATE + USER_END = MATHML }; /** Make it easier to iterate over format IDs */ -- cgit