Shane Ringrose
ba6320bff8
Folio properties: auto-add a title block's custom variables ( #271 )
...
When a title block template uses custom variables (e.g. %{department},
%{owner}), the user previously had to declare each one by hand in the
folio properties 'Custom' tab before a value could be entered. Now the
template's undefined custom variables are added automatically, so the
user only fills in the values.
- listOfVariables() now extracts %{name} placeholders with a regex
(deduplicated) instead of a crude '%' strip that returned '{name}'.
- The folio properties widget merges the template's custom variables into
the Custom tab both on open (setProperties) and when the template is
changed, preserving any values already entered and skipping the
standard fields (title, author, date, ...) which have their own inputs.
Fixes #271 (variable auto-population; the revision-history request in the
thread is a separate feature).
2026-06-12 05:45:08 +12:00
..
2026-04-26 10:48:47 +02:00
2026-02-05 17:58:12 +09:00
2026-01-16 15:24:35 +01:00
2025-05-18 14:15:20 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-05-11 18:14:41 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2020-08-17 16:42:07 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2024-12-31 21:58:42 +01:00
2024-12-31 21:58:42 +01:00
2017-08-29 14:54:27 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2015-08-26 21:46:47 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-10-16 15:49:18 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2022-01-03 21:01:25 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2013-04-30 10:25:05 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-07-08 23:31:34 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2017-12-30 14:41:25 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-11-09 18:50:37 +00:00
2026-06-11 13:22:01 +02:00
2026-05-28 12:23:54 +02:00
2026-04-09 08:36:54 +02:00
2026-05-21 20:47:44 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2017-01-15 12:23:05 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-09-06 21:29:25 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2016-05-05 13:31:04 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-09-30 17:19:50 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-03-31 20:14:51 +02:00
2026-01-16 15:24:35 +01:00
2026-04-01 16:51:41 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2020-05-15 11:38:09 +02:00
2026-04-02 17:05:06 +02:00
2026-01-16 15:24:35 +01:00
2018-12-03 22:13:16 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-04-23 13:50:36 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2015-08-29 14:18:30 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-12-04 19:07:14 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-04-09 08:36:54 +02:00
2026-04-09 08:36:54 +02:00
2026-04-09 08:36:54 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2022-07-23 21:54:23 +02:00
2026-06-12 05:45:08 +12:00
2026-06-12 05:45:08 +12:00
2018-12-04 22:38:51 +00:00
2026-05-23 19:23:43 +02:00
2026-01-16 15:24:35 +01:00
2026-05-23 19:23:43 +02:00