Pino Toscano
23337e1c71
move the number of maximum and saved history step into a single location for both
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691448
19 years ago
Pino Toscano
0e7aeb2ba8
no need to set a new rotation if it's equal to the currently set
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689135
19 years ago
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
19 years ago
Pino Toscano
3c009773ca
__linux__ -> Q_OS_LINUX
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688273
19 years ago
Christian Ehrlicher
eff4ffe995
win32 compile++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688272
19 years ago
Pino Toscano
b73555b7f3
Windows functions to get the amount of total and free memory.
...
Patch by Huhn Put, thanks!
CCMAIL: nhuh.put@web.de
svn path=/trunk/KDE/kdegraphics/okular/; revision=688271
19 years ago
Pino Toscano
905f6c0946
int -> qulongqlong for the memory sizes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688263
19 years ago
Pino Toscano
fea03a9bbd
appName -> catalogName, even for the information we get from the about data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687836
19 years ago
Pino Toscano
5387c50960
Make the Configure backends dialog working, of course if the generators have the proper support for "mutable" configuration.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687065
19 years ago
Pino Toscano
43f83cb967
move the calculation of the number of configurable generators to the Document, and start to store the information about the configurability of a generator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687014
19 years ago
Pino Toscano
f76f15470a
Add the file size to the document information that the generator may provide.
...
Avoid crashing if the generators provides no information.
(Implements part (a) of KPDF #140109.)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686290
19 years ago
Pino Toscano
ffd5ed0280
the dialog for choosing backend is private, so let its header be _p.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686276
19 years ago
Pino Toscano
f5c216b19c
extract the private class of AudioPlayer out of the implementation, so the Document can store the url of the current document;
...
disable the playing of external sounds for remote (non-local) documents;
simple compile fix in the embedded sound paying code
svn path=/trunk/KDE/kdegraphics/okular/; revision=686133
19 years ago
Pino Toscano
964424d62f
stop gracefully the font extraction thread when closing a document or the properties dialog; make the thread deleting itself when finished
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685437
19 years ago
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
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
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
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
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
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
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
Dirk Mueller
43a23a2de6
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
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
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
dc4acc7b83
KLibrary::globalLibrary -> KLibrary::library
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
19 years ago
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
19 years ago
Pino Toscano
7e3b7236fb
fix sillyness happened when renaming ;(
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656251
19 years ago
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
19 years ago
Pino Toscano
0e12746a92
Link -> Action renaming.
...
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
19 years ago
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
19 years ago
Pino Toscano
f3e484082d
Link -> Action renaming.
...
Step #1 : link.(cpp|h) -> action.(cpp|h)
svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Pino Toscano
3f84c8ccad
move modifyAnnotation to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655132
19 years ago
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
19 years ago
Pino Toscano
efb6a5bcc6
rename Document::Private to DocumentPrivate
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=653987
19 years ago
Pino Toscano
ff25e151c5
new kdelibs API
...
svn path=/trunk/playground/graphics/okular/; revision=649300
19 years ago
Albert Astals Cid
5365f79d6d
fordwardport r648173 kpdf/branches/KDE/3.5/kdegraphics/kpdf/ (4 files in 3 dirs):
...
Give KMessageBoxes a parent widget.
DVI plugin is missing 4 messageboxes, some work has to be done to get them know the document() so they can call widget()
svn path=/trunk/playground/graphics/okular/; revision=648175
19 years ago
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
19 years ago