Bug 162561 - LibreOffice deletes custom folder with structure.xml (.dotx)
Summary: LibreOffice deletes custom folder with structure.xml (.dotx)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/libreof...
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX
  Show dependency treegraph
 
Reported: 2024-08-22 11:27 UTC by Ejnar
Modified: 2024-11-05 18:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
.dotx file with doczilla folder, which deletes after saving in Libre (33.56 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.template)
2024-08-22 11:27 UTC, Ejnar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ejnar 2024-08-22 11:27:49 UTC
Created attachment 195953 [details]
.dotx file with doczilla folder, which deletes after saving in Libre

We have recently encountered a problem when working with a document:

LibreOffice deletes the markup when you open .dotx file in it.
We added an additional folder with a structure.xml file to the .dotx archive according to all standards, but libreOffice deletes this folder and file, even though the format and standards do not prohibit it.

So the question is how can we view / edit .dotx files with LibreOffice and save this additional folder with structure.xml file.



Libre forum discussion:
https://ask.libreoffice.org/t/libreoffice-deletes-folder-with-structure-xml-dotx/109357

Another users confirm our problem:
"I can confirm the author’s observations.
When saving a file in MS Word, additional folders are saved.
When saving a file in LibreOffice Writer, additional folders are not saved.


Another example. In the Book1.xlsx archive there is an “additional” file \xl\jsaProject.bin.
If the file is opened and saved in MS Excel, the “additional” file is saved.
If the file is opened and saved in LibreOffice Calc, the “additional” file is not saved."
Comment 1 Buovjaga 2024-11-05 18:04:19 UTC
1. File - Templates - Edit template, open attachment 195953 [details]
2. File - Save as, save under some other name as .dotx
3. Unzip into a new directory

There is no doczilla dir within the extracted items.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad3f929a738292a519128192293c92bd5f96f025
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 5 November 2024