Script Kiddy
e3d71f162d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=747149
2007-12-11 07:45:22 +00:00
Pino Toscano
b9af4a6a94
check for valid pages
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=747055
2007-12-10 22:39:48 +00:00
Pino Toscano
5fc6503d89
For now, do not consider links whose page cannot be calculated.
...
BUG: 153733
svn path=/trunk/KDE/kdegraphics/okular/; revision=747032
2007-12-10 21:03:32 +00:00
Pino Toscano
a194acf2bc
Foo/FooPrivate for TextDocumentConverter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746277
2007-12-08 14:45:32 +00:00
Pino Toscano
870980da75
correctly set the External flag for annotations loaded from documents
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746264
2007-12-08 13:45:06 +00:00
Script Kiddy
8d7e8be0c7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=745899
2007-12-07 08:14:18 +00:00
Pino Toscano
66376cf31f
make swap() private
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=744918
2007-12-04 21:36:32 +00:00
Pino Toscano
bd294e1de6
move the FilePrinterPreview to the kpart (no need for it to be in the core library)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=744225
2007-12-03 00:17:12 +00:00
Pino Toscano
5b01430bb0
remove internal aboutdata+componentdata of the generator, now it's handled by the plugin system
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=744197
2007-12-02 22:55:12 +00:00
Pino Toscano
6aa123656a
Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
...
This requires a generator to have a
MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.
Remove the 'lib' prefix from plugins, unneeded now.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
2007-12-02 20:57:24 +00:00
Script Kiddy
4b1e246e87
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=743874
2007-12-02 08:05:31 +00:00
Tobias Koenig
3ce7e38f06
Now that we use QPrinter, call QTextDocument::print() directly...
...
Enable printing for this generator.
svn path=/trunk/KDE/kdegraphics/okular/; revision=742243
2007-11-27 16:29:50 +00:00
Dirk Mueller
7cfdc3dc80
header cleannness++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=742135
2007-11-27 08:44:10 +00:00
John Layt
1b1ed9451b
Enable Okular printing features:
...
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
printing ability
Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.
svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
2007-11-26 21:43:54 +00:00
Pino Toscano
d3f4460d38
add icon for the pdf export format
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741369
2007-11-25 14:48:54 +00:00
Pino Toscano
dfce0d1fcd
centralize the way we know whether a generator is configurable, and properly manage i18n loading in that case
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741325
2007-11-25 12:49:30 +00:00
Pino Toscano
07dd3fe824
give the debug area to the kWarning() calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741314
2007-11-25 12:18:10 +00:00
Pino Toscano
1214468229
directly take the componentdata
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741313
2007-11-25 12:15:55 +00:00
Pino Toscano
1e08dc6a95
correctly check whether a generator was already loaded, even when no generator was previously loaded
...
fixes the ghostcript config page not showing when starting an empty okular
svn path=/trunk/KDE/kdegraphics/okular/; revision=741308
2007-11-25 12:08:37 +00:00
Pino Toscano
ba7d0732c1
ignore any "empty" component data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741067
2007-11-24 18:07:59 +00:00
Allen Winter
1e34663484
remove deprecated Encoding
...
DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords
svn path=/trunk/KDE/kdegraphics/okular/; revision=737282
2007-11-15 22:38:18 +00:00
Script Kiddy
d9e6745bc7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=735260
2007-11-11 08:03:34 +00:00
Pino Toscano
6e37c43c8d
don't print the debug stuff between " and "
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732875
2007-11-04 23:33:05 +00:00
Pino Toscano
ca0f9184d2
export correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732873
2007-11-04 23:31:36 +00:00
Pino Toscano
2340d9c6d8
Save the rotation of the document, so when reopening the document the last rotation is kept.
...
This also fixed the problem of the lost rotation when reloading because of document change.
CCBUG: 151130
svn path=/trunk/KDE/kdegraphics/okular/; revision=731697
2007-11-01 16:15:34 +00:00
Christian Ehrlicher
ec72d7e654
mingw compile++
...
warnings--
svn path=/trunk/KDE/kdegraphics/okular/; revision=731467
2007-10-31 19:44:35 +00:00
Pino Toscano
6d375af868
Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
2007-10-28 18:31:33 +00:00
John Layt
070285e039
Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
...
*** Note this is not a complete port, most of the generators use the
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution. At least it removes
the dependency so we can remove from kdelibs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
2007-10-15 23:01:27 +00:00
Script Kiddy
d5fcbc09a8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
2007-10-11 08:09:20 +00:00
Pino Toscano
4060ef669e
Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff.
...
This affects all the generators that use the internal generator threading, own threading models have to be fixed properly.
svn path=/trunk/KDE/kdegraphics/okular/; revision=723161
2007-10-08 21:49:27 +00:00
Pino Toscano
15155d8824
Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
...
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +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
b654434a0e
add private helpers to properly transform the base coordinates of an annotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
2007-10-07 10:52:05 +00:00
Pino Toscano
a5940e0132
correctly initialize the history; crash spotted by Bram, thanks!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
2007-10-04 21:41:19 +00:00
Script Kiddy
d5dc96cb3b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Pino Toscano
27f624d1f7
check whether the document is open
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720717
2007-10-03 15:03:49 +00:00
Pino Toscano
d51e9fa4d8
remove the private methods of PixmapRequest, and make the Document work with its private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719319
2007-09-30 21:44:31 +00:00
Pino Toscano
5dc92c5824
use qint64 for the document size
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719107
2007-09-30 10:49:38 +00:00
Script Kiddy
44dd16d127
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
2007-09-27 09:33:48 +00:00
Pino Toscano
819037c6b6
SVN_SILENT clean a bit the debug output
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717498
2007-09-26 23:29:50 +00:00
Pino Toscano
e8bad1f69d
it seems phonon-xine can handle sound streams via data, so feel brave enough and enabling the embedded sounds code
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717456
2007-09-26 22:14:13 +00:00
Script Kiddy
cc3c2badba
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717124
2007-09-26 05:58:40 +00:00
Pino Toscano
684b146867
SVN_SILENT explicitely initialize the base class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=715948
2007-09-23 15:09:27 +00:00
Script Kiddy
63b6301d12
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=714636
2007-09-20 05:45:54 +00:00
Pino Toscano
2584aaa43b
cache the total memory on win32
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712851
2007-09-15 14:05:08 +00:00
Pino Toscano
1142c0bd39
make them private
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712839
2007-09-15 13:16:30 +00:00
Pino Toscano
4dcadf5544
Add a mutex in the base generator class, so any generator that wants a mutex can use it.
...
Adapt the poppler and the chm generator to use it instead of the own.
svn path=/trunk/KDE/kdegraphics/okular/; revision=712821
2007-09-15 11:35:53 +00:00
Pino Toscano
ed413cb275
delay the real creation + initialization of the weaver to the real needed moment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712637
2007-09-14 23:14:53 +00:00
Pino Toscano
78e2377a87
Add a method for generators to know some metadata of the document
...
adapted the poppler and the chm generators to use that, instead of fiddling with the settings class
svn path=/trunk/KDE/kdegraphics/okular/; revision=712614
2007-09-14 22:16:00 +00:00