[Bug 167905] No import of Autotext from MS Word possible

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 14 17:36:40 UTC 2025


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #3 from Regina Henschel <rb.henschel at t-online.de> ---
You need a desktop version of Word to create a custom autotext. Steps are:

1. Write the desired content in a new docx document and select the text.
2. Press Alt+F3. You get the "Create New Building Block" dialog.
3. Field Name: Enter the name, that you will use later when inserting the auto
text.
4. Gallery: The default entry "AutoText" is OK.
5. Category: Open the drop-down. There you can use the entry "Create New
Category...". A new category makes it easier to distinguish your autotext from
the build-in ones, when you are using the autotext in Word.
6. Description: Add a short description
7. Save in: Select the item "Building Blocks.dotx"
8. Options: If you have a large autotext with several paragraphs and maybe
headings, then select item "Insert content in its own paragraph".
9. OK.
10. Close the document (not Word!) with or without saving.
11. Now close Word itself. You get a message box about saving to "Building
Blocks.dotx". Click on Save.

The file "Building Blocks.dotx" is located in C:\Users\<your user
name>\AppData\Roaming\Microsoft\Document Building Blocks. This folder has
subfolder named 1031, 1033, 1041, for example. In my case I have to open
subfolder 1033\16\. If you use the search feature of Windows, make sure the
search includes hidden folders and subfolders.

Now the import in LibreOffice.

12. Start with a text document.
13. Menu Tools > AutoText.
14. Select the Category into which you want to import the autotext from Word.
Make sure it is writable. In default settings it will be "My AutoText".
15. Open the drop-down "AutoText" in the lower part and select "Import...". You
get the usual File-Open dialog.
16. Now go to the file "Builing Blocks.dotx". Its location was described above.
Select it and click on Open.
17. The autotext items, that you have created in Word, should now be available
with their names you had given them in Word.

That's all.

It works without problems for me. I use Windows 11, Word 365 and an own debug
build from current master.

So there is no need to remove this feature.

When you inspect the file "Building Blocks.dotx", you will find the autotext in
\word\glossary 

@Roman: The autotexts from LibreOffice are stored in *.bau files and those are
not imported via "Import" but by using the "Path" item in the AutoText dialog.

In regard of extending an ott-file to be able to carry AutoText entries, this
is a WontFix for me, because the current solution with *.bau files works fine.
You can use several *bau files at the same time and they need not be located in
the user profile. A company can provide AutoText entries located on a central
server, for example.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list