https://bugs.documentfoundation.org/show_bug.cgi?id=166900
Bug ID: 166900
Summary: OLE objects are stored with suboptimal size
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
This may be reproduced either from scratch, or with an existing document. For
both, Adobe Acrobat Reader is required to be installed (to manage the OLE
objects).
Variant using existing document:
================================
1. Open attachment 201130 from bug 166898 (a DOCX) in Writer. This attachment
was saved using MS Word; the OLE objects in it are Acrobat Reader OLE objects
(all created from the same PDF file). Their unpacked size inside the package is
23040 bytes, packed 14189 bytes.
2. Save it as ODT.
3. Inspect the embeddings inside the ODT package.
=> The ODT size is more than 4 MB, unlike the source DOCX (less than 1 MB);
most of the objects inside - files like Obj100 - are still 24040 bytes
unpacked, and about 14150 bytes packed - but each 8th object is about 3 MB
unpacked, and 98 KB packed. What happened to these?
Variant from scratch:
=====================
1. Prepare a PDF (just create a lorem ipsum document in writer, and export as
PDF);
2. Create a new Writer document, and Insert->OLE Object->OLE Object;
3. Further objects (important!)->Create from File->navigate to the file, and
confirm its insertion. At this moment, Acrobat Reader would open; just close
it.
4. Save the document as ODT and as DOCX.
5. Check the resulting packages, look at the embeddings sizes.
=> the embeddings would be several times larger than the original PDF file,
from which these objects were generated.
6. If you have MS Word: open the DOCX, and save as a copy (with another name)
=> The DOCX will drastically decrease in size; the embedding inside the package
will become much smaller, too.
--
You are receiving this mail because:
You are the assignee for the bug.