Bug 146192 - Extrusion-viewpoint value (3472, -3472, 25000) is not written to file, although it is not default value
Summary: Extrusion-viewpoint value (3472, -3472, 25000) is not written to file, althou...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL: https://docs.oasis-open.org/office/Op...
Whiteboard:
Keywords: easyHack
Depends on:
Blocks: 3D-Model
  Show dependency treegraph
 
Reported: 2021-12-12 10:06 UTC by Regina Henschel
Modified: 2023-08-18 04:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-12-12 10:06:33 UTC
The extrusion property ViewPoint uses internally the default (3472, -3472, 25000). Those values are the default values in MS Office. But ODF has the default value  (3.5cm -3.5cm 25cm). Therefore (3472, -3472, 25000) needs to be written to file, e.g. as (3.472cm -3.472cm 25cm). When then - after some years - the existing files have this value, the import can be changed to interpret a missing value as (3500, -3500, 25000).

Workaround: Use a different direction and then switch back to the default direction "Extrusion South-West". Now  the value is explicitly set and is written to file

Because the difference is not large and a workaround exists, the Severity is minor.

To reproduce it: Start Impress and insert a custom shape, e.g. "Diamond". Toggle it to "Extrusion on". Click "Perspective" in drop-down "Direction" in toolbar "3D-Settings". Save the file in Open Document Format. Inspect the file. You should find an attribute draw:extrusion-viewpoint, but such attribute is missing.

This is similar to bug 141301 and can be handled the same way.