Skip to content
  • Rajeesh K V's avatar
    Okular Annotation: add support for line ending style for Straight Line tool · db2dcdad
    Rajeesh K V authored and Oliver Sander's avatar Oliver Sander committed
    Summary:
    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):
    {F6788150}
    
    Configure annotations (after):
    {F6788151}
    
    Straight Line tool with Open Arrow end in action:
    {F6788153}
    
    Test Plan:
    1. Open a PDF in Okular
    2. Enable Review
    3. Right click on Review toolbar and Configure annotations
    4. Create (or edit existing) Straight Line tool
    5. Set the ‘Line End’ option on Style and Apply
    6. Use the Straight Line tool to draw a line and check the line ending style.
    
    Reviewers: #okular, #vdg, sander, ngraham
    
    Reviewed By: #vdg, sander, ngraham
    
    Subscribers: pino, sander, davidhurka, tobiasdeiminger, ngraham, okular-devel
    
    Tags: #okular
    
    Differential Revision: https://phabricator.kde.org/D20760
    db2dcdad