Okular Annotation: add support for line ending style for Straight Line tool
Poppler and Okular already have support for specifying Line End style (TermStyle) for the Straight Line tool. Expose the functionality in configuration and hook up the correct slots.
Configure annotations (before):
Configure annotations (after):
Straight Line tool with Open Arrow end in action:
- Open a PDF in Okular
- Enable Review
- Right click on Review toolbar and Configure annotations
- Create (or edit existing) Straight Line tool
- Set the ‘Line End’ option on Style and Apply
- Use the Straight Line tool to draw a line and check the line ending style.
Reviewed By: VDG, sander, ngraham
Subscribers: pino, sander, davidhurka, tobiasdeiminger, ngraham, okular-devel
Differential Revision: https://phabricator.kde.org/D20760