Pino Toscano
4611b6ffad
svnrevertlast
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691707
2007-07-24 08:29:22 +00:00
Aaron J. Seigo
a58e671331
build
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691639
2007-07-24 05:39:19 +00:00
Thiago Macieira
55f327e0cc
Adapt to the new UDSEntry
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691624
2007-07-24 04:19:14 +00:00
Laurent Montel
2e59ada023
change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691222
2007-07-23 07:05:28 +00:00
Script Kiddy
0fc32d6b18
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689368
2007-07-18 05:47:51 +00:00
Aaron J. Seigo
425252e04a
add about data to this generator. also makes a pot file possible again. everyone wins. ;)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688746
2007-07-16 18:54:48 +00:00
Christian Ehrlicher
62ba0d45d0
k3procio--
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688262
2007-07-15 16:08:55 +00:00
Pino Toscano
5f3a391744
string -> char for startsWith()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688234
2007-07-15 13:59:35 +00:00
Pino Toscano
8114ea7200
fix or add the include guards
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
2007-07-15 13:53:26 +00:00
Stephan Kulow
137f5be786
don't overrun array (CID 3864)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688155
2007-07-15 08:17:27 +00:00
Pino Toscano
27e738f238
Start adding backend information to each generator.
...
Added them for DjVu, TIFF and XPS as a start.
Feel free to add them in the other generators, or to add your name if missing :)
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=687842
2007-07-14 14:00:19 +00:00
Script Kiddy
c1a3a10aa0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686774
2007-07-12 05:01:50 +00:00
Laurent Montel
889031ab1d
Remove not necessary cmake variable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686601
2007-07-11 19:14:25 +00:00
Script Kiddy
94e66ff910
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
2007-07-11 04:57:14 +00:00
Pino Toscano
a71f01234b
delete the internal doc when we close the document, not when we open the new one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686242
2007-07-10 21:07:48 +00:00
Pino Toscano
b0535907ca
extract the messages from the .ui files as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686066
2007-07-10 14:33:10 +00:00
Allen Winter
5110d1d3f2
remove kde4_automoc()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Script Kiddy
f12c3a3a6f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685928
2007-07-10 04:38:13 +00:00
Script Kiddy
94aadef88d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685504
2007-07-09 04:51:20 +00:00
Pino Toscano
64d4210634
read correctly the information about font embedding now
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685333
2007-07-08 16:26:24 +00:00
Pino Toscano
3fd552ef21
Extend the FontInfo class to distinguish the different types of font embedding.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
2007-07-08 16:07:37 +00:00
Pino Toscano
97f781ff31
reduce the critical section
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685277
2007-07-08 14:33:50 +00:00
Pino Toscano
2048eada89
the fonts OT are only for Poppler 0.6, so make the generator compile again for poppler 0.5 users
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685210
2007-07-08 09:10:55 +00:00
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
2007-07-07 20:35:01 +00:00
Script Kiddy
ac29f76f55
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
2007-07-07 04:51:50 +00:00
Oswald Buddenhagen
9c883584e7
k3process--
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684001
2007-07-05 21:21:16 +00:00
Pino Toscano
05c01834c5
well, size() is for "poppler 0.6", the rc1 is still 0.5 :-D
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682935
2007-07-03 17:47:51 +00:00
Benjamin Reed
3f164edcb7
no size in poppler 0.6 rc1
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682930
2007-07-03 17:38:01 +00:00
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
2007-07-03 14:47:16 +00:00
Script Kiddy
9fb2221299
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
2007-06-25 05:24:26 +00:00
Stephan Binner
2eccd176e2
make .desktop files valid
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678982
2007-06-22 17:51:04 +00:00
Script Kiddy
7c8a8bce4f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
2007-06-22 05:13:04 +00:00
Script Kiddy
3211dbbaf5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
2007-06-21 05:01:46 +00:00
Pino Toscano
1380d9c045
urls can't be NULL at this point (CID 3656), same for urls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678155
2007-06-20 19:41:29 +00:00
Albert Astals Cid
fcc47e4106
tell gs exactly the size we want so we don't have off by one problems due to rounding
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=676275
2007-06-16 14:11:32 +00:00
Albert Astals Cid
23d8388a4e
not used anywhere, kill it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=676215
2007-06-16 10:12:27 +00:00
Albert Astals Cid
dfed92ff84
Compile
...
Please Laurent i appreciate your work a lot, but try to compile things after removing includes so see if they still work
CCMAIL: montel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=675725
2007-06-14 20:57:50 +00:00
Laurent Montel
0d00255d64
Fix include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=675666
2007-06-14 16:57:55 +00:00
Dirk Mueller
f6f5403443
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671477
2007-06-04 20:50:47 +00:00
Dirk Mueller
8d80337da4
fix bazillion of memory leaks (CID 3614)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671473
2007-06-04 20:48:51 +00:00
Dirk Mueller
604b53033b
fix various memory leaks. It would be nice to use std::auto_ptr
...
here, but that doesn't work, as its an array. Introducing boost::
scoped_array for that is probably overkill. We're not PIM.
svn path=/trunk/KDE/kdegraphics/okular/; revision=671465
2007-06-04 20:32:17 +00:00
Albert Astals Cid
4218627b6b
QMutex was crashing for Pino, QSemaphore works
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671434
2007-06-04 19:34:26 +00:00
Albert Astals Cid
7e95f76a48
Qt::SmoothTransformation adds up to much AA to remove 1 pixel of width, just go with FastTransformation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671386
2007-06-04 16:36:21 +00:00
Albert Astals Cid
df77d2006a
Use ${LIBGS_LIBRARY} instead of gs so we catch libgs-esp too
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671330
2007-06-04 14:09:43 +00:00
Albert Astals Cid
1bc5808c7d
gs often gives me 634x898 when i asked for 635x898
...
okular needs the pixmap to be the exact size he asked for, so preporcess it
svn path=/trunk/KDE/kdegraphics/okular/; revision=671265
2007-06-04 11:16:41 +00:00
Albert Astals Cid
66875cb874
my gs accepts non int r values, so use them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671264
2007-06-04 11:15:13 +00:00
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
2007-06-04 07:44:15 +00:00
Pino Toscano
7db5c4f78e
explicitely look for libgs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671161
2007-06-03 22:41:47 +00:00
Albert Astals Cid
5496dfc30f
small explanation of how backendish things work, maybe DESIGN is a too BIG name for the small text inside
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671160
2007-06-03 22:39:02 +00:00
Albert Astals Cid
6a33bc2924
Rework ghostview generator, not finished but i can see valgrind_manual.ps quite correctly
...
- We don't use libqgs anymore but libgs directly
- We don't use an out of process executable anymore to talk to libqgs
Using libgs is a bit cumbersome (only one gs instance per process)
and almost no other gs viewer does it, but if you look at kghostview code
it's full of X black magic, so going the libgs path feels better
for my sanity and for portability
svn path=/trunk/KDE/kdegraphics/okular/; revision=671156
2007-06-03 22:28:29 +00:00
Pino Toscano
c8f85f0735
FindPoppler.cmake:
...
- fix the include path checking, now really using the cflags. tested with current HEAD (0.6), should work with 0.5.x as well
- fix the caching
CMakeLists.txt files:
- adapt to the include path fixes
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=668612
2007-05-26 23:15:42 +00:00
Pino Toscano
b4f2087279
SVN_SILENT remove stray endings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668394
2007-05-26 08:50:40 +00:00
Pino Toscano
79ae8273e2
less warnings for poppler HEAD/0.6 users
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668328
2007-05-26 00:02:26 +00:00
Pino Toscano
fb3fec647e
the Poppler library is going to start the release cycle of the 0.6 serie, so s/HEAD/0_6/
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668326
2007-05-25 23:57:03 +00:00
Pino Toscano
37eb438999
restore compatibility with poppler 0.5.x
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668322
2007-05-25 23:39:31 +00:00
Albert Astals Cid
f6b13e66fd
adapt to poppler cvs head changes from seconds ago
...
i know this is not ifdefed, but tomorrow we are hopefully releasing poppler 0.6 RC and will require it ;-)
svn path=/trunk/KDE/kdegraphics/okular/; revision=668320
2007-05-25 23:23:23 +00:00
Pino Toscano
03fd060f3f
lazy loading of links, their loading is expensive
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668319
2007-05-25 23:16:03 +00:00
Pino Toscano
06a37c61e9
use the debug area for all the debug messages of the generator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668044
2007-05-24 21:58:50 +00:00
Pino Toscano
a9900ec937
const& and simplify
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668039
2007-05-24 21:22:25 +00:00
Script Kiddy
9984a73c33
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
2007-05-22 05:16:03 +00:00
Pino Toscano
758daf07d1
connect() to finished() only once, and close the url of the khtml part after every usage
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667131
2007-05-21 22:38:15 +00:00
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
2007-05-21 22:26:37 +00:00
Pino Toscano
e0f08ab3e9
delete the khtml part on destruction; remove unused #include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667101
2007-05-21 21:20:27 +00:00
Dirk Mueller
37d03accd0
fix memory leak (CID 3620)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666003
2007-05-18 14:35:55 +00:00
Dirk Mueller
452ddeeb63
trying to fix a memory leak. strange API (CID 3642)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=665930
2007-05-18 11:49:19 +00:00
Albert Astals Cid
3bd28d1fbb
fix indentation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=664727
2007-05-14 18:51:13 +00:00
David Faure
7404448320
needs qt3support; cleanups.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=664726
2007-05-14 18:47:19 +00:00
Albert Astals Cid
09d57691d7
a bit more corner case handling in paper size handling
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=664721
2007-05-14 18:38:50 +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
Albert Astals Cid
61b3f856d0
fordwardport SVN commit 663027 by aacid:
...
Improve handling of page sizes when printing.
svn path=/trunk/KDE/kdegraphics/okular/; revision=663034
2007-05-09 21:30:33 +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
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
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
2654c1b16b
set a proper WId for KWallet -- thanks Lubos for the kind remind :)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=659706
2007-04-30 17:13:58 +00:00
Luboš Luňák
6843ce2916
No default window argument to kwallet calls.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=659643
2007-04-30 15:04:29 +00:00
Urs Wolfer
30114716c4
adopt to new API
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=659609
2007-04-30 13:49:23 +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
Albert Astals Cid
3ff1d4b9be
adapt to poppler head change
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=658743
2007-04-28 12:01:25 +00:00
Pino Toscano
f61e86d542
Adapt to the recent changes in Poppler HEAD, mainly in the posibility to generate links anytime, and not just as a result of a pixmap generation.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=658738
2007-04-28 11:30:55 +00:00
Pino Toscano
fa7ec200a4
this is no more needed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=658624
2007-04-27 22:57:08 +00:00
Pino Toscano
1248d82976
Keep it up to the recent poppler HEAD changes:
...
- add the title when printing
- add a print settings page for the rasterization option
both were already there in KPDF, just waiting for their counterpart in poppler.
svn path=/trunk/KDE/kdegraphics/okular/; revision=658608
2007-04-27 22:10:08 +00:00
Pino Toscano
db817781c9
cache the font names instead of reinit them every time we want the information about fonts
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656936
2007-04-22 19:16:38 +00:00
Pino Toscano
7ad2256498
let poppler calculate width and height
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656830
2007-04-22 13:05:20 +00:00
Pino Toscano
76171e38e6
manual activate the antialiasing for both text and gfx, if using poppler HEAD
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656807
2007-04-22 12:17:46 +00:00
Laurent Montel
c03c8f0c3c
Remove not necessary include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656802
2007-04-22 12:03:30 +00:00
Laurent Montel
44fbf99be0
Remove not necessary include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656728
2007-04-22 08:11:41 +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
214883d582
free the resources when we close the document
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656214
2007-04-20 16:17:12 +00:00
Pino Toscano
84f7c0a6e3
own header first
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656162
2007-04-20 13:41:42 +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
Jiri Klement
afa1902c78
Fixed wrong rendering size of images which don't have dpi specified. I had to use workaround described in loadImageFromFile method
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656095
2007-04-20 09:15:00 +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
Jiri Klement
6147136895
Unpack page source completely before rendering. It's possible that another file from zip will be required during rendering (font, image, ...), but KZip doesn't allow simuntanelous reading of more than one file.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655840
2007-04-19 14:38:03 +00:00
Chusslove Illich
120e3a6d79
i18n fixes.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655194
2007-04-17 22:05:28 +00:00
Pino Toscano
55a06c9b00
read the Open attribute from the poppler toc
...
the attribute is in poppler HEAD (future 0.6), but it's not incompatible with the 0.5.x serie
svn path=/trunk/KDE/kdegraphics/okular/; revision=654773
2007-04-16 21:35:34 +00:00
Jiri Klement
0b77d7011c
Fixed parsing of abbreviated data - now it don't freeze in case of wrong data in xps
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654647
2007-04-16 17:53:15 +00:00
Albert Astals Cid
3f927c095a
maks was right, zoom was the problem
...
It seems getRect returns always the rect at 100% zoom so use page->width() and not request->width() to calculate link rect positions
svn path=/trunk/KDE/kdegraphics/okular/; revision=652717
2007-04-11 21:41:33 +00:00
David Faure
728f386e95
extra ';'
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652580
2007-04-11 14:21:56 +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
David Jarvie
6ccde0505c
Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
2007-04-09 23:36:26 +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
Albert Astals Cid
55a67a082e
Each plugin installs a application desktop so that the supported mimetypes are exactly the ones supported by the plugins installed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=651194
2007-04-06 21:47:06 +00:00
Pino Toscano
29d515a996
adapt to the recent fix of Lubos to FindFreetype.cmake
...
svn path=/trunk/playground/graphics/okular/; revision=650464
2007-04-04 17:05:43 +00:00
Luboš Luňák
cf3922d498
No kde_xget_temp_gc().
...
svn path=/trunk/playground/graphics/okular/; revision=649258
2007-04-02 12:18:51 +00:00
Albert Astals Cid
1c8453f629
remove accidental change
...
svn path=/trunk/playground/graphics/okular/; revision=648179
2007-03-30 17:57:14 +00:00
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
2007-03-30 17:46:50 +00:00
Brad Hards
5f09330e23
Find libqgs, even if it isn't installed.
...
CURRENT_SOURCE_DIR is playground/graphics/okular/generators/ghostview/
so ../libqgs would be
playground/graphics/okular/generators/libqgs
and ../../libqgs would be
playground/graphics/okular/libqgs
so we need ../../../libqgs
svn path=/trunk/playground/graphics/okular/; revision=648055
2007-03-30 11:45:28 +00:00
Pino Toscano
c953ca9927
now that kde depends on Qt4.3, reenable the xps generator by default
...
svn path=/trunk/playground/graphics/okular/; revision=648028
2007-03-30 09:32:08 +00:00
David Faure
06d18ea3cc
Make it possible to compile all of playground in one go (but also still to compile it like before, of course).
...
-> CMAKE_SOURCE_DIR replaced with CMAKE_CURRENT_SOURCE_DIR.
Remove module-wide config.h files, unused yet, but better remove the temptation.
svn path=/trunk/playground/graphics/okular/; revision=647336
2007-03-28 00:22:51 +00:00
Pino Toscano
a54af96ed8
KProcess -> K3Process
...
svn path=/trunk/playground/graphics/okular/; revision=647321
2007-03-27 23:07:24 +00:00
Laurent Montel
9c9ee91dba
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=647114
2007-03-27 12:19:21 +00:00
Anne-Marie Mahfouf
1945d479ef
that fixes the "undefined reference to `jpeg_std_error(jpeg_error_mgr*)'" error that several of us get
...
svn path=/trunk/playground/graphics/okular/; revision=646728
2007-03-26 14:49:13 +00:00
David Faure
0c1b5314e9
Use standard mimetype names from shared-mime-info
...
svn path=/trunk/playground/graphics/okular/; revision=644959
2007-03-21 11:39:20 +00:00
Pino Toscano
a7abb688a3
- convert to the xdg mimetypes
...
- remove the self-installed mimetypes, as they are in freedesktop.org or in our db
svn path=/trunk/playground/graphics/okular/; revision=644840
2007-03-21 01:16:06 +00:00
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
2007-03-18 17:14:36 +00:00
Pino Toscano
c363cad735
this should hopefully fix the build
...
svn path=/trunk/playground/graphics/okular/; revision=643486
2007-03-17 15:53:51 +00:00
Pino Toscano
f18845576b
add the permission to fill forms
...
svn path=/trunk/playground/graphics/okular/; revision=643462
2007-03-17 14:14:55 +00:00
Tobias Koenig
ef13da1225
Fixed the loading of documents where not all pages are referenced
...
via links. That's a bug which also exists in the original explode.c
demo app from plkr.org.
svn path=/trunk/playground/graphics/okular/; revision=643276
2007-03-16 19:11:13 +00:00
Tobias Koenig
bc309799d7
Worked around some bugs in QTextCursor/Document, bug reports already sent to TT
...
svn path=/trunk/playground/graphics/okular/; revision=643230
2007-03-16 16:49:41 +00:00
Pino Toscano
e321010e63
the plucker generators requires, libjpeg, so compile it only if libjpeg is found
...
use the right cmake variables instead of hardcoding the library name
svn path=/trunk/playground/graphics/okular/; revision=642611
2007-03-14 21:00:15 +00:00
Albert Astals Cid
6c75fd3203
No idea why it was a void * if it always was used as int.
...
This change makes it compile on amd64.
Tobias is the support complete? I tried a document from gutenberg website at it seems i don't get all content.
CCMAIL: tokoe@kde.org
svn path=/trunk/playground/graphics/okular/; revision=642294
2007-03-13 21:37:19 +00:00
Pino Toscano
61ace600ec
extra ';'
...
svn path=/trunk/playground/graphics/okular/; revision=642284
2007-03-13 20:53:01 +00:00
Dirk Mueller
92628902bd
pedantic--
...
svn path=/trunk/playground/graphics/okular/; revision=642236
2007-03-13 18:35:38 +00:00
Tobias Koenig
bbab731ce0
Add plugin for the Plucker format ( http://www.plkr.org/ ) which is used for
...
many eBooks. You can find sample files under http://www.gutenberg.org/
svn path=/trunk/playground/graphics/okular/; revision=641974
2007-03-13 00:00:58 +00:00
Pino Toscano
88006a575b
extract the messages of each generator into an own pot: this way it's easier to translate a single backend (or provide the translation for a custom one), but as drawback some strings are repeated in more than one pot
...
svn path=/trunk/playground/graphics/okular/; revision=641620
2007-03-12 00:26:41 +00:00
Brad Hards
3716cc9eb3
Minor cleanups - make debugging more informative, a spello
...
fix, and put a line break between pages in text dumps.
svn path=/trunk/playground/graphics/okular/; revision=641360
2007-03-11 01:14:33 +00:00
Pino Toscano
1bfc805a3e
it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time
...
svn path=/trunk/playground/graphics/okular/; revision=641341
2007-03-10 23:59:11 +00:00
Pino Toscano
3507d4e68f
use the new Okular::ExportFormat::plainText()
...
svn path=/trunk/playground/graphics/okular/; revision=641321
2007-03-10 22:09:23 +00:00
Pino Toscano
c8f1b532f8
placeholder
...
svn path=/trunk/playground/graphics/okular/; revision=641192
2007-03-10 13:36:26 +00:00
Pino Toscano
24c56ef3d9
move most of the okular cmake configure stuff within the okular source tree
...
svn path=/trunk/playground/graphics/okular/; revision=641188
2007-03-10 13:15:49 +00:00
Brad Hards
61aa0d440d
Switch the Text Extraction handler over to using
...
QXmlStreamReader. This still isn't working the way I would like -
looks to be something wrong in either the character selection or the
matrix transformation code.
Also implemented the "export to" text/plain.
svn path=/trunk/playground/graphics/okular/; revision=641156
2007-03-10 10:18:12 +00:00
Brad Hards
3c05813278
More conversion from DOM to QXmlStreamReader. Same functionality,
...
a little more debugging, and about half as much code.
svn path=/trunk/playground/graphics/okular/; revision=641126
2007-03-10 05:52:56 +00:00
Brad Hards
b0039a0e11
Remove unused declaration.
...
svn path=/trunk/playground/graphics/okular/; revision=641121
2007-03-10 05:39:27 +00:00
Pino Toscano
9ccf6d520d
adapt the icon names to the icon naming spec
...
svn path=/trunk/playground/graphics/okular/; revision=640710
2007-03-08 21:41:46 +00:00
Brad Hards
81a132092f
Switch to using QXmlStreamReader (from Qt4.3) for
...
parsing. There is more of this to be done.
Also, use a debug area for the XPS generator.
svn path=/trunk/playground/graphics/okular/; revision=640442
2007-03-08 03:11:04 +00:00
Script Kiddy
9c27194383
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/playground/graphics/okular/; revision=640317
2007-03-07 16:49:37 +00:00
Brad Hards
2610ad9755
temporarily disable XPS generator for Qt4.2 and
...
earlier. I'm switching to using a new XML parser
that is only going live in Qt4.3.
svn path=/trunk/playground/graphics/okular/; revision=639934
2007-03-06 10:25:42 +00:00
Pino Toscano
1ea8792482
Restore compatibility with Poppler 0.5.x.
...
svn path=/trunk/playground/graphics/okular/; revision=637077
2007-02-25 10:55:06 +00:00
Pino Toscano
db8a10dc2c
Preliminary supports for text and choice form fields.
...
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)
svn path=/trunk/playground/graphics/okular/; revision=637001
2007-02-25 00:07:59 +00:00
Brad Hards
b6a3ab9a2c
Fix a couple of crash bugs.
...
There was a problem with documents that have Story,
but no synopsis (TOC). There was also a double delete
problem - crash on exit or load of a second doc.
Also add in support for "Category" metadata.
svn path=/trunk/playground/graphics/okular/; revision=635540
2007-02-20 09:29:32 +00:00
Tobias Koenig
68e1c81b9a
* Fixed the loading of chm documents (avoids crashes)
...
* Improved performance by creating text page/object rects only on first generatePixmap call
* Code cleanup
svn path=/trunk/playground/graphics/okular/; revision=635240
2007-02-19 14:58:08 +00:00
Tobias Koenig
f6db3a7408
Replaced the kapp->processEvents magic by a clean nested QEventLoop
...
svn path=/trunk/playground/graphics/okular/; revision=635219
2007-02-19 13:23:59 +00:00
Brad Hards
642a841840
Add document synopsis for XPS.
...
I don't have a lot of documents that actually have a document
structure - it is optional in XPS. In fact, I did this code on just
one file - the XPS 1.0 spec itself.
CCMAIL: jiri.klement@gmail.com
svn path=/trunk/playground/graphics/okular/; revision=635167
2007-02-19 10:43:40 +00:00
Brad Hards
f749c5dc22
Minor rethink on the colour parsing. If we have separate methods for
...
Pen and Brush, we can make sure that references make sense for the
kind of colour we're providing.
These might be candidates for more shared code later.
svn path=/trunk/playground/graphics/okular/; revision=634451
2007-02-17 11:18:06 +00:00
Brad Hards
999967935e
Implement pen colour and size (Stroke and StrokeThickness
...
attributes). This allows us to correctly show objects that have an
outline (pen) colour that is different to the fill colour.
svn path=/trunk/playground/graphics/okular/; revision=634439
2007-02-17 10:45:07 +00:00
Brad Hards
e29e44ff89
Store away the digital signature origin.
...
This prevents a warning on loading files containing
signatures, and is also a start towards proper handling
of digital signatures.
svn path=/trunk/playground/graphics/okular/; revision=634423
2007-02-17 09:56:08 +00:00
Brad Hards
d5ec64e34c
Add support for the Opacity attribute.
...
This allows the WPF_ZTRANS_001 example to render correctly
(with the green of the D showing through the number 2 shape).
There is still a problem with that example - it looks like
we aren't rendering the pen correctly.
CCMAIL: jiri.klement@gmail.com
svn path=/trunk/playground/graphics/okular/; revision=634416
2007-02-17 09:42:15 +00:00
Jiri Klement
dbe7fea25a
Fix memory leaks
...
svn path=/trunk/playground/graphics/okular/; revision=633346
2007-02-13 21:13:08 +00:00