Commit graph

26 commits

Author SHA1 Message Date
Pino Toscano 9bbcbace43 in the remote case the shell cannot determine the mimetypes the okularpart can read, just filter any file instead of exiting with an error
svn path=/trunk/KDE/kdegraphics/okular/; revision=694038
2007-07-29 21:36:02 +00:00
Albert Astals Cid b0339a4e40 fix some easy krazy issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +00:00
Pino Toscano 290ae2a264 really new KMainWindow API
svn path=/trunk/playground/graphics/okular/; revision=635975
2007-02-21 15:12:57 +00:00
Tobias Koenig fd73c59b97 Adapt to new KMainWindow API
svn path=/trunk/playground/graphics/okular/; revision=635671
2007-02-20 15:48:18 +00:00
Pino Toscano c40ccf4808 a simple plain list is enough
svn path=/trunk/playground/graphics/okular/; revision=631312
2007-02-07 17:25:51 +00:00
Pino Toscano 5a81f6f920 - make the toolbar recent file action working again as kpdf
- move #include to the cpp
- kpdf -> okular

svn path=/trunk/playground/graphics/okular/; revision=628216
2007-01-29 14:55:40 +00:00
Pino Toscano d37f6a80ff no need to include config.h anymore
svn path=/trunk/playground/graphics/okular/; revision=628210
2007-01-29 14:35:07 +00:00
Leandro Emanuel López 26f4618ae3 Moved the handleCompressed method to part
svn path=/trunk/playground/graphics/okular/; revision=622784
2007-01-12 23:54:26 +00:00
Pino Toscano 20661ff61e Add an interface (implemented by the Part) for controlling the really basic document viewer functionalities. This (along with a small refactor in the okular shell) gives the user the possibility to start okular with:
-p, --page <page> : to select the startup page
      --presentation : to start directly in presentation mode
implementing also KPDF wishes #134115 and #137905.

svn path=/trunk/playground/graphics/okular/; revision=619681
2007-01-04 00:20:50 +00:00
Leandro Emanuel López 5f60f757a7 Let's use KTemporaryFile instead of K3TempFile
svn path=/trunk/playground/graphics/okular/; revision=618017
2006-12-30 20:16:09 +00:00
Pino Toscano e7bbe08957 trying to port to KTemporaryFile where possible, and still rely on K3TempFile where it needs more work
svn path=/trunk/playground/graphics/okular/; revision=596083
2006-10-16 17:57:44 +00:00
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Albert Astals Cid 4e04b301f1 Almost foget to fordwardport r582561
Fix bug 133507 that prevented the correct restoring of the document viewport on session restore for remote documents

svn path=/trunk/playground/graphics/okular/; revision=584932
2006-09-15 21:08:48 +00:00
Tobias Koenig 5bfa5435a8 URL -> url renaming to reimplement the correct KPart::openUrl()...
svn path=/trunk/playground/graphics/okular/; revision=578859
2006-08-30 13:02:48 +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
Albert Astals Cid c2da771144 compile
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538754
2006-05-08 19:26:45 +00:00
Albert Astals Cid b261381531 shell builds
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521181
2006-03-21 20:03:08 +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
Albert Astals Cid 3a09624824 some more kpdf -> oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471466
2005-10-17 19:16:31 +00:00
Piotr Szymanski 8b5a0e4746 - dont know what it does, but hey its a change and it works
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445398
2005-08-11 03:41:30 +00:00
Piotr Szymanski 36ab5c8965 - make generators plugins by:
* moving all xpdf stuff from core and part to inside generator_pdf
   * adding abstract KPDFText class and KPDFTextEntity to hold either
     glyph, or word or textline
- support for importing PS files as pdf like on annots branch
- synced with annots branch
- abstract text layer with search for words in different lines
- added RegularArea<NormalizedShape,Shape> template class
  which inherits QValueList<NormalizedShape*> and is used
  to hold regular areas of given shape (finite collections of the shape)
- loading of relevant generators via ktrader for given mimetype
- the deliverables 1 and 2 of my SoC proposition are delivered
  next: 1. fix one spotted regression and 2. code ghostview backend


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434883
2005-07-15 18:20:57 +00:00
Piotr Szymanski f5bbf89218 - support for taking getting a list of suported mimelsit and nice generation of it
based on what generators provide via ktrader, includes caching the mimetype list
- handling of compressed files added too
- both fucntions basedo kviewshell's version that Wilfried Huss suggested, although with 
  significant remodelling by myself, still i see no problem on adding relevant copyrights
  to this file for the original functions' author just tell me how he/she is

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434859
2005-07-15 17:17:13 +00:00
Enrico Ros e7fadb9ab5 merged patch_088 (tinyurl.com/8t5ec)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=428593
2005-06-24 16:43:45 +00:00
Enrico Ros cdec4298f9 applying patch_058,061,063,073
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424916
2005-06-13 12:15:41 +00:00
Enrico Ros 93c1d3845d Implemented history (implementation is inside Document. actions (2) are in
Part). Implemented 'history (xpdf's LinkAction) links'. History depth is
 100 steps by default (this is enough for sure, clicking 100 times on a
 button is not an easy task :-).

Minor issues (removed half TODOs in code, all FIXMEs are already removed):
Invoke mailer on 'mailto:' links inst instead of konqueror.
Actions cleanup: disable actions like 'print', 'preview', 'save to..', etc
 when there isn't an active document. Added history actions to the toolbar
 in place of the 'prev_page' and 'next_page' ones. Fixed open+open_recent
 action tooltip and behavior.
Move definition and implementation of PagePainter class to ui/pagepainter
 from core/page.
Valgrinded and leakchecked (2 memory leaks spotted and fixed (missing
 contents deletion in KPDFGeneratorThread and missing deletion of
 PixmapRequests on cancel in Document::requestPixmaps())).

svn path=/trunk/kdegraphics/kpdf/; revision=382960
2005-01-27 17:31:07 +00:00
Albert Astals Cid 50a8450174 More reorganization, needed so that the binary name does not clashes with an "old" directory
svn path=/trunk/kdegraphics/kpdf/; revision=375331
2005-01-03 21:59:57 +00:00
Renamed from shell.h (Browse further)