1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 352ac0773SAndrew Rist<!--*********************************************************** 455dcf8a7Smseidel * 552ac0773SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 652ac0773SAndrew Rist * or more contributor license agreements. See the NOTICE file 752ac0773SAndrew Rist * distributed with this work for additional information 852ac0773SAndrew Rist * regarding copyright ownership. The ASF licenses this file 952ac0773SAndrew Rist * to you under the Apache License, Version 2.0 (the 1052ac0773SAndrew Rist * "License"); you may not use this file except in compliance 1152ac0773SAndrew Rist * with the License. You may obtain a copy of the License at 1255dcf8a7Smseidel * 1352ac0773SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1455dcf8a7Smseidel * 1552ac0773SAndrew Rist * Unless required by applicable law or agreed to in writing, 1652ac0773SAndrew Rist * software distributed under the License is distributed on an 1752ac0773SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1852ac0773SAndrew Rist * KIND, either express or implied. See the License for the 1952ac0773SAndrew Rist * specific language governing permissions and limitations 2052ac0773SAndrew Rist * under the License. 2155dcf8a7Smseidel * 2252ac0773SAndrew Rist ***********************************************************--> 2352ac0773SAndrew Rist 2452ac0773SAndrew Rist<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textsmath0106020000xml" indexer="include" status="PUBLISH"> 27*0eff4339Smseidel<title xml-lang="en-US" id="tit">Import Formula</title> 28cdf0e10cSrcweir<filename>/text/smath/01/06020000.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 32397d541dSRegina Henschel<section id="importfile"> 331b580e6cSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3154659"> 341b580e6cSmseidel<bookmark_value>importing; %PRODUCTNAME Math formulas</bookmark_value> 351b580e6cSmseidel</bookmark> 361b580e6cSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3154660"> 371b580e6cSmseidel<bookmark_value>MathML; import from file</bookmark_value> 381b580e6cSmseidel</bookmark> 3955dcf8a7Smseidel<bookmark branch="hid/.uno:ImportFormula" xml-lang="en-US" id="bm_id3150346"/> 4055dcf8a7Smseidel<paragraph role="heading" level="1" id="hd_id3154659" xml-lang="en-US">Import Formula from File</paragraph> 4155dcf8a7Smseidel<paragraph role="paragraph" id="par_id3150251" xml-lang="en-US"><variable id="formelimportierentext"><ahelp hid=".uno:ImportFormula" visibility="visible">This command opens a dialog for importing a formula.</ahelp></variable></paragraph> 4255dcf8a7Smseidel<paragraph role="paragraph" id="par_id3153916" xml-lang="en-US">The <emph>Insert</emph> dialog is set up like the <link href="text/shared/01/01020000.xhp" name="Open">Open</link> dialog under <emph>File</emph>. Use the <emph>Insert</emph> dialog to load, edit and display a formula saved as a file in the <emph>Commands</emph> window.</paragraph> 4355dcf8a7Smseidel<paragraph role="paragraph" id="par_id3153917" xml-lang="en-US">You can import MathML files created by other applications as well. The MathML source must have a <item type="code">math</item> element with an <item type="code">xmlns</item> attribute with value "http://www.w3.org/1998/Math/MathML". The languages MathML and StarMath are not fully compatible, therefore you should revise the import result. For details about the language MathML see its <link href="http://www.w3.org/TR/#tr_MathML">specification</link>.</paragraph> 4455dcf8a7Smseidel<section id="howtoget"> 4555dcf8a7Smseidel<embed href="text/smath/00/00000004.xhp#etsfim"/> 4655dcf8a7Smseidel</section> 47397d541dSRegina Henschel</section> 48397d541dSRegina Henschel<section id="importclipboard"> 491b580e6cSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3154661"> 501b580e6cSmseidel<bookmark_value>MathML; import via clipboard</bookmark_value> 511b580e6cSmseidel</bookmark> 521b580e6cSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3154662"> 531b580e6cSmseidel<bookmark_value>importing; MathML</bookmark_value> 541b580e6cSmseidel</bookmark> 5555dcf8a7Smseidel<bookmark branch="hid/.uno:ImportMathMLClipboard" xml-lang="en-US" id="bm_id3150347"/> 5655dcf8a7Smseidel<paragraph role="heading" level="1" id="hd_id3154661" xml-lang="en-US">Import MathML from Clipboard</paragraph> 5755dcf8a7Smseidel<paragraph role="paragraph" id="par_id3150252" xml-lang="en-US"><variable id="mathmlimportierentext"><ahelp hid=".uno:ImportMathMLClipboard" visibility="visible">This command transforms MathML clipboard content to StarMath and inserts it at the current cursor position.</ahelp></variable></paragraph> 5855dcf8a7Smseidel<paragraph role="paragraph" id="par_id3153918" xml-lang="en-US">If the transformation fails, nothing is inserted.</paragraph> 5955dcf8a7Smseidel<section id="howtoget"> 6055dcf8a7Smseidel<embed href="text/smath/00/00000004.xhp#etsmim"/> 6155dcf8a7Smseidel</section> 6255dcf8a7Smseidel<paragraph role="paragraph" id="par_id3153919" xml-lang="en-US">This command handles only MathML content. If you have copied a %PRODUCTNAME Math formula to clipboard, insert it using the command <link href="text/shared/01/02060000.xhp" name="Paste">Paste</link> under <emph>Edit</emph>.</paragraph> 63cdf0e10cSrcweir</section> 64397d541dSRegina Henschel</body> 65cdf0e10cSrcweir</helpdocument> 66