mirror of
https://github.com/LibreOffice/help.git
synced 2026-01-13 05:38:56 +00:00
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:
committed by
Olivier Hallot
parent
36a01a03a9
commit
8e550a4a31
@ -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" >
|
||||
|
||||
Reference in New Issue
Block a user