16 Commits

Author SHA1 Message Date
Nyall Dawson
8dd75cc9cc [layouts] Improve UI for formatting manual table cells
Instead of the confusing duplicate settings for foreground color
vs cell text color, remove the foreground color button and only
expose this color setting via the cell text color.
2020-09-23 03:15:28 +10:00
Nyall Dawson
7cfa476a2d [layouts] Save table editor panel state to avoid having to constantly
resize formatting panel on reopen
2020-07-27 11:12:58 +10:00
Nyall Dawson
1f9b9c8c9e [feature][layouts] Allow cells in manual text tables to have expression
based contents

Allows individual cells from a manual text table to take their contents
from a preset expression. Expressions have access to the full layout
item expression context, allowing cells to calculate and display
metadata style values or aggregate based calculations.

Sponsored by City of Canning
2020-07-14 11:28:23 +10:00
Nyall Dawson
761f594cca Improve api and UX for handling cell text formatting in manual tables,
by removing the checkbox for overridding text format and using the
"not set" state from the font button instead
2020-07-14 11:23:33 +10:00
Nyall Dawson
ff8d070fea [feature][layouts] Expose control over cell text alignment for
individual table cells in manual text tables

Allows users to set the text horizontal and vertical alignments
on a cell by cell/column/row basis

Sponsored by City of Canning
2020-07-13 06:00:05 +10:00
Nyall Dawson
b584f93afb Expose text format override options to table editor widget 2020-07-13 06:00:05 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Mathieu Pellerin
ab6fe9d79a [FEATURE][layouts] Add import content from clipboard for fixed table items 2020-03-31 17:21:09 +07:00
Nyall Dawson
756cb6f592 [layouts] Improve Manual Table handling of header cells
Instead of hiding this functionality from users, we instead add an explicit
toggle to the Table Designer dialog "Table" menu to hide or show
the header cells in the designer, and re-add the widgets which
allow users to customise the header appearance back into the
item configuration widget.

Whenever a header cell is selected in the table designer, the formatting
widgets are disabled since the item's header configuration widgets
are used to set the background/foreground color and other properties
of these cells instead.
2020-02-14 06:38:38 +10:00
Nyall Dawson
60d5e22a05 Make a custom delegate for the table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
2117aa7a5d Make table editing action text more descriptive
By describing the number of rows/columns affected, eg "Insert 2 Columns Before"
2020-01-14 19:08:20 +13:00
Nyall Dawson
781712ffbf Add table row height/column width handling to table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
2b5598d891 UX fixes for working with numeric formats in table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
024b321406 Unit tests and fixes for table numeric format setting/retrieval 2020-01-14 19:08:20 +13:00
Nyall Dawson
5a4bd09f72 Expand docs, extra tests 2020-01-14 19:08:20 +13:00
Nyall Dawson
387787b539 Add interactive editor dialog for layout manual table items 2020-01-14 19:08:20 +13:00