42 Commits (02dde1035c250f6af4127fe679404198e1c8c6da)

Author SHA1 Message Date
Pino Toscano 805b0f3386 Introduce a selective merging strategy for text areas, so we merge only all the areas of a text "line" together, not also with the areas above (if the lines overlap). 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 351f66a9b4 remove TextPage::transform() from the public API, and make the Page change the TextPage transformation easily 19 years ago
Pino Toscano 1bd879c240 extract the definition of the private class of TextPage to an own file, and rename it to TextPagePrivate 19 years ago
Pino Toscano 490cf6fc67 Add a new text selection algo that should be a bit more reliable than the current one (just commented out), especially if the backend does not provide text areas in the logical order. Drawback: slightly slower. 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
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano 8fbebeb737 no need to pass a reference to an enum value 19 years ago
Tobias Koenig 7cff5de9ce Coding style cleanup 19 years ago
Tobias Koenig ea51ee18f5 Do a lot of include cleanups... we install all important 19 years ago
Pino Toscano dff36b98f8 simplify RegularAreaRect by avoiding the usage of pointers, as they don't give benefits anyway. 19 years ago
Pino Toscano 7d275a6390 Improved the text selection by using and ad-hoc function that takes care of adding or merging a new shape to the area, so the simply() at the end is no more needed. 19 years ago
Pino Toscano 5e50a35683 less includes in the headers 20 years ago
Pino Toscano 4c17c58fc2 better remove the search points (with the iterators) first 20 years ago
Pino Toscano 97f9f895ed There is nothing to find text into if the text page has no text. 20 years ago
Pino Toscano 5ce4b0674e Make okular able to copy the text selection to the clipboard (finally!). 20 years ago
Tobias Koenig 0302929b04 Add support of transformation (rotation) of TextPages 20 years ago
Tobias Koenig 471c71d256 Cleaned up the API of TextEntity and TextPage, ready for release ;) 20 years ago
Tobias Koenig 4848631daf Renamed all the Page::getXyz() methods to Page::xyz() to be konsistent 20 years ago
Tobias Koenig 14d6515b16 Changed the enum SearchDir to SearchDirection and use less strange 20 years ago
Pino Toscano f950e3e172 const iterators can be used here, too 20 years ago
Pino Toscano bd1880e42d less use of pointers; more const's 20 years ago
Pino Toscano 2854e8aea3 slightly improve (not much, but well...) 20 years ago
Pino Toscano b566530fad very small optimization: instead of doing toLower for each char, do it only once (if necessary, of course) 20 years ago
Pino Toscano bee45c6eef SVN_SILENT tab -> spaces 20 years ago
Pino Toscano 42310e184c Restructuring a bit how the text-editor-like selection works: 20 years ago
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed 20 years ago
Pino Toscano 25eb77c1de some fixes according to EBN: 20 years ago
Pino Toscano c9555efe16 put a debug output line in a #ifdef DEBUG_TEXTPAGE, so at least the searches won't be slow unless while debugging 20 years ago
Pino Toscano 6301d6b397 In the hope I didn not break anything, this is the new way of searching through the text pages. The new way stores the search point for every searchID, avoid to search from the beginning every time. 20 years ago
Pino Toscano 59b267386c avoid using QString*, just use QString 20 years ago
Albert Astals Cid 68830e0508 fix search (a bit) and rect passing top != right dude!! 20 years ago
Pino Toscano 4bd3b60d6c less qt3_support 20 years ago
Pino Toscano 80f7e6b596 a bit of qt3/kde3 support less 20 years ago
Albert Astals Cid c0a2772c9a more porting, area.h is begining to loose but i need sleep 20 years ago
Albert Astals Cid 6987b83b6a a bit of porting area.h is giving me lots of problems 20 years ago
Piotr Szymanski 4387e1489e - GIGANTIC 2700 line diff with LOTS OF FEATURES! 20 years ago
Piotr Szymanski 75db44d843 - sync with hdd, refactored text page, ported backends to textpage, 21 years ago
Piotr Szymanski d09fd28b89 - MERGE KPDF 3.5 CHANGES 21 years ago
Piotr Szymanski 34b8e28322 - Page/Link: tooltips for links backported 21 years ago
Piotr Szymanski 36ab5c8965 - make generators plugins by: 21 years ago