130 Commits (522ffd00b60b431a5349eea39fae4cb345e4be07)

Author SHA1 Message Date
Pino Toscano a5252a9115 add flags to selectively choose the page parts to serialize 18 years ago
Laurent Montel c2fc9836e8 Fix iterator 18 years ago
Pino Toscano 18f486c2c1 add the possibility to store an useful bounding box of a page, and for generators to notify the document (and its observers) on its change 18 years ago
Pino Toscano 1f43811f61 redirect all the debug output of core to the debug area 18 years ago
Pino Toscano 5e0c1a1671 hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly 19 years ago
Pino Toscano b321f9ea21 when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly 19 years ago
Pino Toscano 99a99a1590 instead of just keeping the transformation matrix, add the pointer to the owning page in a text page, so a text page can know more information, and with no need to manually be updated by the page 19 years ago
Pino Toscano bf9af4433d move deleteTextSelections() to the private class 19 years ago
Pino Toscano d81d4aedd9 small api fixup ('const QContainer' it's pointless as return value) 19 years ago
Pino Toscano 351f66a9b4 remove TextPage::transform() from the public API, and make the Page change the TextPage transformation easily 19 years ago
Pino Toscano d66f6b8f4a better check before starting searching on a NULL text page... 19 years ago
Pino Toscano 9a1b575ac0 properly rotate/transform the text page and the highlight areas 19 years ago
Pino Toscano b480fc0670 do nothing if we have no form fields for a page, but form saved data for it are there anyway 19 years ago
Pino Toscano 35a51a9d06 stupid me, don't increment the end() iterator ;( 19 years ago
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-) 19 years ago
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way: 19 years ago
Pino Toscano ba765a3b69 give the right parent page to the annotations also when restoring them from xml 19 years ago
Pino Toscano b41dcfeddc - store a pointer of the owning page in each annotation 19 years ago
Albert Astals Cid 2437917e47 Do not start numberOfPagesWithPixmaps threads because that brings the system down, just start what threadweaver thinks its best 19 years ago
Albert Astals Cid 723c3a482a move rotationjob.h to rotationjob_p.h 19 years ago
Pino Toscano 3ce672f586 Albert fixed poppler, now I can activate the form saving 19 years ago
Pino Toscano fa6b376626 Add the possibility to remember the contents of form fields when closing a document, and to restore them when reopening the document. 19 years ago
Pino Toscano 6256757e2b make the Page really take ownership of the text selection set to it, thus deleting it as the HighlightAreaRect "clones" the passed rect 19 years ago
Pino Toscano 48d0f95745 delete the previous action when setting a new one 19 years ago
Pino Toscano 325b8711ea move the setTextSelections, setHighlight and deleteHighlights to the private class of Page, as they are private for now 19 years ago
Pino Toscano e79cd474d9 move the Page rotating and changing page functions to the private class 19 years ago
Pino Toscano 5f21b15d99 Link -> Action renaming. 19 years ago
Pino Toscano f3e484082d Link -> Action renaming. 19 years ago
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano 3f84c8ccad move modifyAnnotation to the private class 19 years ago
Pino Toscano acd19bc8f7 move the Page serialization functions to the private class, and make Document access to them 19 years ago
Pino Toscano 5deae607aa do time profiling only when needed 19 years ago
Pino Toscano 95bb597a85 hide the text selection inside the private class of Page 19 years ago
Pino Toscano 229f3cf1de add a private function for the nearest Page pixmap, for the PagePainter usage; 19 years ago
Pino Toscano 36b894c75a Create a (private) PageController that handles the rotation jobs from all the pages. 19 years ago
Pino Toscano a67410f74f move the private class of Page in an own private header 19 years ago
Pino Toscano bc8036dc62 they are constant methods, so let them be 'const' 19 years ago
Pino Toscano db8a10dc2c Preliminary supports for text and choice form fields. 19 years ago
Pino Toscano 1d27a90fd3 a slightly better usage of the Qt containers, saving also some lookups when using the QMap's 19 years ago
Pino Toscano dd6ddee116 tokoe does not know that Page::text() and TextPage::text() have different functions ;) 19 years ago
Pino Toscano e59275b54a don't look twice, iterator is better 19 years ago
Pino Toscano 10a6e3943e SVN_SILENT small #include cleanup 19 years ago
Pino Toscano 9cda7888d9 small api fix 19 years ago
Pino Toscano b163e04115 Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane. 19 years ago
Pino Toscano 1b49db09d5 be sure to delete the old pixmap before setting a new one 19 years ago
Pino Toscano 5636ac551f don't leak memory when loading page actions from poppler, and sound objects 19 years ago
Pino Toscano 18fab3d130 Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done. 19 years ago
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular. 19 years ago
Tobias Koenig 42614623e8 Rotate the highlights correctly 19 years ago
Pino Toscano bd14706edb leak a bit less memory 19 years ago