10 Commits

Author SHA1 Message Date
PgBiel
1301b901b7 count header rows in each region
- Currently also includes non-repeatable header row heights, which will lead to bugs on rowspans; needs fix
2025-04-05 01:14:17 -03:00
PgBiel
e586cffa6c finish region adjustments
- flush pending headers
- properly layout headers at region start
2025-04-04 22:02:09 -03:00
PgBiel
63055c8c83 use headers to layout enum on layout_headers
- This will allow us to tell layout_headers to just layout headers that are already repeating, plus pending headers which are waiting for layout.
2025-04-04 21:31:13 -03:00
PgBiel
af35e287af finish layout_headers refactor
- Subtract footer height in it already
- Still need to fix finish region
2025-04-04 21:24:20 -03:00
PgBiel
0143d0775b begin refactoring layout_headers
- May have to include ALL headers when skipping a region...
- Approach too naive
2025-04-04 21:24:20 -03:00
PgBiel
6029e6f3bb begin placing new headers
Considerations:
- Need to change layout headers algorithm to
  1. Place those headers
  2. But in a new region, also place other repeating headers
  3. Keep footer height up-to-date without much intervention
2025-04-04 21:24:20 -03:00
PgBiel
4bd3abf44d initial multi heading progress
pending headers change
2025-04-04 21:23:38 -03:00
Michael Färber
5c876535cc
Move CellGrid from typst-layout to typst-library (#5585) 2025-01-06 15:20:28 +00:00
Laurenz
0228462ba1
Bump Rust to 1.83 (#5534) 2024-12-05 15:57:01 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00