1. 11 Nov, 2020 1 commit
  2. 10 Sep, 2020 1 commit
  3. 21 Aug, 2020 1 commit
  4. 11 Jul, 2020 1 commit
    • Albert Astals Cid's avatar
      Run clang-format · 19d98d6a
      Albert Astals Cid authored
      find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;
      If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
  5. 21 Feb, 2020 1 commit
  6. 23 Dec, 2019 1 commit
  7. 18 Dec, 2019 1 commit
    • Albert Astals Cid's avatar
      CI: enable more modernize checks · 78cf6bd9
      Albert Astals Cid authored
      Since unfortunately some of the autogenerated includes don't pass the
      checks we do a trick of building out of source and then specifying the
      .*/okular/.* path as the only includes we care about
  8. 21 Jul, 2019 1 commit
    • David Hurka's avatar
      Improve documentation of area classes · 0602576c
      David Hurka authored
      This shall improve the documentation of several area classes,
      including NormalizedPoint, NormalizedRect, RegularArea, RegularAreaRect.
      This shall also clarify when absolute coordinates and when normalized
      coordinates are used.
      Describes the normalized coordinate system in NormalizedPoint, with a new term “reference area” do describe mapping.
      Page view rotation.
      This is not done consistently in Okular, but can be changed later. I think this documentation will help (me) with that then.
      Test Plan: Run doxygen
      Reviewers: #okular, aacid
      Reviewed By: #okular, aacid
      Subscribers: aacid, okular-devel
      Tags: #okular
      Differential Revision: https://phabricator.kde.org/D21266
  9. 11 Jan, 2019 1 commit
  10. 14 Nov, 2018 1 commit
  11. 04 Oct, 2018 1 commit
    • Dileep Sankhla's avatar
      Support setting text color for typewriter annotations · e44ff387
      Dileep Sankhla authored
      Changing typewriter text color can be done in the typewriter properties dialog, or programmatically via new okular API methods TextAnnotation::textColor and TextAnnotation::setTextColor.
      poppler >= 0.69 is required to store text color natively inside PDF documents. For other document types, text color is stored as metadata inside the document archive.
      This work was done during GSoC 2018. See https://community.kde.org/GSoC/2018/StatusReports/DileepSankhla for details.
      Test Plan:
      - properties dialog of typewriter annotation has "Font Color" picker
      - saving to PDF results in <r> <g> <b> rg operation in /DA
      - saving to archive results in fontColor="rrggbb" attribute in metadata.xml
      Reviewers: sander
      Reviewed By: sander
      Subscribers: kde-doc-english, sander, okular-devel
      Tags: #okular, #documentation
      Differential Revision: https://phabricator.kde.org/D15205
  12. 01 Sep, 2018 1 commit
  13. 31 Aug, 2018 1 commit
  14. 30 May, 2018 1 commit
    • Andre Heinecke's avatar
      Support additional widget actions in PDF Forms · 18d404c3
      Andre Heinecke authored
      This adds support for actions associated with form fields
      through corresponding annotation widgets.
      Test Plan:
      Still needs a unit test, only tested manually with
      the document attached in the task.
      Reviewers: #okular, aacid
      Reviewed By: #okular, aacid
      Subscribers: okular-devel, aacid
      Tags: #okular
      Maniphest Tasks: T8627
      Differential Revision: https://phabricator.kde.org/D12665
  15. 19 Mar, 2017 1 commit
    • Tobias Deiminger's avatar
      Add annotation resize functionality · 0957abc3
      Tobias Deiminger authored
      If you left-click an annotation, it gets selected. Resize handles appear on the selection rectangle. When cursor is moved over one of the 8 resize handles on the corners/edges, the cursor shape changes to indicate resize mode. Everywhere else on the annotation means "move", just as it was before resize feature was added. Pressing ESC or clicking an area outside the annotation cancels a selection. Pressing Del deletes a selected annotation.
      Feature is only applicable for annotation types AText, AStamp and AGeom.
      It works by eventually changing AnnotationPrivate::m_boundary and notifying generator (i.e. poppler) about that change. Annotation state handling is shifted out of PageView into a new class MouseAnnotation (ui/pageviewmouseannotation.cpp). Some functionality not related to resizing but to annotation interaction in general is also shifted to class MouseAnnotation, to build a single place of responsiblity.
      Other changes:
      Add method Document::adjustPageAnnotation, backed by a QUndoCommand.
      class Okular::AdjustAnnotationCommand.
      Add Annotation::adjust and Annotation::canBeResized methods.
      Draw resize handles in PagePainter::paintCroppedPageOnPainter.
      Resize and move work
      -for types AText, AStamp and AGeom
      -on all pages of document
      -when viewport position changes
      -when zoom level changes
      -for all page rotations (0°, 90°, 180°, 270°)
      Selection is canceled
      -when currently selected annotation is deleted
      -on mouse click outside of currently selected annotation
      -ESC is pressed
      Viewport is shifted when mouse cursor during move/resize comes close to viewport border.
      Resize to negative is prevented.
      Tiny annotations are still selectable.
      If mouse is moved over an annotation type that we can focus, and the annotation is not yet focused, mouse cursor shape changes to arrow.
      If mouse cursor rests over an annotation A, while annotation B is focused, a tooltip for annotation A is shown.
      Selected Annotation is deleted when Del is pressed.
      Test for regressions:
      -Annotation interaction (focus, move, resize, start playback, ...) are only done in mode EnumMouseMode::Browse.
      -If mouse is moved over an annotation type where we can start an action, mouse cursor shape changes to pointing hand.
      -If mouse is moved over an annotation type that we can't interact with, mouse cursor shape stays a open hand.
      -If mouse cursor rests over an annotation of any type, a tooltip for that annotation is shown.
      -Grab/move scroll area (on left click + mouse move) is prevented, if mouse is over focused annotation, or over AMovie/AScreen/AFileAttachment annotation.
      -A double click on a annotation starts the "annotator".
      REVIEW: 127366
      BUG: 177778
      BUG: 314843
      BUG: 358060
  16. 02 Mar, 2017 1 commit
  17. 20 Aug, 2015 1 commit
    • Tobias Koenig's avatar
      Add basic support for RichMedia annotations in PDF files · 8b603c17
      Tobias Koenig authored
      That patch extracts the video file, which is defined in a
      rich media annotation as parameter for the flash player,
      and uses the normal multimedia player, to playback the video
      This feature requires poppler-qt5 in version 0.36.
      FEATURE: 326230
      REVIEW: 124612
  18. 27 Oct, 2014 1 commit
  19. 23 Jun, 2013 1 commit
  20. 14 May, 2013 1 commit
  21. 05 Apr, 2013 2 commits
  22. 22 Oct, 2012 1 commit
  23. 21 Sep, 2012 1 commit
  24. 08 Sep, 2012 2 commits
  25. 06 Sep, 2012 1 commit
  26. 17 May, 2012 2 commits
  27. 01 Jun, 2011 1 commit
  28. 27 Dec, 2010 1 commit
  29. 31 Dec, 2009 1 commit
  30. 23 Aug, 2008 1 commit
  31. 01 May, 2008 1 commit
  32. 13 Apr, 2008 4 commits
  33. 06 Apr, 2008 2 commits