Bug ID: 124089
           Summary: DOTM AutoText import creates incorrect shortcut (with
           Product: LibreOffice
           Version: release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
            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 / Windows 7.

Referenced Bugs:
[Bug 104520] [META] DOCX (OOXML) bug tracker
[Bug 108663] [META] AutoText bugs and enhancements
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to