Overview
| Comment: | [lo] launch console from menu |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | lo |
| Files: | files | file ages | folders |
| SHA3-256: |
7e2f01e5273ce7630c51df18b25bed2f |
| User & Date: | olr on 2020-12-15 16:31:15 |
| Other Links: | manifest | tags |
Context
|
2020-12-15
| ||
| 16:33 | [lo] Text formatter editor (draft) check-in: c46f9e162f user: olr tags: trunk, new_feature, lo | |
| 16:31 | [lo] launch console from menu check-in: 7e2f01e527 user: olr tags: trunk, lo | |
|
2020-12-13
| ||
| 12:51 | [fr] ajustements check-in: 9da7738892 user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/oxt/AppLauncher.py from [7f07846793] to [7152b7824e].
| ︙ | ︙ | |||
74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
xEnumDialog.run(self.sLang)
elif sCmd == "GO":
import GraphicOptions
xGODialog = GraphicOptions.GraphicOptions(self.ctx)
xGODialog.run(self.sLang)
elif sCmd.startswith("FA/"):
findAll(sCmd[6:], (sCmd[3:4] == "y"), (sCmd[4:5] == "y"))
# elif sCmd.startswith("URL/"):
# # Call from context menu to launch URL?
# # http://opengrok.libreoffice.org/xref/core/sw/source/ui/lingu/olmenu.cxx#785
# xSystemShellExecute = self.ctx.getServiceManager().createInstanceWithContext('com.sun.star.system.SystemShellExecute', self.ctx)
# xSystemShellExecute.execute(url, "", uno.getConstantByName("com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY"))
elif sCmd == "None":
pass
| > > | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
xEnumDialog.run(self.sLang)
elif sCmd == "GO":
import GraphicOptions
xGODialog = GraphicOptions.GraphicOptions(self.ctx)
xGODialog.run(self.sLang)
elif sCmd.startswith("FA/"):
findAll(sCmd[6:], (sCmd[3:4] == "y"), (sCmd[4:5] == "y"))
elif sCmd == "Console":
helpers.startConsole()
# elif sCmd.startswith("URL/"):
# # Call from context menu to launch URL?
# # http://opengrok.libreoffice.org/xref/core/sw/source/ui/lingu/olmenu.cxx#785
# xSystemShellExecute = self.ctx.getServiceManager().createInstanceWithContext('com.sun.star.system.SystemShellExecute', self.ctx)
# xSystemShellExecute.execute(url, "", uno.getConstantByName("com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY"))
elif sCmd == "None":
pass
|
| ︙ | ︙ |
Modified gc_lang/fr/oxt/addons.xcu from [17765ed347] to [3404482b68].
| ︙ | ︙ | |||
309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
<value xml:lang="fr">À ~propos de Grammalecte…</value>
<value xml:lang="en-US">~About Grammalecte…</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.GlobalDocument,com.sun.star.text.WebDocument,com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
</node>
</node>
</node>
<!--<node oor:name="OfficeMenuBarMerging">
<node oor:name="TextFormatter.from.Dicollecte.by.OlivierR" oor:op="replace">
| > > > > > > > > > > > > > > | 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 |
<value xml:lang="fr">À ~propos de Grammalecte…</value>
<value xml:lang="en-US">~About Grammalecte…</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.GlobalDocument,com.sun.star.text.WebDocument,com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
<node oor:name="m12" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>service:net.grammalecte.AppLauncher?Console</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
<value xml:lang="fr">Console (débogage)</value>
<value xml:lang="en-US">Console (debugging)</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
</prop>
</node>
</node>
</node>
</node>
<!--<node oor:name="OfficeMenuBarMerging">
<node oor:name="TextFormatter.from.Dicollecte.by.OlivierR" oor:op="replace">
|
| ︙ | ︙ |