Grammalecte  Check-in [7ec8d520ec]

Overview
Comment:[lo][bug] Enumerator: reset characters style to default
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | lo
Files: files | file ages | folders
SHA3-256: 7ec8d520ecd046319e104236259649dbf0e3f28fe07cfe8b2c1345330f5844a9
User & Date: olr on 2018-02-23 19:33:26
Other Links: manifest | tags
Context
2018-02-23
20:46
[lo][bug] enumerator: valuemax of progressbar check-in: 1cb2c395f6 user: olr tags: trunk, lo
19:33
[lo][bug] Enumerator: reset characters style to default check-in: 7ec8d520ec user: olr tags: trunk, lo
18:00
[lo] update: enumerator check-in: 069bc48028 user: olr tags: trunk, lo
Changes

Modified gc_lang/fr/oxt/Lexicographer/Enumerator.py from [0f981741ea] to [ed6b054551].

292
293
294
295
296
297
298
299

300
301
302
303
                    if sAction == "underline":
                        xCursor.CharBackColor = hexToRBG("AA0000")
                    elif sAction == "nounderline":
                        xCursor.CharBackColor = hexToRBG("FFFFFF")
                    elif sAction == "accentuation":
                        xCursor.CharStyleName = "Emphasis"
                    elif sAction == "noaccentuation":
                        xCursor.CharStyleName = ""



#g_ImplementationHelper = unohelper.ImplementationHelper()
#g_ImplementationHelper.addImplementation(Enumerator, 'net.grammalecte.enumerator', ('com.sun.star.task.Job',))







|
>




292
293
294
295
296
297
298
299
300
301
302
303
304
                    if sAction == "underline":
                        xCursor.CharBackColor = hexToRBG("AA0000")
                    elif sAction == "nounderline":
                        xCursor.CharBackColor = hexToRBG("FFFFFF")
                    elif sAction == "accentuation":
                        xCursor.CharStyleName = "Emphasis"
                    elif sAction == "noaccentuation":
                        #xCursor.CharStyleName = "Default Style"     # doesn’t work
                        xCursor.setPropertyToDefault("CharStyleName")


#g_ImplementationHelper = unohelper.ImplementationHelper()
#g_ImplementationHelper.addImplementation(Enumerator, 'net.grammalecte.enumerator', ('com.sun.star.task.Job',))