Bug 142559 - Provide a UI to set arbitrary shadow direction and use them in import and export
Summary: Provide a UI to set arbitrary shadow direction and use them in import and export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2021-05-29 21:35 UTC by Regina Henschel
Modified: 2023-04-12 16:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Shadow with other direction than possible in the UI (13.01 KB, application/vnd.oasis.opendocument.text)
2021-05-29 21:35 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-05-29 21:35:50 UTC
Created attachment 172445 [details]
Shadow with other direction than possible in the UI

ODF has attributes draw:shadow-offset-x and draw:shadow-offset-y.
Our API has properties ShadowXDistance and ShadowYDistance.
VML has property offset as "x,y"
OOXML has shadow attributes dist (distance) and dir (direction angle).
They all can us arbitrary directions of a shadow.
LibreOffice can even render such shadow, see attached document.

Only the dialog restricts the shadow direction to Top, TopRight, Right, BottomRight, Buttom, BottomLeft, Left, TopLeft and Center.

Therefore my request is to enhance LibreOffice, that all directions are possible for the user in the UI and the exact direction is used on load and save, not only with ODF but with OOXML too.