Pino Toscano
8a31e6f3f0
Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
...
Patch by Diego R. Brogna, thanks a lot!
BUG: 135521
svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
19 years ago
Pino Toscano
e5037f45b1
Refator a bit the way Document and the generators use to read the font information from a document.
...
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.
Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.
svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
19 years ago
Script Kiddy
ac29f76f55
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
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
...
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
19 years ago
Albert Astals Cid
723c3a482a
move rotationjob.h to rotationjob_p.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=683286
19 years ago
Pino Toscano
3ce672f586
Albert fixed poppler, now I can activate the form saving
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=683267
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.
...
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
19 years ago
Pino Toscano
e9b9d78faa
acutally save the document information *before* closing the document, otherwise we run into troubles if we access to anything the generator provided
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=683143
19 years ago
Pino Toscano
32d3dff232
d_ptr structure for the FormField classes, easier to expand in the future
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682922
19 years ago
Pino Toscano
2602037fb9
display (if available) the file size for attachments, courtesy of Albert for his work in poppler
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682847
19 years ago
Chusslove Illich
968760cb6c
Auto-conversion to new KCmdLineArgs/KAboutData/KComponentData API (trunk/KDE). Watch for the few remaining QString to QByteArray assignments that will not compile without extra specification (typically needs .toLocal8Bit() or .toUtf8()).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682260
19 years ago
David Faure
073b756bea
boolean argument (for importing kde1 bookmarks!) is gone
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=680312
19 years ago
Script Kiddy
9fb2221299
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
19 years ago
Script Kiddy
7c8a8bce4f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
19 years ago
Script Kiddy
3211dbbaf5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
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
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=673084
19 years ago
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
19 years ago
Albert Astals Cid
9f448a49df
small dox fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668692
19 years ago
Albert Astals Cid
82fe777cc0
param changed name
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668688
19 years ago
Pino Toscano
3addf5ec7d
const& for removePageAnnotations()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668564
19 years ago
Pino Toscano
5cbdaa6dc7
some checks more, and small fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668054
19 years ago
Laurent Montel
1a6db045cd
Don't crash when we don't load file
...
(generator is null)
(It will better to disable action until we load generator I think)
svn path=/trunk/KDE/kdegraphics/okular/; revision=667872
19 years ago
Script Kiddy
9984a73c33
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
19 years ago
Pino Toscano
de45467966
properly free the resources of a document when calling closeDocument(), not in the destructor of the generator or in loadDocument()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667128
19 years ago
Pino Toscano
95912893f0
remove compatibility with kpdf pre-kde 3.4
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667126
19 years ago
Pino Toscano
92204b4bb7
fix giveAbsolutePath() to properly recognize absolute paths
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667073
19 years ago
Pino Toscano
fba7c1874d
give the #<page> title for a new bookmark instead of #<bookmark count>
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666142
19 years ago
Pino Toscano
0d320f0b78
SVN_SILENT
...
use the kde debug system in a kde library
svn path=/trunk/KDE/kdegraphics/okular/; revision=665724
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Script Kiddy
1d727e66f6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
19 years ago
Pino Toscano
48d0f95745
delete the previous action when setting a new one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661489
19 years ago
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
19 years ago
Pino Toscano
1eb435cddb
remove the kdebug.h inclusion in area.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
19 years ago
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
19 years ago
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
19 years ago
Dirk Mueller
43a23a2de6
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
19 years ago
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
19 years ago
Pino Toscano
6aaefb7f68
"pdf"/"pdf file" -> "document"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Pino Toscano
892df34b19
any negative page number represents an invalid viewport
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660436
19 years ago
Pino Toscano
e79cd474d9
move the Page rotating and changing page functions to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660214
19 years ago
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
19 years ago
Pino Toscano
0f4cd40e26
slotRotation -> setRotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
19 years ago
Pino Toscano
6d99240256
hopefully port to the new Phonon API
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660038
19 years ago
Pino Toscano
dc4acc7b83
KLibrary::globalLibrary -> KLibrary::library
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
19 years ago