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: lo, trunk
19:33
[lo][bug] Enumerator: reset characters style to default check-in: 7ec8d520ec user: olr tags: lo, trunk
18:00
[lo] update: enumerator check-in: 069bc48028 user: olr tags: lo, trunk
Changes

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

   292    292                       if sAction == "underline":
   293    293                           xCursor.CharBackColor = hexToRBG("AA0000")
   294    294                       elif sAction == "nounderline":
   295    295                           xCursor.CharBackColor = hexToRBG("FFFFFF")
   296    296                       elif sAction == "accentuation":
   297    297                           xCursor.CharStyleName = "Emphasis"
   298    298                       elif sAction == "noaccentuation":
   299         -                        xCursor.CharStyleName = ""
          299  +                        #xCursor.CharStyleName = "Default Style"     # doesn’t work
          300  +                        xCursor.setPropertyToDefault("CharStyleName")
   300    301   
   301    302   
   302    303   #g_ImplementationHelper = unohelper.ImplementationHelper()
   303    304   #g_ImplementationHelper.addImplementation(Enumerator, 'net.grammalecte.enumerator', ('com.sun.star.task.Job',))