Pino Toscano
5f38c3305f
typos
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688232
19 years ago
Pino Toscano
8114ea7200
fix or add the include guards
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
19 years ago
Pino Toscano
dab13e8241
SVN_SILENT improve apidox for setAboutData()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687845
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
66518d52a7
Do not delete the kde bookmark manager here, it's automatically deleted.
...
This fixes a crash on close after being embedded, making okular finally usable as print preview component :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=687815
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
a07b2ca166
Properly build the url of the external sound to be played.
...
This makes okular able to play external sounds again :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686652
19 years ago
Script Kiddy
94e66ff910
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
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
b861878436
RegularAreaRect needs to be exported
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686286
19 years ago
Pino Toscano
2dd2506b8d
forward declare what we can, so including area.h is no more needed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686282
19 years ago
Pino Toscano
fbe8dbf108
promote RegularAreaRect from a typedef to a class, a bit more easy to eventually expand in the future
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686281
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
f28acc1e74
correct markup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686267
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
f1d5e478ba
init fix
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685658
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
d746b667a4
minor renamings in the EmbedType enum:
...
- EmbeddedSubSet -> EmbbededSubset
- Embedded -> FullyEmbedded
svn path=/trunk/KDE/kdegraphics/okular/; revision=685329
19 years ago
Pino Toscano
3fd552ef21
Extend the FontInfo class to distinguish the different types of font embedding.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
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
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