CalloutShape: Add a new shape to handle callouts

Authored by danders on Nov 8 2018, 11:23 AM.

Description

CalloutShape: Add a new shape to handle callouts

Summary:
This is the start of a dedicated callout shape.
It uses draw:type to identify callouts, same as LO/OO.
Unfortunatwly it abuses odf, but if we shall be compatible
with LO/OO I see no other option.

Roundtrips via LO works both ways and LO's ui also works with
callout produced with stage.

TODO:

  • Shearing and rotation
  • Needs new tool for resize/move of 'bubble' part

Known problem:
Rounding (?) problem when calculating position/size offsets,
but this will be changed anyway when shearing/rotation is implemented.

Reviewers: boemann, anthonyfieroni

Subscribers: Calligra-Devel-list

Tags: #calligra:_3.0

Differential Revision: https://phabricator.kde.org/D16756

Details

Committed
dandersNov 14 2018, 10:00 AM
Differential Revision
D16756: CalloutShape: Add a new shape to handle callouts
Parents
R8:00bbdb9c3241: KoPrintingDialog: Use correct enum in switch
Branches
Unknown
Tags
Unknown