Files
Stirling-PDF/app
OUNZAR Aymane 4afe99f97b feat(core): add mode handling and page ordering logic for multi-page merge
- Introduced logic to calculate rows and columns depending on the selected mode (DEFAULT or CUSTOM).
  • DEFAULT mode uses pagesPerSheet with validation for 2, 3, or perfect squares.
  • CUSTOM mode uses user-defined rows × cols with >0 checks.
- Calculated rows, cols, and pagesPerSheet dynamically for each mode.
- Implemented page order switch logic (LR_TD, RL_TD, TD_LR, TD_RL) to determine
  row and column indexes for correct page placement.
2025-10-24 00:21:23 +02:00
..