Changes In Branch multid Through [3879004037] Excluding Merge-Ins
This is equivalent to a diff from a890bfa884 to 3879004037
|
2018-03-02
| ||
| 13:00 | merge trunk check-in: c43c446a59 user: olr tags: multid | |
|
2018-03-01
| ||
| 07:57 | [build] display hour at the end of the build process check-in: a502aa20c3 user: olr tags: trunk, build | |
|
2018-02-28
| ||
| 18:43 | [lo] use user dictionary check-in: 3879004037 user: olr tags: lo, multid | |
| 18:27 | [graphspell][py] spellchecker: dictionary object can be used to initialize IBDAWG check-in: 0cd3bfee2d user: olr tags: graphspell, multid | |
| 07:50 | merge trunk check-in: a973e9aad8 user: olr tags: multid | |
| 07:43 | [fx] About panel: add origin to website hyperlink check-in: a890bfa884 user: olr tags: trunk, fx | |
| 07:35 | [fr] confusion <quelle(s)/qu’elle(s)> check-in: d1cdfbf2d3 user: olr tags: trunk, fr | |
Modified gc_core/py/oxt/Grammalecte.py from [1e4211990b] to [6b2cfc5228].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | - + + |
|
| ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + - + - |
xCurCtx = uno.getComponentContext()
# init
gce.load("Writer")
# GC options
# opt_handler.load(xCurCtx)
dOpt = Options.load(xCurCtx)
gce.setOptions(dOpt)
# dictionaries options
self.loadUserDictionaries()
# store for results of big paragraphs
self.dResult = {}
self.nMaxRes = 1500
self.lLastRes = deque(maxlen=self.nMaxRes)
self.nRes = 0
|
| ︙ | |||
132 133 134 135 136 137 138 139 140 141 142 143 144 145 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | + + + + + + + + + + + + |
# XServiceDisplayName
def getServiceDisplayName (self, aLocale):
return gce.name
# Grammalecte
def getSpellChecker (self):
return gce.getSpellChecker()
def loadUserDictionaries (self):
try:
xSettingNode = helpers.getConfigSetting("/org.openoffice.Lightproof_grammalecte/Other/", False)
xChild = xSettingNode.getByName("o_${lang}")
if xChild.getPropertyValue("use_personal_dic"):
sJSON = xChild.getPropertyValue("personal_dic")
if sJSON:
oSpellChecker = gce.getSpellChecker();
oSpellChecker.setPersonalDictionary(json.loads(sJSON))
except:
traceback.print_exc()
g_ImplementationHelper = unohelper.ImplementationHelper()
g_ImplementationHelper.addImplementation(Grammalecte, "org.openoffice.comp.pyuno.Lightproof."+gce.pkg, ("com.sun.star.linguistic2.Proofreader",),)
# g_ImplementationHelper.addImplementation( opt_handler.LightproofOptionsEventHandler, \
# "org.openoffice.comp.pyuno.LightproofOptionsEventHandler." + gce.pkg, ("com.sun.star.awt.XContainerWindowEventHandler",),)
|
Modified gc_core/py/oxt/OptionsDialog.xcs from [bfbbfee5a6] to [3732fcdcec].
| ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + + + + + + + + + + + + + + + |
<templates>
<group oor:name="${lang}">
<info>
<desc>The data for one leaf.</desc>
</info>
${xcs_options}
</group>
<group oor:name="o_${lang}">
<info>
<desc>The data for one leaf.</desc>
</info>
<prop oor:name="use_graphspell" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="use_graphspell_sugg" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="use_extended_dic" oor:type="xs:int"><value>0</value></prop>
<prop oor:name="use_personal_dic" oor:type="xs:int"><value>1</value></prop>
<prop oor:name="extended_dic" oor:type="xs:string"><value></value></prop>
<prop oor:name="personal_dic" oor:type="xs:string"><value></value></prop>
</group>
</templates>
<component>
<group oor:name="Leaves">
<node-ref oor:name="${lang}" oor:node-type="${lang}" />
</group>
<group oor:name="Other">
<node-ref oor:name="o_${lang}" oor:node-type="o_${lang}" />
</group>
</component>
</oor:component-schema>
|
Added gc_core/py/oxt/helpers.py version [f3ef6493bc].
|
Modified gc_lang/fr/config.ini from [93df40f5c3] to [2f07c469a9].
| ︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - + + + + + + | oxt/_img/logo120_text.png = img/logo120_text.png oxt/_img/LaMouette_small.png = img/LaMouette_small.png oxt/_img/Algoo_logo.png = img/Algoo_logo.png oxt/_img/grammalecte_16.bmp = img/grammalecte_16.bmp oxt/_img/french_flag_16.bmp = img/french_flag_16.bmp # AppLauncher oxt/AppLauncher.py = AppLauncher.py |
| ︙ |
Modified gc_lang/fr/oxt/AppLauncher.py from [f6fd0dec5a] to [ed57ba0db8].
| ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | + + + + + + + + |
xDialog.run(sCmd[3:])
else:
xDialog.run()
elif sCmd == "TF":
import TextFormatter
xDialog = TextFormatter.TextFormatter(self.ctx)
xDialog.run(self.sLang)
elif sCmd == "DI":
import DictOptions
xDialog = DictOptions.DictOptions(self.ctx)
xDialog.run(self.sLang)
elif sCmd == "LE":
import LexiconEditor
xDialog = LexiconEditor.LexiconEditor(self.ctx)
xDialog.run(self.sLang)
elif sCmd == "DS":
import DictionarySwitcher
xDialog = DictionarySwitcher.FrenchDictionarySwitcher(self.ctx)
xDialog.run(self.sLang)
elif sCmd == "MA":
import Author
xDialog = Author.Author(self.ctx)
|
| ︙ |
Added gc_lang/fr/oxt/DictOptions/DictOptions.py version [3451cecc0b].