https://bugs.documentfoundation.org/show_bug.cgi?id=124089

            Bug ID: 124089
           Summary: DOTM AutoText import creates incorrect shortcut (with
                    space)
           Product: LibreOffice
           Version: 6.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ba...@caesar.elte.hu
            Blocks: 104520, 108663

Word lacks the concept of shortcuts for AutoText, so during import simply the
first couple of characters are taken, including spaces if any is there.
However, spaces are normally not permitted (can't be entered), and mess up
shortcuts: simply pressing F3 at the end won't do anything, the whole shortcut
has to be selected first.

The easiest fix would be to strip spaces from shortcuts.
Another option would be to use initials instead, but they aren't very
important, in Word entering them based on the suggestion after the first couple
of characters seems to be the normal usage.

AutoText import from OOXML files was added by Szymon Kłos in 2017-04 and 05,
perhaps that offers some clues where to find the relevant piece of code.

I don't have a sample right now, perhaps could try to create one later.

Observed using LO 6.2.0.3 / Windows 7.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104520
[Bug 104520] [META] DOCX (OOXML) bug tracker
https://bugs.documentfoundation.org/show_bug.cgi?id=108663
[Bug 108663] [META] AutoText bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to