Jiri Klement
f0eaa1fbff
Rewrite of page rendering. Now it respects context and actual work is done at the end of element so child elements are taken into account
...
svn path=/trunk/playground/graphics/okular/; revision=632324
19 years ago
Jiri Klement
411bf7d873
Fix separation of graphics elements (settings for path could affect glyphs)
...
svn path=/trunk/playground/graphics/okular/; revision=631815
19 years ago
Jiri Klement
55d67b9034
Fix memory leaks
...
svn path=/trunk/playground/graphics/okular/; revision=631812
19 years ago
Jiri Klement
03dc9c916c
Page is now rendered on screen size so no additional scaling is necessary - better looking and faster rendering
...
svn path=/trunk/playground/graphics/okular/; revision=631669
19 years ago
Jiri Klement
74e912ea1f
SVN_SILENT fix intendation
...
svn path=/trunk/playground/graphics/okular/; revision=631640
19 years ago
Jiri Klement
1de57323db
Optimalize document loading. Now is used SAX instead of DOM for getting page size which reduced time to load document few times
...
svn path=/trunk/playground/graphics/okular/; revision=631634
19 years ago
Jiri Klement
53122db23d
parseAbbreviatedData has be rewritten, now it supports almost all commands(except arc)
...
svn path=/trunk/playground/graphics/okular/; revision=631602
19 years ago
Brad Hards
8f3336d252
Patch from Jiri Klement, which fixes:
...
1) Loading of obfuscated fonts
2) Segmentation fault when xps document was opened and then another
xps documen was opend.
3) Load font only once, not everytime it's used
Also some white space changes from xemacs.
CCMAIL: jiri.klement@gmail.com
svn path=/trunk/playground/graphics/okular/; revision=630741
19 years ago
Pino Toscano
d8748b118b
SVN_SILENT unused parameter
...
svn path=/trunk/playground/graphics/okular/; revision=630701
19 years ago
Pino Toscano
e158d82848
just #include in the cpp
...
svn path=/trunk/playground/graphics/okular/; revision=630078
19 years ago
Pino Toscano
e31caf8334
bits
...
svn path=/trunk/playground/graphics/okular/; revision=630068
19 years ago
Pino Toscano
e4d66e7cea
unused #include's
...
svn path=/trunk/playground/graphics/okular/; revision=630062
19 years ago
Pino Toscano
6068c76df6
Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now.
...
svn path=/trunk/playground/graphics/okular/; revision=628853
19 years ago
Pino Toscano
763bb521b7
make the loading of images from stdin working
...
svn path=/trunk/playground/graphics/okular/; revision=628833
19 years ago
Pino Toscano
72eea79ccd
Small optimization: as PopplerQt4 currently has the limitation that links can be calculated only after a pixmap generation, then just do it once per page.
...
svn path=/trunk/playground/graphics/okular/; revision=628587
19 years ago
Pino Toscano
fcf7e9aa4e
waiting for a refactory, use or destroy the object rects created in the generation thread
...
svn path=/trunk/playground/graphics/okular/; revision=628577
19 years ago
Albert Astals Cid
4586139282
Adapt to kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=628342
19 years ago
Pino Toscano
d37f6a80ff
no need to include config.h anymore
...
svn path=/trunk/playground/graphics/okular/; revision=628210
19 years ago
Pino Toscano
23d666cf7f
move the DRM skip checks to the Document
...
svn path=/trunk/playground/graphics/okular/; revision=628208
19 years ago
Tobias Koenig
baf1fb2870
Several changes:
...
- renamed signalRequestDone to signalPixmapRequestDone to allow a future signalTextPageRequestDone
- added error/warning/notice signals to TextDocumentConverter and add meaningful error messages
to ooo and fictionbook generator
- code cleanup in chm generator
- print improvements and error notification in kimgio generator
svn path=/trunk/playground/graphics/okular/; revision=628124
19 years ago
Pino Toscano
55dfb87f3f
simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore
...
svn path=/trunk/playground/graphics/okular/; revision=627450
19 years ago
Pino Toscano
59f8fa67e5
ok i was wrong with this...
...
svn path=/trunk/playground/graphics/okular/; revision=627424
19 years ago
Pino Toscano
2db51ef56b
Read information like 'title', 'author', 'editor', 'publisher', 'year' and 'volume' from DjVu documents, and make them visible in the Information dialog.
...
A big Thanks! to liquidat for pointing me in the right place to look for :)
CCMAIL: liquidat <liquidat@gmail.com>
svn path=/trunk/playground/graphics/okular/; revision=627217
19 years ago
Tobias Koenig
d227a94e79
First part of the porting to a threaded api for generators
...
- made comicbook, tiff and kimgio a threaded generator
svn path=/trunk/playground/graphics/okular/; revision=626761
19 years ago
Pino Toscano
f7f9b3df41
create() -> createDevice() as per new kdelibs API
...
svn path=/trunk/playground/graphics/okular/; revision=626372
19 years ago
Pino Toscano
a669609a00
less warnings when compiling with poppler 0.5.x
...
svn path=/trunk/playground/graphics/okular/; revision=626327
19 years ago
Pino Toscano
b7ee07a424
read the page labels from poppler
...
svn path=/trunk/playground/graphics/okular/; revision=626057
19 years ago
Pino Toscano
2479bb7cb5
one more check, and try opening the file as first action
...
svn path=/trunk/playground/graphics/okular/; revision=625705
19 years ago
Pino Toscano
3d989381f9
don't look twice in the hash
...
svn path=/trunk/playground/graphics/okular/; revision=625703
19 years ago
Pino Toscano
d0744fa204
use a feature from v18 only if we have it
...
svn path=/trunk/playground/graphics/okular/; revision=625656
19 years ago
Pino Toscano
f0a80b14fc
Take a bit less time to load a DjVu document: instead of decoding all the pages during the loading to get their info, just decode their status, doing the real page loading when needed (usually when generating their pixmaps).
...
svn path=/trunk/playground/graphics/okular/; revision=625636
19 years ago
Tobias Koenig
e642b97c8c
Make the generator multithreaded
...
svn path=/trunk/playground/graphics/okular/; revision=625262
19 years ago
Tobias Koenig
427325fef2
Don't print over the size of the page
...
svn path=/trunk/playground/graphics/okular/; revision=625254
19 years ago
Tobias Koenig
69557420a7
Add support for document internal links
...
svn path=/trunk/playground/graphics/okular/; revision=624979
19 years ago
Albert Astals Cid
317abde0f9
compile
...
svn path=/trunk/playground/graphics/okular/; revision=624729
19 years ago
Tobias Koenig
deabbae3bf
Say hello to the new ComicBook generator for okular.
...
Information about this format and testfiles can be found at
http://en.wikipedia.org/wiki/CDisplay_RAR_Archived_Comic_Book_File
svn path=/trunk/playground/graphics/okular/; revision=624702
19 years ago
Pino Toscano
169b752433
make it compile properly
...
svn path=/trunk/playground/graphics/okular/; revision=624689
19 years ago
Pino Toscano
4f6666d509
also the page size is a feature, so thread it as such (and remove supportsPageSizes())
...
svn path=/trunk/playground/graphics/okular/; revision=624686
19 years ago
Pino Toscano
a1b0e157c8
release the pointer of a done request
...
svn path=/trunk/playground/graphics/okular/; revision=624662
19 years ago
Pino Toscano
3a4e56015e
no need to recalculate the links for every pixmap request
...
isolate the link+objectrect and annotation conversions into own functions
svn path=/trunk/playground/graphics/okular/; revision=624659
19 years ago
Pino Toscano
135a18b407
get rid of supportsSearching() by using a proper feature
...
svn path=/trunk/playground/graphics/okular/; revision=624587
19 years ago
Pino Toscano
468a0da775
bye bye canGenerateTextPage(), unused nowadays
...
svn path=/trunk/playground/graphics/okular/; revision=624579
19 years ago
Tobias Koenig
ce289e816d
Port OOO generator to TextDocumentGenerator, so it supports text
...
extraction now as well
svn path=/trunk/playground/graphics/okular/; revision=623084
19 years ago
Tobias Koenig
e1ab8660ef
Add new TextDocumentGenerator class, which is a base class for
...
generators which work on a QTextDocument. So all the nasty calculation
for text extraction and link/annotation positions is done by the
generator.
Ported FictionBook generator to it.
svn path=/trunk/playground/graphics/okular/; revision=623071
19 years ago
Pino Toscano
5bd13f7c0e
update the keep status only when really needed
...
svn path=/trunk/playground/graphics/okular/; revision=623026
19 years ago
Albert Astals Cid
c9102c7cfd
Add loadDocumentFromData method to the pdf backend.
...
You need poppler cvs version as of a few seconds ago to make it work
svn path=/trunk/playground/graphics/okular/; revision=622998
19 years ago
Pino Toscano
4f8724b62b
Improve a bit the image generator, even if it's just a toy:
...
- use QImage instead of QPixmap, and save some QPixmap <-> QImage conversions
- make it able to read from raw data (read from stdin) as a simple example of the functionality
svn path=/trunk/playground/graphics/okular/; revision=622775
19 years ago
Pino Toscano
ba36aa3953
fix broken blind porting
...
svn path=/trunk/playground/graphics/okular/; revision=621803
19 years ago
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
19 years ago
Tobias Koenig
53c97a481b
Add generator plugin for the FictionBook format ( http://en.wikipedia.org/wiki/FictionBook ),
...
you can find documents e.g. under http://www.fictionbook.ru
svn path=/trunk/playground/graphics/okular/; revision=620876
19 years ago