Bug 95013

Summary: Autotext import only offers MS Word 97-2003 file format as possible formats
Product: LibreOffice Reporter: Sveinn í Felli <sv1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: aron.budea, cno
Priority: medium Keywords: filter:docx
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard: interoperability
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104520, 108663    

Description Sveinn í Felli 2015-10-13 14:21:24 UTC
Open Writer
Goto Edit - AutoText
Select My AutoText and below click on AutoText-button, select "Import". The resulting dialog only offers to import MS Word 97-2003 .doc file format, neither pure text files nor ODT is shown.

Observed in LinuxMint 17.2 and OpenSuse 13.1, LibreOffice 5.0.3 RC1 and 4.1.6.2 respectively.
Comment 1 Cor Nouws 2015-10-13 14:43:30 UTC
Hi Sveinn,

Yep, that's true..
The location ./config/libreoffice/X/user/autotext holds .bau files and one would assume that it's not too hard to import other stuff in that.

OTOH, creating AutoText in Writer is rather easy.
Isn't it just a service to make importing MsWord AutoText easy and fast (immagine you have many of them in old template projects..) ?

But a nice enhancement.
Thanks!
Cor
Comment 2 Cor Nouws 2015-10-13 14:44:22 UTC
not sure - maybe Writer or FrameWork or Filters&Storage is better as component
Comment 3 Oliver Specht (CIB) 2015-10-29 14:41:06 UTC
Importing AutoText doesn't mean importing a random text document as a single auto text.
It imports a collection of text blocks stored within the doc/dot file. 
It would certainly make sense to add a similar importer for the glossary part in docx/dotx files.
Comment 4 Cor Nouws 2015-10-29 20:22:55 UTC
Ah yes, docx too.
Comment 5 Aron Budea 2017-03-30 16:13:40 UTC
Not to mention DOTM, which is used for the standard template these days (at least in Word 2013).
Comment 6 Szymon Kłos 2017-05-12 09:02:29 UTC
Importing AutoText from .dotx and .dotm is possible after:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=dff3d8ca4c17a649d2ac6ced448df9c784497d41
Comment 7 Cor Nouws 2017-05-12 09:04:27 UTC
(In reply to Szymon Kłos from comment #6)
> Importing AutoText from .dotx and .dotm is possible after:
> 
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=dff3d8ca4c17a649d2ac6ced448df9c784497d41

thanks Szymon :) !