Commit graph

2081 commits

Author SHA1 Message Date
Brad Hards
7c8ecc36bd Add in very rough first version of the XML paper
specification renderer. 

This doesn't work yet. And it crashes a lot. You
can help!

If you want to test this, a search for
"xps sample documents" will give you a sample set that
you can unzip.


svn path=/trunk/playground/graphics/okular/; revision=583014
2006-09-11 10:44:17 +00:00
Pino Toscano
46b5ad5e48 'Contents' has lines separated by \r, so converting them to \n should help
svn path=/trunk/playground/graphics/okular/; revision=582650
2006-09-09 23:18:15 +00:00
Pino Toscano
f311b04ed3 reactivate the Annotation's loading
svn path=/trunk/playground/graphics/okular/; revision=582610
2006-09-09 21:27:50 +00:00
Stephan Kulow
9b1e475759 avoid crash even if commented :)
svn path=/trunk/playground/graphics/okular/; revision=582481
2006-09-09 14:17:38 +00:00
Pino Toscano
5ee6d32f1b clean up a bit by removing some stuff we probably won't ever use
svn path=/trunk/playground/graphics/okular/; revision=582099
2006-09-08 08:43:21 +00:00
Dirk Mueller
2658e75c7d fix memory / fd leak (CID 2672)
svn path=/trunk/playground/graphics/okular/; revision=580849
2006-09-04 16:19:56 +00:00
Dirk Mueller
64ef532f4d make it crash rather than use uninitialized memory
svn path=/trunk/playground/graphics/okular/; revision=580813
2006-09-04 15:02:28 +00:00
Dirk Mueller
5b69bb6ccb fix rather artificial memory leak (CID 2684)
svn path=/trunk/playground/graphics/okular/; revision=580807
2006-09-04 14:55:59 +00:00
Tobias Koenig
90140c1479 warnings--
svn path=/trunk/playground/graphics/okular/; revision=578892
2006-08-30 14:17:22 +00:00
Albert Astals Cid
760fdbcadb makeItBuild
svn path=/trunk/playground/graphics/okular/; revision=578661
2006-08-29 21:09:55 +00:00
Laurent Montel
5bf047f728 Clean up
Remove not bnecessary files

svn path=/trunk/playground/graphics/okular/; revision=573208
2006-08-15 08:38:15 +00:00
Laurent Montel
8613479305 Fix install icons with new kde4macro
svn path=/trunk/playground/graphics/okular/; revision=573205
2006-08-15 08:20:53 +00:00
Chu Xiaodong
e6078e98c3 call Annotation context menu any time(implemented in pageview.cpp)
svn path=/trunk/playground/graphics/okular/; revision=571653
2006-08-10 08:59:58 +00:00
Pino Toscano
fb6409e8fd properly creating the text rects (inverting top and bottom is not a good idea...)
svn path=/trunk/playground/graphics/okular/; revision=570601
2006-08-07 11:44:47 +00:00
Pino Toscano
7ba0c4df3a Show the title of the current document - if available - as title of the main window, as requested in comments of KPDF bug #103362.
Adapted the poppler(pdf) and the chm generators to return the title of the current document.

svn path=/trunk/playground/graphics/okular/; revision=568059
2006-07-30 23:37:50 +00:00
Albert Astals Cid
d261d27274 reverting some sabotage done by montel ;-)
svn path=/trunk/playground/graphics/okular/; revision=566296
2006-07-25 18:19:06 +00:00
Laurent Montel
3d62f697b2 Clean up
svn path=/trunk/playground/graphics/okular/; revision=566117
2006-07-25 13:08:23 +00:00
Pino Toscano
e147f53ab7 make sure to really close the djvu document
svn path=/trunk/playground/graphics/okular/; revision=564677
2006-07-20 20:02:02 +00:00
Pino Toscano
25eb77c1de some fixes according to EBN:
- fix single char addition to QString's
- some spell checking

svn path=/trunk/playground/graphics/okular/; revision=563891
2006-07-18 19:06:01 +00:00
Pino Toscano
b6d7a36eda Small addition to the Ganarator API: bool closeDocument().
Now every generator has to implement this one and put (if necessary) all the code for cleaning up all the stuff related to the currently open document.
For now the return value it is not read, but generators as strongly suggested to return tru o false, whether all the operations in there went fine.

svn path=/trunk/playground/graphics/okular/; revision=562210
2006-07-14 10:54:29 +00:00
Pino Toscano
9b55ffedd4 better check case-insensitively here
svn path=/trunk/playground/graphics/okular/; revision=561957
2006-07-13 17:48:28 +00:00
Pino Toscano
38593f718c delete a Link if an ObjectRect is not created; less deferences
svn path=/trunk/playground/graphics/okular/; revision=561949
2006-07-13 17:27:34 +00:00
Pino Toscano
2d64d446d7 Read correctly the 'poly' links for DjVu documents.
svn path=/trunk/playground/graphics/okular/; revision=561918
2006-07-13 16:08:50 +00:00
Pino Toscano
67fabc7659 - adapted the DjVu generators to the new ObjectRect API
- read also the links with an elliptic shape
- some code less

svn path=/trunk/playground/graphics/okular/; revision=561892
2006-07-13 15:06:47 +00:00
Pino Toscano
1ba01ac6f1 Refactor a bit how ObjectRect works: now it's an independent class, that keeps the shape of the "kept" object using a QPainterPath [the qreal version to QRegion].
Modified the constructors to specify if a rect represents a rectangular region or an elliptic one; added a new one to create a region defined using a polygon.
Adapted to the new API the generators that support links (all but the DjVu one - will be adapted and improved soon).

svn path=/trunk/playground/graphics/okular/; revision=561890
2006-07-13 15:03:18 +00:00
Pino Toscano
1154dd1c8f read the creation date
svn path=/trunk/playground/graphics/okular/; revision=561551
2006-07-12 13:33:29 +00:00
Pino Toscano
9fbfc1cb39 disable the fax generator, as the tiff one seems way better
svn path=/trunk/playground/graphics/okular/; revision=561316
2006-07-11 20:38:23 +00:00
Pino Toscano
80b0e358c7 Start to read the EXIF fields of TIFF documents, for now Description, Software, Copyright and Artist.
svn path=/trunk/playground/graphics/okular/; revision=560704
2006-07-10 22:52:50 +00:00
Pino Toscano
0211c662e9 now that KDjVu works nicely, reduce the debug
svn path=/trunk/playground/graphics/okular/; revision=559952
2006-07-08 17:51:25 +00:00
Pino Toscano
2d41c4459b clean up the CMakeLists.txt files from the auto* stuff
svn path=/trunk/playground/graphics/okular/; revision=559521
2006-07-07 15:08:46 +00:00
Pino Toscano
b43f2c4d28 A new backend: TIFF.
It uses directly the libTIFF, and actually can load TIFF documents even better than the fax generator (that uses libkfaximage).
The generator can also rotate the images, but it is not tested as the menus with the current kdelibs snapshot don't work.

svn path=/trunk/playground/graphics/okular/; revision=559514
2006-07-07 14:58:12 +00:00
Laurent Montel
5262f0c13f Fix install files
svn path=/trunk/playground/graphics/okular/; revision=559162
2006-07-06 17:50:37 +00:00
Pino Toscano
2cc4065c3b use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558034
2006-07-04 15:25:27 +00:00
Pino Toscano
1285825aa5 use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558033
2006-07-04 15:24:52 +00:00
Pino Toscano
317132c670 remove some unused stuff; add comments and fix include guard name
svn path=/trunk/playground/graphics/okular/; revision=556946
2006-07-01 23:47:39 +00:00
Pino Toscano
f574dc37e6 Make use of the new text export function of the generator.
svn path=/trunk/playground/graphics/okular/; revision=556944
2006-07-01 23:43:35 +00:00
Pino Toscano
aa109c9ef0 Port the recent changes to kdv, and remove some debug code
(Luigi Toscano)

svn path=/trunk/playground/graphics/okular/; revision=556901
2006-07-01 21:17:42 +00:00
Pino Toscano
c82fed6d75 Make use of okularUtils, and use a Center viewport position for links.
(Luigi Toscano)

svn path=/trunk/playground/graphics/okular/; revision=556625
2006-06-30 22:52:54 +00:00
Pino Toscano
d0b5207bce Extract the table of contents from DVI documents.
svn path=/trunk/playground/graphics/okular/; revision=556622
2006-06-30 22:35:48 +00:00
Pino Toscano
a324781264 adapt the djvu generator to make use of the okularUtils namespace
svn path=/trunk/playground/graphics/okular/; revision=556609
2006-06-30 21:43:40 +00:00
Pino Toscano
9385667f6c now, really copy (hope so) the strictly necessary files from the dvi plugin of kviewshell, and applying our work to make it work
svn path=/trunk/playground/graphics/okular/; revision=556303
2006-06-29 21:12:47 +00:00
Pino Toscano
7d26d25bd2 delete the dupe files, and now really copying the good ones
svn path=/trunk/playground/graphics/okular/; revision=556294
2006-06-29 20:43:50 +00:00
Pino Toscano
ca85816c4c take correctly into account the rotation of the document, and rotate the link rects accordingly
svn path=/trunk/playground/graphics/okular/; revision=556019
2006-06-28 22:57:01 +00:00
Pino Toscano
c39fdf8f5c Improve the hyperlink support, and make it less error-prone. Micro suppport for URL hyperlinks.
svn path=/trunk/playground/graphics/okular/; revision=555968
2006-06-28 20:44:12 +00:00
Pino Toscano
e5018d700f Complete support for hyperlinks.
Cookies go to Luigi, thanks!

svn path=/trunk/playground/graphics/okular/; revision=555965
2006-06-28 20:40:47 +00:00
Pino Toscano
39e73f95f6 Read correctly the DjVu area maps (aka links) referring to local pages.
svn path=/trunk/playground/graphics/okular/; revision=555915
2006-06-28 17:52:00 +00:00
Pino Toscano
2bfdb0f319 New backend: DVI.
Adapted from the DVI plugin of KViewShell.
It can:
- load documents
- generate correctly the pixmaps for the images
- rotate the pages
- extract the text from the pages (thus search and text selection are possible)
- extract the URL hyperlinks from the documents

Credits for this work goes to Luigi Toscano, thanks Luigi!

CCMAIL: Luigi Toscano <luigi.toscano@tiscali.it>

svn path=/trunk/playground/graphics/okular/; revision=555582
2006-06-27 22:17:35 +00:00
Pino Toscano
63c1580412 SVN_SILENT apidox
svn path=/trunk/playground/graphics/okular/; revision=555392
2006-06-27 09:33:43 +00:00
Pino Toscano
a5795e2726 Now the DjVu generator is able to extract the list of bookmarks (aka Table of Contents) from the DjVy document, if it has any.
svn path=/trunk/playground/graphics/okular/; revision=555320
2006-06-27 00:08:42 +00:00
Pino Toscano
70423d2f95 Be able to rotate fax documents.
svn path=/trunk/playground/graphics/okular/; revision=554987
2006-06-25 22:20:11 +00:00
Albert Astals Cid
dba404945a Adapt to poppler cvs changes, you need to use poppler-qt4 cvs to build okular
CCMAIL: xiaodongchu@gmail.com

svn path=/trunk/playground/graphics/okular/; revision=554893
2006-06-25 17:02:34 +00:00
Pino Toscano
a3dc3b2646 add a desktop file so the ghostscript generator can make okular good candidate for print preview
svn path=/trunk/playground/graphics/okular/; revision=554320
2006-06-23 17:11:05 +00:00
Pino Toscano
cfaefdc3cb not needed
svn path=/trunk/playground/graphics/okular/; revision=553841
2006-06-22 09:33:07 +00:00
Albert Astals Cid
38343cd4e1 drop .la as per dfaure's suggestion
svn path=/trunk/playground/graphics/okular/; revision=553685
2006-06-21 17:31:50 +00:00
Pino Toscano
e37ff4f3fe small trick: when generating small pixmaps (ie less wide than 300px) the render it as a page wider than 800px, and then rescale it back. this way, we respect more the geometry of the page in the small pixmaps (tipically, thumbnails).
svn path=/trunk/playground/graphics/okular/; revision=553409
2006-06-20 22:47:02 +00:00
Pino Toscano
80a843cbed TGenerator -> CHMGenerator
svn path=/trunk/playground/graphics/okular/; revision=553326
2006-06-20 18:41:48 +00:00
Pino Toscano
066beaa1dd small changes in the Generator API:
- no need for a private empty constructor
- move the signalRequestDone 'signal' to a protected visibility, as it's not meant to be called from outside a generator
- KPDF_EXPORT_PLUGIN -> OKULAR_EXPORT_PLUGIN

svn path=/trunk/playground/graphics/okular/; revision=553077
2006-06-19 22:15:07 +00:00
Pino Toscano
49a5be93da isolate the code for creating pages in an own method, should work correctly for pages with an initial rotation different than 0
svn path=/trunk/playground/graphics/okular/; revision=552594
2006-06-18 13:04:42 +00:00
Pino Toscano
15d8822c6f directly convert the image into a ixmap, instead of painting the image over the pixmap
svn path=/trunk/playground/graphics/okular/; revision=552566
2006-06-18 10:15:38 +00:00
Pino Toscano
c2cb18a4bf don't leak the image we get from qgs
svn path=/trunk/playground/graphics/okular/; revision=552376
2006-06-17 16:57:52 +00:00
Pino Toscano
ebe64cc2b7 SVN_SILENT wordings
svn path=/trunk/playground/graphics/okular/; revision=552294
2006-06-17 11:11:48 +00:00
Pino Toscano
b1dd2e8d04 fix layout warnings
svn path=/trunk/playground/graphics/okular/; revision=552292
2006-06-17 10:51:00 +00:00
Pino Toscano
6096556a6a a bit less headers and forward declarations
svn path=/trunk/playground/graphics/okular/; revision=552083
2006-06-16 15:13:29 +00:00
Pino Toscano
5242e3bd7e encode the file name correctly
svn path=/trunk/playground/graphics/okular/; revision=552037
2006-06-16 13:02:58 +00:00
Pino Toscano
c9b0e67148 some const's more
svn path=/trunk/playground/graphics/okular/; revision=552021
2006-06-16 12:12:35 +00:00
Pino Toscano
e4eeca193a append the number of pages as last info (more coherency); no warnings
svn path=/trunk/playground/graphics/okular/; revision=552017
2006-06-16 11:56:00 +00:00
Pino Toscano
e270fc7d3b first attempt to gather some information from a ps document
svn path=/trunk/playground/graphics/okular/; revision=552012
2006-06-16 11:44:03 +00:00
Pino Toscano
d93299960c less qt3_support:
Q3CString -> QByteArray
Q3ValueList -> QList

svn path=/trunk/playground/graphics/okular/; revision=551904
2006-06-15 22:53:55 +00:00
Pino Toscano
8333023023 port to qt4/kde4
svn path=/trunk/playground/graphics/okular/; revision=551894
2006-06-15 22:27:41 +00:00
Pino Toscano
c6d4439b78 (less) warnings
svn path=/trunk/playground/graphics/okular/; revision=551885
2006-06-15 21:38:42 +00:00
Pino Toscano
b1973c5078 some kpdf -> okular (mostly in comments)
svn path=/trunk/playground/graphics/okular/; revision=551881
2006-06-15 21:24:00 +00:00
Albert Astals Cid
27a8263a91 remove comment in spanish
svn path=/trunk/playground/graphics/okular/; revision=551879
2006-06-15 21:19:03 +00:00
Albert Astals Cid
1a10d4e610 don't make it a kapplication, we don't need it and we win some things like not registering to dbus
svn path=/trunk/playground/graphics/okular/; revision=551876
2006-06-15 21:15:43 +00:00
Pino Toscano
d8d19c5db5 leak less
svn path=/trunk/playground/graphics/okular/; revision=551483
2006-06-14 18:18:07 +00:00
Pino Toscano
130627e02b kpdflibgsasyncgenerator -> okulargsasyncgenerator
svn path=/trunk/playground/graphics/okular/; revision=551189
2006-06-13 21:48:47 +00:00
Pino Toscano
d2c5882a27 Port to the new KDialog / KPageDialog API
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550944
2006-06-13 08:44:08 +00:00
Albert Astals Cid
eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Pino Toscano
dc0168a8f4 add the info about the number of components of the current document
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550300
2006-06-11 13:48:39 +00:00
Pino Toscano
426ad913e7 SVN_SILENT typo
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550003
2006-06-10 15:53:25 +00:00
Pino Toscano
eee480642e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549996
2006-06-10 15:28:20 +00:00
Pino Toscano
60eab90248 small API changes to Generator:
- more const'ness in signals
- no need to redeclare the signals in the generators, as they are already in Generator

svn path=/branches/work/kde4/playground/graphics/okular/; revision=549941
2006-06-10 12:59:09 +00:00
Pino Toscano
09bf08b3e6 small API change for Generator: getText() just return a QString instead of a QString*, as QString is already implicitely shared
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549935
2006-06-10 12:14:23 +00:00
Pino Toscano
a04ec68dec SVN_SILENT avoid compiler warnings
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549927
2006-06-10 11:22:53 +00:00
Pino Toscano
c9e38ddf93 Q3PtrList -> QList
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549243
2006-06-07 20:57:28 +00:00
Pino Toscano
87b4f81c14 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549206
2006-06-07 18:33:25 +00:00
Pino Toscano
d0ac95dafd A new backend for oKular: DjVu:
* uses the DjVuLibre for loading the DjVu files
* can rotate the pages
* has a cache (with few elements) with the most recently used generated pixmaps,
  to reduce a bit the number of pixmap generation
There could be some issues, but mainly it works nicely.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=549184
2006-06-07 17:41:04 +00:00
Albert Astals Cid
48b4c272d7 lots of commented code that completely disabled the synchorouns generator, but it almost seems the asynchronous one is working, will have to "fix" the synchorouns one after i compile the new snapshot
svn path=/branches/work/kde4/playground/graphics/okular/; revision=548337
2006-06-05 10:36:38 +00:00
Albert Astals Cid
fa4ccdccb5 QString -> const QSTring &
svn path=/branches/work/kde4/playground/graphics/okular/; revision=548333
2006-06-05 10:32:26 +00:00
Pino Toscano
1db35180c1 the generator_kimgio can rotate the images
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547768
2006-06-03 10:54:44 +00:00
Pino Toscano
be355ec644 simplify a bit (and less deprecated)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547752
2006-06-03 09:38:11 +00:00
Pino Toscano
fa98f00571 reoved almost all the left files from the autoconf/automake build system.
only configure.in.bot in the generators subdir of okular is left, as it contains some user messages

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547679
2006-06-02 23:13:14 +00:00
Pino Toscano
d088e2f631 remove all the Makefile.am, as they are no more needed
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547662
2006-06-02 22:13:10 +00:00
Pino Toscano
6a64431c9a kdDebug -> kDebug
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547660
2006-06-02 22:08:27 +00:00
Albert Astals Cid
4140ebdf99 some exception catching here also
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547658
2006-06-02 22:06:40 +00:00
Albert Astals Cid
cb7ca95e94 pages have orientation
document has a rotation to apply over the page's own orientation
text search really works now when rotating (at least all my tests here worked)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547644
2006-06-02 20:42:57 +00:00
Albert Astals Cid
bb0f9f6bfb ok, someone hit me with a stick
Finding text in rotated pages highlights the correct square now

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547611
2006-06-02 18:36:59 +00:00
Albert Astals Cid
6f0787a6fd some cleaning
rotation half works on pdf, search is problematic
this makes you need poppler cvs again

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547375
2006-06-01 21:04:04 +00:00
Albert Astals Cid
6bf3b9408c links where pointing one page below :-D
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547054
2006-05-31 18:13:47 +00:00
Pino Toscano
419cdfbcd0 simply my previous algorithm
less deprecated (QByteArray)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=547038
2006-05-31 17:23:47 +00:00
Pino Toscano
56a03cd1e4 avoid to consider pages like foo.html and foo.html#bar as different, as actualy they are the same page, just with a different ref. this way we avoid to load many pages repeated (depending on the hyperlinks in the document)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547012
2006-05-31 16:48:37 +00:00
Pino Toscano
9361ce44be less deprecated (Q3CString)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546943
2006-05-31 13:37:58 +00:00
Pino Toscano
1c5d4a5507 start to provide information, only the title for the moment
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546915
2006-05-31 11:42:53 +00:00
Pino Toscano
6b401ba29b not need to unlock() something not locked.
now i don't get the: "ASSERT failure in QMutex::unlock(): "A mutex must be unlocked in the same thread that locked it.", file thread/qmutex.cpp, line 248" and the crash when closing okular.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546856
2006-05-31 08:27:36 +00:00
Pino Toscano
7862ce2c4c initialize some unitialized variables, thanks to valgrind
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546752
2006-05-30 22:42:23 +00:00
Albert Astals Cid
e5a42e86ab with this i can get the first page of valgrind PS manual to display
no more pages are generated, and crashes on closing, but something is something :-D

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546697
2006-05-30 19:18:53 +00:00
Albert Astals Cid
b505aff492 has to be a gui app, if not crashes when asking for QX11Info
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546669
2006-05-30 17:48:09 +00:00
Pino Toscano
129b431ad4 make the ghostview generator use the paper size managment of the Generator, ie reusing the already-there action
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546397
2006-05-29 22:30:50 +00:00
Pino Toscano
6f25714b53 change the way we build qgs and the ghostscript plugin of okular: instead of
compiling both separately and relying on the installed qgs for okular, only
look for libgs and build both qgs and ghostscript at the same time.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=546363
2006-05-29 20:33:55 +00:00
Pino Toscano
c4dbfa5ea3 fix assert
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546302
2006-05-29 17:44:36 +00:00
Pino Toscano
ee18262afa fix connections
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546211
2006-05-29 13:53:42 +00:00
Pino Toscano
d89f7c92d4 fix crash by ending the paint operations when they're done
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546187
2006-05-29 12:49:03 +00:00
Pino Toscano
fedf49f089 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546170
2006-05-29 11:35:30 +00:00
Pino Toscano
507c365be8 export correctly so it can be started by klauncher
use the correct types (uint -> int)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546158
2006-05-29 10:51:32 +00:00
Pino Toscano
4cf3904b16 convert the config widget to ui4 and "fix" the crash when creating the ghostscript generator
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546132
2006-05-29 09:12:29 +00:00
Pino Toscano
007a1cab7e SVN_SILENT clean a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546124
2006-05-29 08:33:16 +00:00
Pino Toscano
f8c91c218b make the ghostview generator compile and link (but crashes...)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546123
2006-05-29 08:24:13 +00:00
Albert Astals Cid
13dde4096f use the nice code brad wrote for poppler that allows you to extract embedded files from a pdf document.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545966
2006-05-28 16:54:54 +00:00
Pino Toscano
be8b593472 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543726
2006-05-22 16:53:18 +00:00
Pino Toscano
7049feb8de port to the new kdelibs api; mainly ktrader usage and URL -> Url
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543576
2006-05-22 14:02:24 +00:00
Pino Toscano
64867d5b3c move the okular configurations to config-okular.h
create again the options to force the DRM (give -DOKULAR_FORCE_DRM=ON to cmake)
KPDF_FORCE_DRM -> OKULAR_FORCE_DRM

svn path=/branches/work/kde4/playground/graphics/okular/; revision=542815
2006-05-20 12:35:11 +00:00
Albert Astals Cid
7ab451aae1 some leaks less
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540485
2006-05-13 16:06:54 +00:00
Albert Astals Cid
8f9801edf4 fix spacing
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540476
2006-05-13 15:04:55 +00:00
Albert Astals Cid
68830e0508 fix search (a bit) and rect passing top != right dude!!
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540475
2006-05-13 15:04:22 +00:00
Laurent Montel
1acd92c193 kde4_header and kde4_footer() are gone now
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540429
2006-05-13 12:55:15 +00:00
Albert Astals Cid
33848a3ee8 The big poppler commit, we now don't use poppler but poppler-qt4 frontend, and that is GOOD
You need poppler from cvs as of today, i'll change the check to a bigger version number once a new poppler gets released
There are still some problems i think but i'm commiting to see if someone wants to help ;-)
Includes some EBN fixes by Christian Mueller

svn path=/branches/work/kde4/playground/graphics/okular/; revision=540404
2006-05-13 11:17:24 +00:00
Pino Toscano
f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Pino Toscano
1e697c87ca less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538075
2006-05-06 17:56:18 +00:00
Laurent Montel
aec1a39263 fix warning
svn path=/branches/work/kde4/playground/graphics/okular/; revision=533081
2006-04-23 16:00:45 +00:00
Laurent Montel
1ce4f247a4 Fix use {PLUGIN_INSTALL_DIR}
svn path=/branches/work/kde4/playground/graphics/okular/; revision=531061
2006-04-18 14:25:16 +00:00
Pino Toscano
90db8a5868 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=529479
2006-04-13 14:51:05 +00:00
Pino Toscano
abbe32b397 fix compilation
svn path=/branches/work/kde4/playground/graphics/okular/; revision=528357
2006-04-10 20:26:46 +00:00
Pino Toscano
e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Pino Toscano
965dff8965 SVN_SILENT cleanup
svn path=/branches/work/kde4/playground/graphics/okular/; revision=527316
2006-04-07 17:28:50 +00:00
Pino Toscano
863da7ba3e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526826
2006-04-05 17:49:44 +00:00
Pino Toscano
55bc51a6d0 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525131
2006-03-31 21:51:45 +00:00
Pino Toscano
58a391e7a2 improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524837
2006-03-31 11:22:29 +00:00
Albert Astals Cid
e83d78eac6 build a bit more
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524654
2006-03-30 21:13:14 +00:00
Pino Toscano
11d5e77ff4 less qt3/kde3 support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524525
2006-03-30 15:27:27 +00:00
Pino Toscano
22c45feb7e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524154
2006-03-29 20:43:48 +00:00
Pino Toscano
34f2498f1f less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524117
2006-03-29 19:14:04 +00:00
Albert Astals Cid
26708c58b9 would link if i did not had to copies of poppler around
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524092
2006-03-29 17:47:07 +00:00
Pino Toscano
4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Pino Toscano
a536c798f2 - the fax library and its generator compile and link correctly
- less kde3 support
- small fix in the top CMakeLists.txt

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524044
2006-03-29 15:50:33 +00:00
Pino Toscano
0b29b076b8 Some work on the chm generator:
- correctly find the chm library
- make the chm generator and the kio-msits compile and link
- some qt3/kde3 support less

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523938
2006-03-29 14:33:15 +00:00
Pino Toscano
c256664918 not executable
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523930
2006-03-29 14:08:47 +00:00
Pino Toscano
76c8417b5a Make the kimgio generator link correctly. The first oKular generator that links with cmake :-)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523735
2006-03-28 22:32:32 +00:00
Pino Toscano
8db887dfb1 New QGS check (partially untested).
New CHM check.
Activating okular anyway, and disable its poppler generator if poppler is not found.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523311
2006-03-27 21:09:36 +00:00
Pino Toscano
7e1eb57d25 slightly better, but not enough; later i'll apply on finding and using poppler
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522738
2006-03-26 16:08:11 +00:00
Laurent Montel
3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Albert Astals Cid
b61b6e2f22 some fixes more, able to see pdf already
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522382
2006-03-25 11:45:16 +00:00
Pino Toscano
5a39ea2213 includemoc + some libs to link with
still libkfax resists me :-/

svn path=/branches/work/kde4/playground/graphics/okular/; revision=522274
2006-03-24 23:12:44 +00:00
Albert Astals Cid
7ae1f13b3f when i said all linked i lied because i still had to commit that ;-)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522271
2006-03-24 22:57:41 +00:00
Albert Astals Cid
9db38ffa47 everything links for me pino :-S
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522268
2006-03-24 22:54:41 +00:00
Pino Toscano
20747dabd7 compile (still not link)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522267
2006-03-24 22:53:31 +00:00
Pino Toscano
0ea21e0f3b compile (not link)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522264
2006-03-24 22:46:07 +00:00
Albert Astals Cid
221f3ffa9b compile
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522259
2006-03-24 22:40:18 +00:00
Albert Astals Cid
467b839cf0 libokularGenerator_fax.la links
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522258
2006-03-24 22:20:48 +00:00
Albert Astals Cid
b98637741d libokularGenerator_poppler links
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522254
2006-03-24 21:45:59 +00:00
Pino Toscano
8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid
db09e1aabe some more things compile, commiting so Pino has lastest
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522242
2006-03-24 20:40:02 +00:00
Albert Astals Cid
aa5a58187c some fixes to the makefiles, don't know if better than before, but not at least unsermake starts
svn path=/branches/work/kde4/playground/graphics/okular/; revision=520823
2006-03-20 22:11:37 +00:00
Albert Astals Cid
1eef1c2363 more moving
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520370
2006-03-19 18:12:10 +00:00
Albert Astals Cid
56a491d542 moving
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520369
2006-03-19 18:11:17 +00:00
Albert Astals Cid
30c2f8067d oKular goes poppler
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520367
2006-03-19 18:03:43 +00:00
Albert Astals Cid
074303b849 compile
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=510317
2006-02-16 21:33:19 +00:00
İsmail Dönmez
ca38324adb backport compile fix for newer freetype ( CVS ) versions from kpdf
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509938
2006-02-15 21:48:26 +00:00
Piotr Szymanski
c7da917e38 - add minor checks for validity of requests
- fix ghostscript backend (works now)

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509917
2006-02-15 21:02:13 +00:00
Piotr Szymanski
4387e1489e - GIGANTIC 2700 line diff with LOTS OF FEATURES!
- 1. editor-like text selection, and I do mean it, its not pseudo-editor 
  (like the ones acroread and kviewshell have) it doesnt intersect the 
  selection area with words under it, no, it does a lot more, including 
  work on cursors and searching for the text area closest to the given
  cursor
- 2. rotation support, change the orientation of the documents if 
  you need too :)
- 3. the kfaxview backend works beautifully, porting kviewshell backends
  is damn easy ! djvu and dvi will be next!
- 4. Hardware Blending of selection rectangles! We now use XRender 
  instead of KImageEffect, makes a damn faster blend!
- 5. Overview mode - as seen in Kviewshell, but quite a bit extended, 
  the kviewshell is only one state, while we support it in both 
  continous and non-continous form
- BTW. I coded all those features myself, (apart from kfaxview backend library)
  it is an impressive bit right? but oKular cant be run by only one person, 
  join in on the fun! i can introduce you into the code just mail niedakh@gmail.com


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509871
2006-02-15 18:54:49 +00:00
Albert Astals Cid
efd05b1ea5 branchport r503607
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=503613
2006-01-29 17:46:56 +00:00
Albert Astals Cid
2425a7639a branch port r499428 and r499429
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=499432
2006-01-17 20:06:01 +00:00
Albert Astals Cid
85aa75c5b2 branch port r494666
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=494667
2006-01-05 23:51:38 +00:00
Albert Astals Cid
9d2d7085f0 branchport r489480
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=489483
2005-12-18 21:46:54 +00:00
Piotr Szymanski
3dad5f6890 - back to proper working state
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=488648
2005-12-15 09:55:58 +00:00
Albert Astals Cid
83c7b6028a Branchport r487750
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=487757
2005-12-11 21:00:13 +00:00
Piotr Szymanski
75510d8697 - compiles now
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486815
2005-12-08 21:11:09 +00:00
Piotr Szymanski
b59e6dcf8b - ported ghostview backend to libqgs, finally compiles
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486812
2005-12-08 20:56:55 +00:00
Albert Astals Cid
69539574fc Fix for CAN-2005-3193 and friends
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486452
2005-12-07 21:44:06 +00:00
Piotr Szymanski
5e0e973e12 - add supported mimetype caching to the kpdf part properly
- begin work on ghostscript backend port to libqgs
- minor tweak in configure.in.bot 

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=486447
2005-12-07 21:25:25 +00:00
Piotr Szymanski
99c8344024 - notfinished indexing stuff from kchmpart
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=485825
2005-12-05 20:54:05 +00:00
Albert Astals Cid
5f647d3140 fix check
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=485824
2005-12-05 20:44:39 +00:00
Piotr Szymanski
00823bf3a6 - missign files?
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=484981
2005-12-02 12:43:57 +00:00
Stephan Binner
dd43125621 i18n style guide fixes
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481809
2005-11-20 17:32:53 +00:00
Piotr Szymanski
75db44d843 - sync with hdd, refactored text page, ported backends to textpage,
- fixed crash in fax, chm builds and ghostview nearly ported to libqgs

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481340
2005-11-18 20:48:01 +00:00
Piotr Szymanski
de78c91f71 - this directory builds now, please wait until i commit the updated core
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=481116
2005-11-17 22:56:56 +00:00
Piotr Szymanski
d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Piotr Szymanski
befcda1a14 - update for the move, libgsinterpreter now libkgs
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471685
2005-10-18 12:46:23 +00:00
Piotr Szymanski
9597e74d6b - moved to kdesupport
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471681
2005-10-18 12:27:41 +00:00
Piotr Szymanski
d5c57158b5 - rename to oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471444
2005-10-17 18:34:58 +00:00
Piotr Szymanski
838dc70c44 - ported in 2h 30 minutes, compiles properly, should work, but i cant test it yet because
kdebase compilation takes 90% of CPU

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=463959
2005-09-25 20:42:19 +00:00
Thiago Macieira
66480a8e8a KDE sources are UTF-8.
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=463098
2005-09-22 23:52:31 +00:00
Piotr Szymanski
de2fcf1322 - bah i need to go to sleep, have just found about an appointemnt for tommorow, well, ill port it tomorow, when i come back,
for a start has been done. I want to measure how long it will take to port so ill tell you when i start working on the port tommorow

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=462761
2005-09-22 00:21:37 +00:00
Piotr Szymanski
3639fee113 - copy kfaxview into oKular, Im pondering how fast can i port it to oKualr API,
I have 30 minutes before gcc 4.1 finished compiling

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=462759
2005-09-22 00:06:07 +00:00
Laurent Montel
b72814a9d4 Fix postincremental
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=459553
2005-09-11 12:07:31 +00:00
Albert Astals Cid
7a051d3ee2 configure improvements
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=457815
2005-09-06 16:46:20 +00:00
Adriaan de Groot
15bbda73ca Dox fixes: match parameters w/ @param list; looks like CHMFile::ParseAndFillIndex got a little out-of-sync.
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=457302
2005-09-05 14:14:31 +00:00
Piotr Szymanski
1904ae6d05 - a better version of tsdgeos's fix
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456227
2005-09-02 10:33:03 +00:00
Piotr Szymanski
bfee50a06f - last commit fixes crashes on page_count and etc, adding a note about dsc too
- Wilfried, could you recheck oKular from svn and rebuild it, should work for you now :)
CCMAIL:Wilfried Huss <Wilfried.Huss@gmx.at>

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456053
2005-09-02 00:52:20 +00:00
Piotr Szymanski
481dd5f9f1 - incorporate tsdgeos's remodelling of configure.in.in check for libgs
- fix loading docuemnts that dont have the dsc by using one page of local papersize with the pixmap generated by ghostscript after sending the whole document, fixes first bigger bug in oKular

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=456051
2005-09-02 00:48:27 +00:00
Piotr Szymanski
241ca3b987 - another possible fix
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455535
2005-08-31 19:06:33 +00:00
Piotr Szymanski
eda1c570d7 - try not to crash
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455534
2005-08-31 19:03:27 +00:00
Piotr Szymanski
3cbcb2fb7f - update openDocument and freegui stuff
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=455516
2005-08-31 18:13:59 +00:00
Piotr Szymanski
e84607d34c - use the per character textpage generation by default
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450786
2005-08-19 02:40:39 +00:00
Piotr Szymanski
0513ddeb58 - my wrapper around both KHTMLPart and KCHMView's chmlib wrapper so that we get a rendered page.
- What works: 
  + viewing documents 
  + thumbnail generation
  + calculating page sizes based on the size of their KHTMLView
  + table of contents

- What is pending:
  + using internal index, will code it once I comeback, wasted too much time on textpage generation

- What probably will not work:
  + printing the entire document, no CHM viewer provides it now
    it would need some kind of being able to print multiple HTML files
    at once or sth similar (maybe anyone else has an idea?)

- About generating the textpage:
  I went a long way, with enormous, and I do mean enormous help from SadEagle explaining to me how
  to use the KHTML API to generate the text page in a usable way (actually getCaretPos is depreciated
  and not document, and if you try to read the code, you'll notice it delegate the important stuff
  further and further into the KHTML core. Understanding KHTML's core is a bit too much to require 
  at the moment.

  Well finally I had something close to working, some words are matched properly - the rectangles are ok,
  most are matched with a one/one and a half offshot to the right, finally some are not matched because
  getCaretPost returns -1 as the left X border, I have no idea why, when I am asking for a

  This is why I am ccing to kfm-devel, if anyone of you guys, has a while to spare and would be kind 
  enough, I would like to ask you to look at generator_t.cpp and the 
      void TGenerator::recursiveExploreNodes(DOM::Node node,KPDFTextPage *tp)
  function, and tell me what seems wrong there? Also if you knwo a better way to get per character
  coordinates for every character in the text inside a HTML Page, please let me know.

CCMAIL:kfm-devel@kde.org


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450785
2005-08-19 02:37:37 +00:00
Piotr Szymanski
c394549b81 - reusing code from KCHHViewer, contains a small wrapper around chmlib and a better version of kio-msits then the one from kdevelop, added minor modifications by myself so that they can be used in oKular, also stripped the library of unneeded stuff
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450783
2005-08-19 02:22:44 +00:00
Piotr Szymanski
e73e14bb1e - adding the directory for CHM backend (also to Makefile.am, no configure check yet, you need to have chmlib installed and have chm_lib.h in your include path, libchm in your lib path)
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=450782
2005-08-19 02:20:03 +00:00
Piotr Szymanski
687fe3c0fc - trying to fix the automake issue
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=448935
2005-08-13 16:27:32 +00:00
Piotr Szymanski
c259a8fc9d - I get:
make: *** No rule to make target `gssettingswidget.lo', needed by `libgssettings.la'.  Stop.
  but everything seems to be ok in the makefile.am, help me please


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445674
2005-08-11 15:31:20 +00:00
Piotr Szymanski
d2dc54a926 - fix compile
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445650
2005-08-11 14:27:09 +00:00
Piotr Szymanski
21d9c299d0 - interpreters contain anticrash fixes,
- GSLogWindow initially based on kghostview code got a total overhaul and is practically rewritten
- THIS SHOULD COMPLETE 3rd of5 DELIVERABLES, 5 am, need sleep now.

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445397
2005-08-11 03:37:38 +00:00
Piotr Szymanski
b55e0c3d71 - API headers of ESP Ghostscript 8.15rc3, but should work with any other Ghostscript with libgs. GPL
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445396
2005-08-11 03:00:14 +00:00
Piotr Szymanski
ac523a75a5 - add relevant signals (xpdf)
- port to new api (kimgio)

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445384
2005-08-11 01:00:20 +00:00
Piotr Szymanski
83a91ddbe9 - comment out textpage genration on loading of document (takes too much time, need a different way)
- port to new generator API/desktop

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445382
2005-08-11 00:48:11 +00:00
Piotr Szymanski
c5b853601e - adding the libgs detection functions
Ghostscript backend depends on libgs Ghostscript shared library.
- BTW. anyone know how to add a -Lsth flag to KDE_CHECK_LIB so it can be found if nonstandard directory is chosen?


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445369
2005-08-10 23:58:01 +00:00
Piotr Szymanski
571fe69b58 - sync X before sending pixmap, works ok now
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445318
2005-08-10 21:37:35 +00:00
Piotr Szymanski
691a5324ab - update to reflect current state, only libgs configure check pending and this is finished
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445294
2005-08-10 20:17:00 +00:00
Piotr Szymanski
5a03d1e2a6 - add libgs helper app
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445291
2005-08-10 20:13:07 +00:00
Piotr Szymanski
aaa190ce2e - SVN_SILENT get rid of bad file
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445278
2005-08-10 19:45:14 +00:00
Piotr Szymanski
94635d7041 - Adding the follwoing code:
1. GSGenerator (generator ghostview, need renaming) 
     Implements the Generator class, handles PixmapRequest transmission and starts other objects.

  2. InternalDocument
     Holds information stored in document's DSC and the information set by the user:
     Page Format, BoundingBoxes, etc, some code taken from kghostview

  3. GSInterpreterLib, the synchronous pixmap generator

  4. GSInterpreterCMD, asynchronous pixmap generator that communciates with the kpdflibgsasynchelper application
  

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445276
2005-08-10 19:44:28 +00:00
Piotr Szymanski
350667967d - pscopying functions, from kghostview
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445274
2005-08-10 19:38:45 +00:00
Piotr Szymanski
9548d85a98 - add configuration widgets for ghostscript backend
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445273
2005-08-10 19:36:54 +00:00
Piotr Szymanski
1bf4276bf8 - add %%Copyright comment support
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445264
2005-08-10 19:32:05 +00:00
Piotr Szymanski
757db52ac7 - gui support
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=442117
2005-08-01 17:47:17 +00:00
Piotr Szymanski
235e3e4c29 - support for changing rotation and added access to the programs interface
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=442116
2005-08-01 17:46:43 +00:00
Piotr Szymanski
0be10d88e5 - code for use of command line GS interpreter, reused from kghostview, a little remodeled, still fails to work,
GS says it cant open the initial device, does it mean the pximap or the widget? does the widget need to be shown
  before it can receive communication from X11?
  Asking Luis, he might know. I wanted to use the library version of the interpreter but it 
  somehow fails to create instance... Will investigate it later.
CCMAIL: luis@luispedro.org

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=439247
2005-07-27 13:52:37 +00:00
Piotr Szymanski
bb8e583945 -make the library based interprer one of the possibilities
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=438593
2005-07-25 13:25:26 +00:00
Piotr Szymanski
fdf0f2ff51 - gvinterpreter using libgs, doesnt work, gsapi fails to provide an instance, no idea why... moving to owrk on commandline gs
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437870
2005-07-23 11:51:50 +00:00
Piotr Szymanski
1c7662dec2 - makefile changes for reorganisation
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437102
2005-07-20 22:47:35 +00:00
Piotr Szymanski
a1989bda36 - move xpdf to genrators/xpdf/xpdf as it is that generator's backend
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437100
2005-07-20 22:42:44 +00:00
Piotr Szymanski
df76e34a99 - add this too
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437098
2005-07-20 22:39:05 +00:00
Piotr Szymanski
b9d106bb6f - move to generators
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437097
2005-07-20 22:38:29 +00:00
Piotr Szymanski
fc6b0ad1f0 - reorganisation part 1, moving pdf generator to genrators/xpdf
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=437095
2005-07-20 22:33:27 +00:00