mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-04 02:20:19 +01:00
- 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.