[Libreoffice-bugs] [Bug 124089] New: DOTM AutoText import creates incorrect shortcut (with space)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 15 03:27:14 UTC 2019


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 at lists.freedesktop.org
          Reporter: baron at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190315/a51487f2/attachment-0001.html>


More information about the Libreoffice-bugs mailing list