CalloutShape: Add a new shape to handle callouts
ClosedPublic

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

Details

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.

Diff Detail

Repository
R8 Calligra
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
danders created this revision.Nov 8 2018, 11:38 AM
Restricted Application added a project: Calligra: 3.0. · View Herald TranscriptNov 8 2018, 11:38 AM
Restricted Application added a subscriber: Calligra-Devel-list. · View Herald Transcript
danders requested review of this revision.Nov 8 2018, 11:38 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 14 2018, 10:00 AM
This revision was automatically updated to reflect the committed changes.