Commit graph

477 commits

Author SHA1 Message Date
Pino Toscano
92204b4bb7 fix giveAbsolutePath() to properly recognize absolute paths
svn path=/trunk/KDE/kdegraphics/okular/; revision=667073
2007-05-21 19:51:30 +00:00
Pino Toscano
fba7c1874d give the #<page> title for a new bookmark instead of #<bookmark count>
svn path=/trunk/KDE/kdegraphics/okular/; revision=666142
2007-05-18 22:07:33 +00:00
Pino Toscano
0d320f0b78 SVN_SILENT
use the kde debug system in a kde library

svn path=/trunk/KDE/kdegraphics/okular/; revision=665724
2007-05-17 18:27:25 +00:00
Pino Toscano
c4ea50c99b Forwardport SVN commit 665684 by pino:
When getting the result of a pixmap request for an observer that went away in the meanwhile, don't create a memory entry for the pixmap, as we assume the allocated pixmaps fifo holds only descriptors for valid observers.

(fixed KPDF #143951)

svn path=/trunk/KDE/kdegraphics/okular/; revision=665685
2007-05-17 16:52:44 +00:00
Tobias Koenig
06e831a3c9 Add a new method DocumentInfo::set( enum, QString ) to get more
consistency in the documentation info.

svn path=/trunk/KDE/kdegraphics/okular/; revision=664233
2007-05-13 12:54:46 +00:00
Pino Toscano
8f03f0d0d7 try to lock the pixmap requests queue with a mutex, hoping to solve some of our problems
svn path=/trunk/KDE/kdegraphics/okular/; revision=663991
2007-05-12 21:40:38 +00:00
Tobias Koenig
bbbbd8eda9 Fixed the 'select one line twice' bug.
It's always helpfull to talk to a koffice developer, thanks to Thomas :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=663744
2007-05-12 08:17:02 +00:00
Script Kiddy
1d727e66f6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
2007-05-08 05:06:32 +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
1eb435cddb remove the kdebug.h inclusion in area.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
2007-05-05 13:50:44 +00:00
Pino Toscano
94355bce65 move the transform() hierarchy within the private class; allow AnnotationObjectRect to use the trasform() stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=661202
2007-05-04 20:45:45 +00:00
Pino Toscano
bfe21b46f8 refactor the Annotation hierarchy to use a common d_ptr like Qt; move the AnnotationPrivate definition in an own header (it will be useful later...)
svn path=/trunk/KDE/kdegraphics/okular/; revision=661195
2007-05-04 20:24:12 +00:00
Dirk Mueller
43a23a2de6 the usual "daily unbreak compilation"
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
2007-05-04 15:41:04 +00:00
Pino Toscano
06411f9805 Add links and annotations when loading the pages, not during the pixmap generations.
Tobias: is the calculation of the annotations bounding rect correct?
CCMAIL: tokoe@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=660831
2007-05-03 21:45:14 +00:00
Pino Toscano
6aaefb7f68 "pdf"/"pdf file" -> "document"
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
2007-05-02 23:06:38 +00:00
Pino Toscano
b53ba3cd24 make widget() slightly safier, and pass it as parameter when running an url (closing a TODO item)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660524
2007-05-02 22:56:51 +00:00
Pino Toscano
106e96240c rename (almost) every ActionFoo class to FooAction
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
2007-05-02 22:50:27 +00:00
Pino Toscano
25b6b590b9 refactor the hierarchy of the provate classes to be much like Qt-ish (common d_ptr, d_func(), etc)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660511
2007-05-02 21:59:44 +00:00
Pino Toscano
892df34b19 any negative page number represents an invalid viewport
svn path=/trunk/KDE/kdegraphics/okular/; revision=660436
2007-05-02 18:21:15 +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
7cfa67ecf4 improve a bit the Document::setPageSize API -- better pass the size, and not an index
svn path=/trunk/KDE/kdegraphics/okular/; revision=660208
2007-05-01 23:21:29 +00:00
Pino Toscano
0f4cd40e26 slotRotation -> setRotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
2007-05-01 23:09:45 +00:00
Pino Toscano
6d99240256 hopefully port to the new Phonon API
svn path=/trunk/KDE/kdegraphics/okular/; revision=660038
2007-05-01 11:25:32 +00:00
Pino Toscano
dc4acc7b83 KLibrary::globalLibrary -> KLibrary::library
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
2007-05-01 11:22:22 +00:00
Stephan Binner
d4940f5a56 fix compilation
svn path=/trunk/KDE/kdegraphics/okular/; revision=659939
2007-05-01 05:28:28 +00:00
Script Kiddy
46781db872 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=658969
2007-04-29 05:00:55 +00:00
Pino Toscano
8a216058f3 clean the headers
svn path=/trunk/KDE/kdegraphics/okular/; revision=656768
2007-04-22 10:39:31 +00:00
Pino Toscano
13d14942e6 first step of a KPDF -> okular conversion: copy the data file for the document to be opened to the new place
svn path=/trunk/KDE/kdegraphics/okular/; revision=656648
2007-04-21 23:07:44 +00:00
Pino Toscano
2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's
svn path=/trunk/KDE/kdegraphics/okular/; revision=656426
2007-04-21 11:09:41 +00:00
Pino Toscano
7e3b7236fb fix sillyness happened when renaming ;(
svn path=/trunk/KDE/kdegraphics/okular/; revision=656251
2007-04-20 19:32:09 +00:00
Pino Toscano
fc97f3b23b on demand creation of the auxiliary threads
svn path=/trunk/KDE/kdegraphics/okular/; revision=656230
2007-04-20 17:59:12 +00:00
Pino Toscano
9134ad4669 make the Document access to the private class of Generator, so we can get rid of the public setDocument
svn path=/trunk/KDE/kdegraphics/okular/; revision=656222
2007-04-20 17:26:04 +00:00
Pino Toscano
166ba5b87a move the Generator::Private to a GeneratorPrivate, and move the implementations of the provate threads to a cpp
svn path=/trunk/KDE/kdegraphics/okular/; revision=656221
2007-04-20 17:17:44 +00:00
Pino Toscano
656736c1af Link -> Action renaming.
Step #4a: more apidox fixes.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656149
2007-04-20 13:02:45 +00:00
Pino Toscano
444b1a3f84 SVN_SILENT unused forward declaration
svn path=/trunk/KDE/kdegraphics/okular/; revision=656147
2007-04-20 12:59:23 +00:00
Pino Toscano
8a84833504 Link -> Action renaming.
Step #4: apidox fixes.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656146
2007-04-20 12:58:15 +00:00
Pino Toscano
0e12746a92 Link -> Action renaming.
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
2007-04-20 12:49:17 +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
40a99f75ed make PageSize implicitely shared
svn path=/trunk/KDE/kdegraphics/okular/; revision=655185
2007-04-17 21:20:35 +00:00
Pino Toscano
e61f5d393a SVN_SILENT forgot this
svn path=/trunk/KDE/kdegraphics/okular/; revision=655136
2007-04-17 20:01:42 +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
Albert Astals Cid
b0339a4e40 fix some easy krazy issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +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
efb6a5bcc6 rename Document::Private to DocumentPrivate
svn path=/trunk/KDE/kdegraphics/okular/; revision=653987
2007-04-14 19:44:07 +00:00
Pino Toscano
df5b2c3329 make ExportFormat implicitely shared, especially because it's mostly a "read-only" class
svn path=/trunk/KDE/kdegraphics/okular/; revision=653196
2007-04-12 20:43:37 +00:00
Script Kiddy
2e5b353482 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=652113
2007-04-10 05:01:48 +00:00
Script Kiddy
e54cfd797f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=651276
2007-04-07 04:57:03 +00:00