okular/conf
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 Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgaccessibility.cpp Port to new connect api 2014-10-01 14:02:01 +02:00
dlgaccessibility.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgaccessibilitybase.ui SVN_SILENT Cleanup .ui files 2009-04-21 21:54:46 +00:00
dlgannotations.cpp Use QStringLiteral 2015-10-29 13:37:11 +01:00
dlgannotations.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgannotationsbase.ui Small tweak to the UI 2013-05-22 00:01:02 +02:00
dlgdebug.cpp Fix build without implicit cast to/from ascii 2016-07-11 22:11:43 +02:00
dlgdebug.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgeditor.cpp Fix includes 2014-10-08 13:37:04 +02:00
dlgeditor.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgeditorbase.ui SVN_SILENT Cleanup .ui files 2009-04-21 21:54:46 +00:00
dlggeneral.cpp Custom background color 2017-10-01 11:31:59 +02:00
dlggeneral.h Custom background color 2017-10-01 11:31:59 +02:00
dlggeneralbase.ui Custom background color 2017-10-01 11:31:59 +02:00
dlgperformance.cpp Port away from KButtonGroup 2016-07-17 00:56:11 +02:00
dlgperformance.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgperformancebase.ui More ports out of KDialog 2016-07-17 02:28:57 +02:00
dlgpresentation.cpp Use QStringLiteral 2015-10-29 13:37:11 +01:00
dlgpresentation.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
dlgpresentationbase.ui Implement drawing quick selection tool for presentation mode 2015-08-22 22:17:40 +02:00
editannottooldialog.cpp Support setting text color for typewriter annotations 2018-10-04 20:02:55 +02:00
editannottooldialog.h Add typewriter annotation tool 2018-09-25 22:47:01 +02:00
editdrawingtooldialog.cpp Minor 2017-06-02 07:47:56 +02:00
editdrawingtooldialog.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
okular.kcfg Custom background color 2017-10-01 11:31:59 +02:00
okular_core.kcfg Do not --use when invoking kate anymore 2015-09-13 16:41:09 +02:00
preferencesdialog.cpp clang-tidy: modernize-use-nullptr run 2017-09-06 00:19:48 +02:00
preferencesdialog.h Fixes suggested by Clazy 2016-10-29 16:33:05 +02:00
settings.kcfgc port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
settings_core.kcfgc port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
textdocumentsettings.ui Font selector for TextDocumentGenerator 2013-05-18 16:03:33 +02:00
widgetannottools.cpp Fix minor EBN issues 2018-09-01 11:25:57 +03:00
widgetannottools.h Q_DECL_OVERRIDE -> override 2017-03-02 20:39:24 +01:00
widgetconfigurationtoolsbase.cpp HiDPI Support for Okular 2017-10-14 14:47:20 +02:00
widgetconfigurationtoolsbase.h Q_NULLPTR -> nullptr 2017-03-02 20:09:32 +01:00
widgetdrawingtools.cpp Fix minor EBN issues 2018-08-31 12:23:45 +03:00
widgetdrawingtools.h Q_DECL_OVERRIDE -> override 2017-03-02 20:39:24 +01:00