Find a file
Dileep Sankhla e44ff38706 Support setting text color for typewriter annotations
Summary:
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
2018-10-04 20:02:55 +02:00
autotests Fix minor EBN issues 2018-08-31 12:23:45 +03:00
cmake/modules Use a target in FindDiscount (modern cmake) rather than variables 2018-05-08 21:39:06 +02:00
conf Support setting text color for typewriter annotations 2018-10-04 20:02:55 +02:00
core Support setting text color for typewriter annotations 2018-10-04 20:02:55 +02:00
doc Add typewriter tool to the docs 2018-09-26 09:53:13 +03:00
generators Support setting text color for typewriter annotations 2018-10-04 20:02:55 +02:00
interfaces Fix minor EBN issues 2018-08-31 12:23:45 +03:00
mobile GIT_SILENT made messages (after extraction) 2018-09-28 06:39:36 +02:00
shell Fix minor EBN issues 2018-09-01 11:25:57 +03:00
ui Support setting text color for typewriter annotations 2018-10-04 20:02:55 +02:00
.arcconfig Add the base .arcconfig file 2017-08-30 01:28:40 +02:00
.gitignore Add .gitignore 2014-09-17 23:55:42 +02:00
.krazy synctex is "external code", make krazy stay away from it 2010-02-08 23:15:24 +00:00
aboutdata.h Extending my (C) 2017-09-11 16:30:56 +02:00
AUTHORS oKular goes poppler 2006-03-19 18:03:43 +00:00
CMakeLists.txt GIT_SILENT Upgrade KDE Applications version to 18.08.1. 2018-08-31 18:40:53 +02:00
config-okular.h.cmake Force release of free memory 2018-05-30 10:55:17 +02:00
COPYING - MERGE KPDF 3.5 CHANGES 2005-11-04 11:59:51 +00:00
COPYING.DOC Add copies of the GFDL-1.2 and LGPL-2 2011-07-07 18:22:06 +02:00
COPYING.LIB Add copies of the GFDL-1.2 and LGPL-2 2011-07-07 18:22:06 +02:00
extensions.cpp Fix build without implicit cast to/from ascii 2016-07-11 22:11:43 +02:00
extensions.h Fix minor EBN issues 2018-09-01 11:25:57 +03:00
kdocumentviewer.h Fix minor EBN issues 2018-08-17 21:05:01 +03:00
Mainpage.dox remove deprecated Encoding key from desktop files 2018-01-02 22:35:40 +01:00
Messages.sh Make the drawing tools be actions instead of tool buttons 2015-08-22 22:17:40 +02:00
metainfo.yaml dox: the 'interfaces' subdir contains public API as well 2016-12-04 19:04:53 +01:00
okular.categories add markdown support 2017-08-25 01:05:23 +02:00
okular.upd Separate settings in core and non core 2012-10-16 00:28:29 +02:00
Okular5Config.cmake.in add missing include for find_dependency https://build.neon.kde.org/job/xenial_unstable_applications_okular_lintcmake/59/console 2017-10-27 14:53:23 +01:00
okular_part.desktop SVN_SILENT made messages (.desktop file) 2014-12-26 04:18:45 +00:00
OkularConfigureChecks.cmake Force release of free memory 2018-05-30 10:55:17 +02:00
part-viewermode.rc Add "Trim To Selection" feature 2015-08-27 22:09:02 +02:00
part.cpp Fix minor EBN issues 2018-08-31 12:23:45 +03:00
part.h Fix minor EBN issues 2018-09-01 11:25:57 +03:00
part.rc We need to increase the part.rc version number 2017-11-13 14:49:08 +01:00
README.internals.png Optimize PNG files again. 2008-01-02 00:10:07 +00:00
TODO Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00