summaryrefslogtreecommitdiff
path: root/source/text/smath
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2015-07-18 20:25:46 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-07-19 04:41:06 +0000
commit7cb47387ef4483bdd7b70c8e6db9ecf1a2a98a66 (patch)
tree889f1cbf6be7369777fba9ccbbf8908ae88831f4 /source/text/smath
parent053cee1d890e225245b9d8004ab94cf27b1a9621 (diff)
Add information for new command .uno:ImportMathMLClipboard
Information added to Contents..Tools, to Index 'importing', new Index entry 'MathML', adapted topic 'Import Formula' Change-Id: I419cff5eaede07def32007a4c9b303fdf726cfcc Reviewed-on: https://gerrit.libreoffice.org/17183 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'source/text/smath')
-rw-r--r--source/text/smath/00/00000004.xhp2
-rw-r--r--source/text/smath/01/06020000.xhp29
-rw-r--r--source/text/smath/main0106.xhp10
3 files changed, 30 insertions, 11 deletions
diff --git a/source/text/smath/00/00000004.xhp b/source/text/smath/00/00000004.xhp
index 876b1213b2..cd280e11ef 100644
--- a/source/text/smath/00/00000004.xhp
+++ b/source/text/smath/00/00000004.xhp
@@ -318,6 +318,8 @@
</variable></paragraph>
<paragraph role="paragraph" id="par_id3153802" xml-lang="en-US" l10n="U" oldref="64"><variable id="etsfim">Choose <emph>Tools - Import Formula</emph>
</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153803" xml-lang="en-US"><variable id="etsmim">Choose <emph>Tools - Import MathML from Clipboard</emph>
+</variable></paragraph>
<paragraph role="paragraph" id="par_id3154594" xml-lang="en-US" l10n="U" oldref="65"><variable id="etsaps">Choose <emph>Tools - Customize</emph>
</variable></paragraph>
<section id="sonst">
diff --git a/source/text/smath/01/06020000.xhp b/source/text/smath/01/06020000.xhp
index 26f3c6d3a9..3d9f96da4f 100644
--- a/source/text/smath/01/06020000.xhp
+++ b/source/text/smath/01/06020000.xhp
@@ -27,14 +27,29 @@
</topic>
</meta>
<body>
-
-
-
- <bookmark xml-lang="en-US" branch="index" id="bm_id3154659"><bookmark_value>importing; %PRODUCTNAME Math formulas</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertFormula" xml-lang="en-US" id="bm_id3150346" localize="false"/><paragraph role="heading" level="1" id="hd_id3154659" l10n="U" xml-lang="en-US" oldref="1">Import formula</paragraph>
- <paragraph l10n="U" role="paragraph" id="par_id3150251" xml-lang="en-US" oldref="2"><variable id="formelimportierentext"><ahelp hid="SID_INSERT_FORMULA" visibility="visible">This command opens a dialog for importing a formula.</ahelp></variable></paragraph>
- <paragraph xml-lang="en-US" oldref="3" id="par_id3153916" l10n="U" role="paragraph">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>
+<section id="importfile">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154659"><bookmark_value>importing; %PRODUCTNAME Math formulas</bookmark_value></bookmark>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154660"><bookmark_value>MathML; import from file</bookmark_value></bookmark>
+ <bookmark branch="hid/.uno:ImportFormula" xml-lang="en-US" id="bm_id3150346"/>
+ <paragraph role="heading" level="1" id="hd_id3154659" xml-lang="en-US">Import Formula from File</paragraph>
+ <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>
+ <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>
+ <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>
<section id="howtoget">
<embed href="text/smath/00/00000004.xhp#etsfim"/>
+ </section>
+</section>
+<section id="importclipboard">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154661"><bookmark_value>MathML; import via clipboard</bookmark_value></bookmark>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154662"><bookmark_value>importing; MathML</bookmark_value></bookmark>
+ <bookmark branch="hid/.uno:ImportMathMLClipboard" xml-lang="en-US" id="bm_id3150347"/>
+ <paragraph role="heading" level="1" id="hd_id3154661" xml-lang="en-US">Import MathML from Clipboard</paragraph>
+ <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>
+ <paragraph role="paragraph" id="par_id3153918" xml-lang="en-US">If the transformation fails, nothing is inserted.</paragraph>
+ <section id="howtoget">
+ <embed href="text/smath/00/00000004.xhp#etsmim"/>
+ </section>
+ <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>
</section>
- </body>
+</body>
</helpdocument>
diff --git a/source/text/smath/main0106.xhp b/source/text/smath/main0106.xhp
index 5686da407c..a424348662 100644
--- a/source/text/smath/main0106.xhp
+++ b/source/text/smath/main0106.xhp
@@ -30,13 +30,15 @@
</meta>
<body>
<section id="extras">
-<paragraph role="heading" id="hd_id3149019" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/smath/main0106.xhp" name="Tools">Tools</link></paragraph>
-<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="2">Use this menu to open and edit the symbol catalog, or import an external formula as a data file. The program interface can be adjusted to meet your requirements. You can also change the program options.</paragraph>
+<paragraph role="heading" id="hd_id3149019" xml-lang="en-US" level="1"><link href="text/smath/main0106.xhp" name="Tools">Tools</link></paragraph>
+<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US">Use this menu to open and edit the symbol catalog, or import an external formula as a data file or via clipboard. The program interface can be adjusted to meet your requirements. You can also change the program options.</paragraph>
</section>
<embed href="text/smath/01/06010000.xhp#symbol"/>
-<paragraph role="heading" id="hd_id3150206" xml-lang="en-US" level="2" l10n="U" oldref="4"><link href="text/smath/01/06020000.xhp" name="Import Formula">Import Formula</link></paragraph>
+<paragraph role="heading" id="hd_id3150206" xml-lang="en-US" level="2"><link href="text/smath/01/06020000.xhp#importfile" name="Import Formula">Import Formula</link></paragraph>
<embed href="text/smath/01/06020000.xhp#formelimportierentext"/>
-<paragraph role="heading" id="hd_id3145385" xml-lang="en-US" level="2" l10n="CHG" oldref="5"><link href="text/shared/01/06140000.xhp" name="Customize">Customize</link></paragraph>
+<paragraph role="heading" id="hd_id3150207" xml-lang="en-US" level="2"><link href="text/smath/01/06020000.xhp#importclipboard" name="Import MathML">Import MathML from Clipboard</link></paragraph>
+<embed href="text/smath/01/06020000.xhp#mathmlimportierentext"/>
+<paragraph role="heading" id="hd_id3145385" xml-lang="en-US" level="2"><link href="text/shared/01/06140000.xhp" name="Customize">Customize</link></paragraph>
<embed href="text/shared/01/06140000.xhp#anpassen"/>
<embed href="text/shared/optionen/01000000.xhp#optionen"/>
</body>