Commit graph

189 commits

Author SHA1 Message Date
Mohammad Mahfuzur Rahman Mamun dca4ee559c Another Code Refactoring done 2011-08-21 10:44:42 +06:00
Mohammad Mahfuzur Rahman Mamun 1b8e1fc436 all files other than textpage.cpp has been changed necessarily 2011-08-17 10:59:10 +06:00
Mohammad Mahfuzur Rahman Mamun 3214307ed9 unnecessary changes removed from area.h and cpp textpage.h textpage_p.h 2011-08-17 10:45:46 +06:00
Mohammad Mahfuzur Rahman Mamun 929e4b6a0e Removed some double selection Problem 2011-08-12 08:25:21 +06:00
Mohammad Mahfuzur Rahman Mamun a2be8384c5 A little change for crash if there is no textPage but, yet correctTextOrder() is called 2011-07-22 15:07:13 +06:00
Mohammad Mahfuzur Rahman Mamun 4c4f6c1c7c text selection code moved to Page::setTextPage from Document::requestTextPage 2011-07-20 22:15:41 +06:00
Pino Toscano 40d20ca58d in each page, add a pointer to the owner document
svn path=/trunk/KDE/kdegraphics/okular/; revision=1217914
2011-01-29 15:38:18 +00:00
Albert Astals Cid 8f045d06a7 add a text() function that returns characters not containing any pixel inside the given area but the center pixel of the char rectangle
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048193
2009-11-12 21:48:43 +00:00
Pino Toscano 6d0241e5d2 add functions to get the nearest object rect to a point in a page, and return its distance, and the accessor functions for object rects
based on an patch by Luigi Toscano, thanks!
CCMAIL: luigi.toscano@tiscali.it

svn path=/trunk/KDE/kdegraphics/okular/; revision=943099
2009-03-23 12:05:00 +00:00
Pino Toscano a5252a9115 add flags to selectively choose the page parts to serialize
svn path=/trunk/KDE/kdegraphics/okular/; revision=884438
2008-11-14 23:38:02 +00:00
Laurent Montel c2fc9836e8 Fix iterator
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
2008-11-11 18:48:40 +00:00
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
original patch by kde2eran@tromer.org, thanks!
CCMAIL: kde2eran@tromer.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=809467
2008-05-18 23:06:21 +00:00
Pino Toscano 1f43811f61 redirect all the debug output of core to the debug area
svn path=/trunk/KDE/kdegraphics/okular/; revision=763941
2008-01-20 16:39:21 +00:00
Pino Toscano 5e0c1a1671 hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
2007-10-07 15:10:58 +00:00
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
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
2007-10-07 11:00:57 +00:00
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
svn path=/trunk/KDE/kdegraphics/okular/; revision=708443
2007-09-04 22:37:39 +00:00
Pino Toscano bf9af4433d move deleteTextSelections() to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=708155
2007-09-03 23:47:12 +00:00
Pino Toscano d81d4aedd9 small api fixup ('const QContainer' it's pointless as return value)
svn path=/trunk/KDE/kdegraphics/okular/; revision=708147
2007-09-03 23:01:57 +00:00
Pino Toscano 351f66a9b4 remove TextPage::transform() from the public API, and make the Page change the TextPage transformation easily
svn path=/trunk/KDE/kdegraphics/okular/; revision=708085
2007-09-03 19:58:30 +00:00
Pino Toscano d66f6b8f4a better check before starting searching on a NULL text page...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708081
2007-09-03 19:38:46 +00:00
Pino Toscano 9a1b575ac0 properly rotate/transform the text page and the highlight areas
svn path=/trunk/KDE/kdegraphics/okular/; revision=708054
2007-09-03 18:32:07 +00:00
Pino Toscano b480fc0670 do nothing if we have no form fields for a page, but form saved data for it are there anyway
svn path=/trunk/KDE/kdegraphics/okular/; revision=705035
2007-08-26 23:31:01 +00:00
Pino Toscano 35a51a9d06 stupid me, don't increment the end() iterator ;(
also, check that the index in the local save file refers to an existent form field

svn path=/trunk/KDE/kdegraphics/okular/; revision=705003
2007-08-26 20:55:56 +00:00
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-)
* Update some copyright years and mail addresses
 * Search does not block the GUI anymore YUHUUUUU
   Well, it it does but it's almost unperceptible, that means the searching methods of Document no longer return a bool but a void and the Document::searchFinished signal is used to know if something was found, nothing was found or the user pressed the cancel button !YES! one can cancel search now :-)
 * TextPage no longer holds the area and the current transformed area, it took TOO MUCH memory, now we transform the area each time, it's much more CPU intensive but i could not measure a time loss while searching big documents and i could measure HUNDREDS of MB of usage less.
 * MICRO optimization: Change some code to not detach some containers
 * I still don't have ADSL so this is something like a "blind" commit, Pino will check it compiles against current KDE, not against what's on my computers

svn path=/trunk/KDE/kdegraphics/okular/; revision=699701
2007-08-13 22:25:27 +00:00
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Pino Toscano ba765a3b69 give the right parent page to the annotations also when restoring them from xml
svn path=/trunk/KDE/kdegraphics/okular/; revision=689162
2007-07-17 20:04:30 +00:00
Pino Toscano b41dcfeddc - store a pointer of the owning page in each annotation
- preliminary API for translating an annotation

svn path=/trunk/KDE/kdegraphics/okular/; revision=689133
2007-07-17 18:10:25 +00:00
Albert Astals Cid 2437917e47 Do not start numberOfPagesWithPixmaps threads because that brings the system down, just start what threadweaver thinks its best
Probably still have to tell the weaver how to optimize for memory consumption but it's an improvement anyways

svn path=/trunk/KDE/kdegraphics/okular/; revision=683383
2007-07-04 16:55:33 +00:00
Albert Astals Cid 723c3a482a move rotationjob.h to rotationjob_p.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=683286
2007-07-04 14:39:52 +00:00
Pino Toscano 3ce672f586 Albert fixed poppler, now I can activate the form saving
svn path=/trunk/KDE/kdegraphics/okular/; revision=683267
2007-07-04 14:04:01 +00:00
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.
For now it's disabled, as I want to investigate a bit more with poppler wrt text fields, and to verify if that is an acceptable behaviour.

svn path=/trunk/KDE/kdegraphics/okular/; revision=683212
2007-07-04 11:41:45 +00:00
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
svn path=/trunk/KDE/kdegraphics/okular/; revision=673084
2007-06-08 23:06:04 +00:00
Pino Toscano 48d0f95745 delete the previous action when setting a new one
svn path=/trunk/KDE/kdegraphics/okular/; revision=661489
2007-05-05 18:22:26 +00:00
Pino Toscano 325b8711ea move the setTextSelections, setHighlight and deleteHighlights to the private class of Page, as they are private for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=661486
2007-05-05 18:07:34 +00:00
Pino Toscano e79cd474d9 move the Page rotating and changing page functions to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=660214
2007-05-01 23:36:57 +00:00
Pino Toscano 5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Pino Toscano f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano 3f84c8ccad move modifyAnnotation to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=655132
2007-04-17 19:55:18 +00:00
Pino Toscano acd19bc8f7 move the Page serialization functions to the private class, and make Document access to them
svn path=/trunk/KDE/kdegraphics/okular/; revision=653988
2007-04-14 19:58:17 +00:00
Pino Toscano 5deae607aa do time profiling only when needed
svn path=/trunk/playground/graphics/okular/; revision=648103
2007-03-30 14:27:22 +00:00
Pino Toscano 95bb597a85 hide the text selection inside the private class of Page
svn path=/trunk/playground/graphics/okular/; revision=648095
2007-03-30 14:08:20 +00:00
Pino Toscano 229f3cf1de add a private function for the nearest Page pixmap, for the PagePainter usage;
this way, the pixmap structure can be finally hidden in the private class

svn path=/trunk/playground/graphics/okular/; revision=646502
2007-03-25 22:36:41 +00:00
Pino Toscano 36b894c75a Create a (private) PageController that handles the rotation jobs from all the pages.
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.

svn path=/trunk/playground/graphics/okular/; revision=646010
2007-03-24 10:47:22 +00:00
Pino Toscano a67410f74f move the private class of Page in an own private header
svn path=/trunk/playground/graphics/okular/; revision=645963
2007-03-24 00:18:54 +00:00
Pino Toscano bc8036dc62 they are constant methods, so let them be 'const'
svn path=/trunk/playground/graphics/okular/; revision=641248
2007-03-10 17:25:14 +00:00
Pino Toscano db8a10dc2c Preliminary supports for text and choice form fields.
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)

svn path=/trunk/playground/graphics/okular/; revision=637001
2007-02-25 00:07:59 +00:00
Pino Toscano 1d27a90fd3 a slightly better usage of the Qt containers, saving also some lookups when using the QMap's
svn path=/trunk/playground/graphics/okular/; revision=632853
2007-02-12 14:15:51 +00:00
Pino Toscano dd6ddee116 tokoe does not know that Page::text() and TextPage::text() have different functions ;)
fixing a crash when getting the whole text of a page

svn path=/trunk/playground/graphics/okular/; revision=628802
2007-01-31 14:29:28 +00:00
Pino Toscano e59275b54a don't look twice, iterator is better
svn path=/trunk/playground/graphics/okular/; revision=627946
2007-01-28 17:28:28 +00:00
Pino Toscano 10a6e3943e SVN_SILENT small #include cleanup
svn path=/trunk/playground/graphics/okular/; revision=627931
2007-01-28 16:47:13 +00:00
Pino Toscano 9cda7888d9 small api fix
svn path=/trunk/playground/graphics/okular/; revision=625715
2007-01-20 22:04:10 +00:00
Pino Toscano b163e04115 Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane.
svn path=/trunk/playground/graphics/okular/; revision=625312
2007-01-19 23:30:32 +00:00
Pino Toscano 1b49db09d5 be sure to delete the old pixmap before setting a new one
svn path=/trunk/playground/graphics/okular/; revision=621863
2007-01-09 23:37:26 +00:00
Pino Toscano 5636ac551f don't leak memory when loading page actions from poppler, and sound objects
svn path=/trunk/playground/graphics/okular/; revision=620533
2007-01-06 14:25:33 +00:00
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.
While I was at it, I changed from "paper size" to "page size", it should be better.

svn path=/trunk/playground/graphics/okular/; revision=620411
2007-01-05 23:12:06 +00:00
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular.
svn path=/trunk/playground/graphics/okular/; revision=620312
2007-01-05 17:09:47 +00:00
Tobias Koenig 42614623e8 Rotate the highlights correctly
svn path=/trunk/playground/graphics/okular/; revision=620273
2007-01-05 15:16:36 +00:00
Pino Toscano bd14706edb leak a bit less memory
svn path=/trunk/playground/graphics/okular/; revision=619558
2007-01-03 17:57:03 +00:00
Tobias Koenig ea51ee18f5 Do a lot of include cleanups... we install all important
header files now

svn path=/trunk/playground/graphics/okular/; revision=619492
2007-01-03 14:30:48 +00:00
Tobias Koenig 86a1fd3b69 Big cleanup of Document API and documentation:
* add full API docs
 * renamed getMetaData -> metaData
 * removed supportsRotation in Document and Generator
 * moved Permission and SearchDirection enums into separated header core/global.h

svn path=/trunk/playground/graphics/okular/; revision=619183
2007-01-02 22:37:55 +00:00
Tobias Koenig 14ea3ab2ef Further documentation and API cleanups
svn path=/trunk/playground/graphics/okular/; revision=619054
2007-01-02 17:05:49 +00:00
Pino Toscano c51c412057 ok, let's sdo it seriously now: use the right precision for the page duration that a PDF can give us
svn path=/trunk/playground/graphics/okular/; revision=618194
2006-12-31 14:41:34 +00:00
Pino Toscano 5083655c11 Implement the page duration in presentation mode, and read the info from PDF documents.
svn path=/trunk/playground/graphics/okular/; revision=618136
2006-12-31 10:48:49 +00:00
Tobias Koenig 4fe8bdce53 Fixed free text selection for rotated pages
svn path=/trunk/playground/graphics/okular/; revision=617621
2006-12-29 18:18:07 +00:00
Pino Toscano 539921bdf6 Improving the bookmark capabilities of okular.
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.

svn path=/trunk/playground/graphics/okular/; revision=616979
2006-12-27 16:04:49 +00:00
Pino Toscano 0fa0609e1f properly delete the regular areas of a RegularArea<> when it stores pointers to areas. no more memory leaks for RegularArea<>, yay!
svn path=/trunk/playground/graphics/okular/; revision=616069
2006-12-23 15:39:26 +00:00
Pino Toscano 8d8ae89b1d valgrind is right, don't use invalid iterators
svn path=/trunk/playground/graphics/okular/; revision=616050
2006-12-23 14:57:22 +00:00
Tobias Koenig a9f58440df First large commit for the Annotation API cleanup
* Moved all public member variables of Annotation to private
    and add accessors
  * Renamed RevScope and RevType to RevisionScope and RevisionType
  * Add API documentation (@pino, please review)

svn path=/trunk/playground/graphics/okular/; revision=610749
2006-12-05 11:05:50 +00:00
Albert Astals Cid 4a46c9a140 contains is evil as makes you search twice
svn path=/trunk/playground/graphics/okular/; revision=607507
2006-11-24 21:42:56 +00:00
Pino Toscano 5ce4b0674e Make okular able to copy the text selection to the clipboard (finally!).
svn path=/trunk/playground/graphics/okular/; revision=607496
2006-11-24 21:02:38 +00:00
Tobias Koenig 0302929b04 Add support of transformation (rotation) of TextPages
svn path=/trunk/playground/graphics/okular/; revision=607271
2006-11-23 22:14:04 +00:00
Tobias Koenig 81fb3a383b Further cleanup of Page API:
* getAnnotations() -> annotations()
  * setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
  * moved as much private API of Page as possible to private class

svn path=/trunk/playground/graphics/okular/; revision=607233
2006-11-23 19:25:52 +00:00
Tobias Koenig 4848631daf Renamed all the Page::getXyz() methods to Page::xyz() to be konsistent
with the rest of KDE and ... we are no Java developers ;)

svn path=/trunk/playground/graphics/okular/; revision=607204
2006-11-23 17:11:04 +00:00
Tobias Koenig 14d6515b16 Changed the enum SearchDir to SearchDirection and use less strange
abbreviations for its items.

Replaced the 'bool strictCase' parameter of Page::findText
with 'Qt::CaseSensitivity caseSensitivity' for better readable code.


svn path=/trunk/playground/graphics/okular/; revision=607203
2006-11-23 16:54:28 +00:00
Tobias Koenig a7b04cb92b Replaced
Page::setSearchPage( TextPage* );
  Page::hasSearchPage();

with

  Page::setTextPage( TextPage* );
  Page::hasTextPage();

to make the API clearer. The TextPage is not only used for
searching but also for extracting selected text, so the term
'search' is confusing...


svn path=/trunk/playground/graphics/okular/; revision=607195
2006-11-23 16:09:26 +00:00
Albert Astals Cid ac1c0b75bc const_iterator is your friend :-)
svn path=/trunk/playground/graphics/okular/; revision=606558
2006-11-20 20:10:42 +00:00
Tobias Koenig a490cc0cd7 Add the following functionality:
* Bring QPixmap* back to make Albert happy ;)
 * Store only one QPixmap per page/size and rotate it directly
 * Rotate ObjectRects (boundary)
 * Rotate Annotations (point coordinates)
 * Don't reload pixmaps, ObjectRects and annotations on rotation

svn path=/trunk/playground/graphics/okular/; revision=606371
2006-11-20 07:53:32 +00:00
Albert Astals Cid 9099fbecf7 Some krazy fixes
svn path=/trunk/playground/graphics/okular/; revision=605992
2006-11-18 21:36:56 +00:00
Pino Toscano 7c2aac01d5 #include not needed
svn path=/trunk/playground/graphics/okular/; revision=605786
2006-11-18 11:25:16 +00:00
Pino Toscano 274469dae8 Almost complete support for inverse search within okular.
THe system generally works; what is missing is a good activating strategy (added in TODO - our usability expert is working on that), and a GUI to configure the editor.
The DVI backend was adapted to use this new feature.
(The PDF backend will use it soon.)

svn path=/trunk/playground/graphics/okular/; revision=605708
2006-11-17 22:15:15 +00:00
Tobias Koenig a6fc833662 SVN_SILENT Code cleanup
svn path=/trunk/playground/graphics/okular/; revision=605153
2006-11-15 15:48:49 +00:00
Tobias Koenig a70a0dea7f Removed debugging code...
Tip of the Day:

You can use the following code to do time measurement the Qt way...

QTime time;
time.start();
  // do the time consuming action
qDebug( "%d ms elapsed", time.elapsed() );


svn path=/trunk/playground/graphics/okular/; revision=605151
2006-11-15 15:44:21 +00:00
Tobias Koenig bea71df6e0 * Made image rotation asynchronous
* Changed Page API and PagePainter to work only with QImage

svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00
Pino Toscano e9ec5399ff stop crashing when removing an annotation under particular circumstances
svn path=/trunk/playground/graphics/okular/; revision=600958
2006-11-01 13:57:33 +00:00
Tobias Koenig d22b2f1892 A rather big change:
* Hide as much private API as possible in Generator, PixmapRequest and ExportEntry/Format
 * Renamed ExportEntry to ExportFormat and made it value based
 * Removed canExportToText() and exportToText() from Generator API and implemented this
   functionality in exportFormats()/exportTo() in the generators
 * Removed the orientation parameter from PixmapRequest and let the Document handle the rotation
   of the page (pixmap) instead

CCMAIL:okular-devel@kde.org

svn path=/trunk/playground/graphics/okular/; revision=599058
2006-10-25 15:35:53 +00:00
Pino Toscano cf33727105 Add the support for Sounds, links to sounds and opning/closing page actions (only in Page, not really working yet)
svn path=/trunk/playground/graphics/okular/; revision=593975
2006-10-09 18:02:59 +00:00
Pino Toscano c52a0e622b Change the way we rotate the pages.
Instead of telling the generators to do the work themselves (that was usually destraoying the ld pages and creating the new ones), now we just rotate the page objects deleting only their "mutable" contents.
This way, generators can just return true in their supportRotation() to make okular rotate the pages for them for free. Of course they still have to generate the page pixmaps according to the given page rotation.
Now, there's a new rotationChanged() function in the Generator API so generator that needs it can be norified about the document rotation changing.

CCMAIL: developers@okular.org

svn path=/trunk/playground/graphics/okular/; revision=593632
2006-10-08 15:07:23 +00:00
Pino Toscano 42310e184c Restructuring a bit how the text-editor-like selection works:
* putting it in an own view mode
* associating the selection to every page
* using a better algorithm to calculate the selection, even in a page range
* moving its drawing from the page view to the page painter, so it's possibile to draw it just like it's done with eg annotations

Other changes (more or less related):
* moved the annotation popup to a better place, so it won't interfere with annotation drawing
* commented some debug code in TextPage

svn path=/trunk/playground/graphics/okular/; revision=588795
2006-09-26 22:22:01 +00:00
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Pino Toscano 45615e5289 Reworked a bit the ObjectRect API, by allowing subclassing for easiness wrt Annotation's. The brand new AnnotationObjectRect is responsible for providing the annotation bounding rect (that may vary for the various annotation types).
Adapted also to receive the X and Y scale, so the bounding rect for every kind of ObjectRect can depend on a specific page size.
As a consequence, we can add also the annotations among the rects of a Page, and use the standard getObjectRect to find them.

svn path=/trunk/playground/graphics/okular/; revision=586457
2006-09-19 17:17:29 +00:00
Pino Toscano 8357b47a8c Annotations:
support the Hidden and DenyDelete flags

svn path=/trunk/playground/graphics/okular/; revision=584409
2006-09-14 18:42:28 +00:00
Tobias Koenig 90140c1479 warnings--
svn path=/trunk/playground/graphics/okular/; revision=578892
2006-08-30 14:17:22 +00:00
Chu Xiaodong a6516a74ef Fix annotation size difference when added in diff scales
svn path=/trunk/playground/graphics/okular/; revision=571739
2006-08-10 15:12:37 +00:00
Chu Xiaodong e207d0d6f4 Note&TextBox annotation remove operation enabled
svn path=/trunk/playground/graphics/okular/; revision=571630
2006-08-10 06:32:03 +00:00
Pino Toscano b1973c5078 some kpdf -> okular (mostly in comments)
svn path=/trunk/playground/graphics/okular/; revision=551881
2006-06-15 21:24:00 +00:00
Albert Astals Cid cb7ca95e94 pages have orientation
document has a rotation to apply over the page's own orientation
text search really works now when rotating (at least all my tests here worked)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547644
2006-06-02 20:42:57 +00:00
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.
Also, the structure for backward search is there, (just...) need to add a findTextInternalBackward and do the job there.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=545298
2006-05-27 10:06:31 +00:00
Pino Toscano 59b267386c avoid using QString*, just use QString
svn path=/branches/work/kde4/playground/graphics/okular/; revision=544974
2006-05-26 14:32:35 +00:00
Albert Astals Cid 85f007b390 qdeleteall
svn path=/branches/work/kde4/playground/graphics/okular/; revision=539125
2006-05-09 19:17:54 +00:00