D16756: CalloutShape: Add a new shape to handle callouts

Dag Andersen noreply at phabricator.kde.org
Thu Nov 8 11:38:15 GMT 2018


danders created this revision.
danders added reviewers: boemann, anthonyfieroni.
Herald added a project: Calligra: 3.0.
Herald added a subscriber: Calligra-Devel-list.
danders requested review of this revision.

REVISION 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.

REPOSITORY
  R8 Calligra

BRANCH
  callout_danders

REVISION DETAIL
  https://phabricator.kde.org/D16756

AFFECTED FILES
  plugins/pathshapes/CMakeLists.txt
  plugins/pathshapes/PathShapesPlugin.cpp
  plugins/pathshapes/enhancedpath/CalloutShape.cpp
  plugins/pathshapes/enhancedpath/CalloutShape.h
  plugins/pathshapes/enhancedpath/CalloutShapeFactory.cpp
  plugins/pathshapes/enhancedpath/CalloutShapeFactory.h
  plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp
  plugins/pathshapes/enhancedpath/EnhancedPathShape.h
  plugins/pathshapes/enhancedpath/EnhancedPathShapeFactory.cpp
  plugins/pathshapes/enhancedpath/EnhancedPathShapeFactory.h

To: danders, boemann, anthonyfieroni
Cc: Calligra-Devel-list, dcaliste, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20181108/04233333/attachment.htm>


More information about the calligra-devel mailing list