| 5722 | /** DocumentViewport **/ |
| 5723 | |
| 5724 | DocumentViewport::DocumentViewport(int n) |
| 5725 | : pageNumber(n) |
| 5726 | { |
| 5727 | // default settings |
| 5728 | rePos.enabled = false; |
| 5729 | rePos.normalizedX = 0.5; |
| 5730 | rePos.normalizedY = 0.0; |
| 5731 | rePos.pos = Center; |
| 5732 | autoFit.enabled = false; |
| 5733 | autoFit.width = false; |
| 5734 | autoFit.height = false; |
| 5735 | } |
| 5736 | |
| 5737 | DocumentViewport::DocumentViewport(const QString &xmlDesc) |
| 5738 | : pageNumber(-1) |