| 74 | } |
| 75 | |
| 76 | void PDFPageLayout::setContinuous(const bool continuous /* = true */) |
| 77 | { |
| 78 | if (continuous == _isContinuous) |
| 79 | return; |
| 80 | _isContinuous = continuous; |
| 81 | if (!_isContinuous) |
| 82 | setColumnCount(1, 0); |
| 83 | // setColumnCount() calls relayout automatically |
| 84 | else relayout(); |
| 85 | } |
| 86 | |
| 87 | int PDFPageLayout::rowCount() const { |
| 88 | if (_layoutItems.isEmpty()) |