Commit graph

34 commits

Author SHA1 Message Date
Pino Toscano
8e847ccd78 adapt to the new Okular namespace for the classes in core/
svn path=/trunk/playground/graphics/okular/; revision=586997
2006-09-21 09:15:00 +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
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
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
ebe64cc2b7 SVN_SILENT wordings
svn path=/trunk/playground/graphics/okular/; revision=552294
2006-06-17 11:11:48 +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
c6d4439b78 (less) warnings
svn path=/trunk/playground/graphics/okular/; revision=551885
2006-06-15 21:38:42 +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
Pino Toscano
d8d19c5db5 leak less
svn path=/trunk/playground/graphics/okular/; revision=551483
2006-06-14 18:18:07 +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
87b4f81c14 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=549206
2006-06-07 18:33:25 +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
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
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
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
fedf49f089 less deprecated
svn path=/branches/work/kde4/playground/graphics/okular/; revision=546170
2006-05-29 11:35:30 +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
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
Pino Toscano
58a391e7a2 improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524837
2006-03-31 11:22:29 +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
4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +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
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
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
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
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
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
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
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