minor correction

Change-Id: I900e7175a028599f320d80ff30822fcad55d9046
Reviewed-on: https://gerrit.libreoffice.org/68620
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
This commit is contained in:
LibreOfficiant
2019-03-02 14:19:29 +01:00
committed by Olivier Hallot
parent 36a01a03a9
commit 8e550a4a31
2 changed files with 12 additions and 5 deletions

View File

@ -260,12 +260,21 @@
<paragraph role="tablecontent" localize="false" id="N0297">ctx = uno.getComponentContext()</paragraph>
<paragraph role="tablecontent" localize="false" id="N0298">smgr = ctx.getServiceManager()</paragraph>
<paragraph role="tablecontent" localize="false" id="N0299">DESK = 'com.sun.star.frame.Desktop'</paragraph>
<paragraph role="tablecontent" localize="false" id="N0300">obj = smgr.createInstanceWithContext(DESK , ctx)</paragraph>
<paragraph role="tablecontent" localize="false" id="N0300">desktop = smgr.createInstanceWithContext(DESK , ctx)</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" localize="false" id="N0301">StarDesktop</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" localize="false" id="N0298">desktop = smgr.createInstanceWithContext(DESK , ctx)</paragraph>
<paragraph role="tablecontent" localize="false" id="N0299">doc = desktop.CurrentComponent</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" localize="false" id="N0301">ThisComponent</paragraph>
</tablecell>
</tablerow>
</table>
<h2 id="N0297">Importing an embedded Module</h2>
<section id="PythonEmbeddedImport" >