<table><tr><td style="">knambiar created this revision.<br />knambiar added a reviewer: Okular.<br />knambiar added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />knambiar requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20760">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Poppler and Okular already have support for specifying Line End style (<tt style="background: #ebebeb; font-size: 13px;">TermStyle</tt>) for the Straight Line tool. Expose the functionality in configuration and hook up the correct slots.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open a PDF in Okular</li>
<li class="remarkup-list-item">Enable Review</li>
<li class="remarkup-list-item">Right click on Review toolbar and Configure annotations</li>
<li class="remarkup-list-item">Create (or edit existing) Straight Line tool</li>
<li class="remarkup-list-item">Set the ‘Line End’ option on Style and Apply</li>
<li class="remarkup-list-item">Use the Straight Line tool to draw a line and check the line ending style.</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20760">https://phabricator.kde.org/D20760</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>conf/editannottooldialog.cpp<br />
ui/annotationwidgets.cpp<br />
ui/annotationwidgets.h<br />
ui/pageviewannotator.cpp</div></div></div><br /><div><strong>To: </strong>knambiar, Okular<br /><strong>Cc: </strong>okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid<br /></div>