Commit graph

3125 commits

Author SHA1 Message Date
Pino Toscano
beb8b93787 bump version to 0.5.82
svn path=/trunk/playground/graphics/okular/; revision=634987
2007-02-18 23:45:16 +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
Pino Toscano
1161debb9c i18n change: the plural forms are with %1, %2, etc now, %n is no more
svn path=/trunk/playground/graphics/okular/; revision=633277
2007-02-13 17:45:54 +00:00
Jiri Klement
065287322a Share fonts in whole xpsfile (not only xpspage)
svn path=/trunk/playground/graphics/okular/; revision=633189
2007-02-13 13:26:37 +00:00
Jiri Klement
1c545fb8cb Text extraction support
svn path=/trunk/playground/graphics/okular/; revision=633154
2007-02-13 11:13:35 +00:00
Pino Toscano
ed3b44ad38 missing #include
svn path=/trunk/playground/graphics/okular/; revision=632935
2007-02-12 18:13:44 +00:00
Pino Toscano
7e4b9d2170 a small copy&paste error that broke the Google-any search
svn path=/trunk/playground/graphics/okular/; revision=632854
2007-02-12 14:19:31 +00:00
Pino Toscano
1d27a90fd3 a slightly better usage of the Qt containers, saving also some lookups when using the QMap's
svn path=/trunk/playground/graphics/okular/; revision=632853
2007-02-12 14:15:51 +00:00
Jiri Klement
4ea8794f52 ImageBrush rendering element: support for Viewbox, Viewport, Transform
svn path=/trunk/playground/graphics/okular/; revision=632844
2007-02-12 13:31:16 +00:00
Pino Toscano
90f1a9f5be properly use of loadDocument()/closeDocument()
svn path=/trunk/playground/graphics/okular/; revision=632333
2007-02-10 17:47:44 +00:00
Jiri Klement
c8adc05145 Fix font size
svn path=/trunk/playground/graphics/okular/; revision=632330
2007-02-10 17:41:11 +00:00
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
2007-02-10 17:31:25 +00:00
Dirk Mueller
e24f08a75f remove misplaced ';'
svn path=/trunk/playground/graphics/okular/; revision=631926
2007-02-09 14:53:26 +00:00
Jiri Klement
411bf7d873 Fix separation of graphics elements (settings for path could affect glyphs)
svn path=/trunk/playground/graphics/okular/; revision=631815
2007-02-09 08:22:06 +00:00
Jiri Klement
55d67b9034 Fix memory leaks
svn path=/trunk/playground/graphics/okular/; revision=631812
2007-02-09 08:11:47 +00:00
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
2007-02-08 18:09:15 +00:00
Jiri Klement
74e912ea1f SVN_SILENT fix intendation
svn path=/trunk/playground/graphics/okular/; revision=631640
2007-02-08 16:41:53 +00:00
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
2007-02-08 16:20:55 +00:00
Jiri Klement
53122db23d parseAbbreviatedData has be rewritten, now it supports almost all commands(except arc)
svn path=/trunk/playground/graphics/okular/; revision=631602
2007-02-08 15:07:54 +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
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
2007-02-06 07:07:23 +00:00
Pino Toscano
d8748b118b SVN_SILENT unused parameter
svn path=/trunk/playground/graphics/okular/; revision=630701
2007-02-06 00:54:48 +00:00
Pino Toscano
47dad5cac7 compile with the latest kdelibs
svn path=/trunk/playground/graphics/okular/; revision=630700
2007-02-06 00:53:24 +00:00
Pino Toscano
e9bcc53bc1 a pair of "cleanups" when deleting a Document
svn path=/trunk/playground/graphics/okular/; revision=630505
2007-02-05 15:54:19 +00:00
Pino Toscano
3b062a8b6f In presentation mode, stop all the sound playbacks when switching page and when closing the presentation.
svn path=/trunk/playground/graphics/okular/; revision=630501
2007-02-05 15:27:11 +00:00
Pino Toscano
355645922b Make the playback of repeating sounds working (hopefully).
Add a way to stop all the playbacks of the AudioPlayer.

svn path=/trunk/playground/graphics/okular/; revision=630500
2007-02-05 15:26:05 +00:00
Pino Toscano
ca2a0e194d SVN_SILENT spell check
svn path=/trunk/playground/graphics/okular/; revision=630468
2007-02-05 13:50:36 +00:00
Pino Toscano
770079b736 SVN_SILENT forgot this one
svn path=/trunk/playground/graphics/okular/; revision=630429
2007-02-05 12:05:20 +00:00
Pino Toscano
1752a95053 SVN_SILENT PlayInfo -> PlayData
svn path=/trunk/playground/graphics/okular/; revision=630428
2007-02-05 12:02:53 +00:00
Pino Toscano
ad1d23cc26 Honor the 'mix' flag in sounds, stopping the playing sounds if necessary.
svn path=/trunk/playground/graphics/okular/; revision=630424
2007-02-05 11:50:07 +00:00
Pino Toscano
1e7cb0b2eb First version of an audio player for okular, able to play the sounds in the documents.
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.

svn path=/trunk/playground/graphics/okular/; revision=630315
2007-02-05 00:49:40 +00:00
Pino Toscano
e158d82848 just #include in the cpp
svn path=/trunk/playground/graphics/okular/; revision=630078
2007-02-04 12:15:02 +00:00
Pino Toscano
e31caf8334 bits
svn path=/trunk/playground/graphics/okular/; revision=630068
2007-02-04 11:47:41 +00:00
Pino Toscano
e4d66e7cea unused #include's
svn path=/trunk/playground/graphics/okular/; revision=630062
2007-02-04 11:32:23 +00:00
Albert Astals Cid
1587b9605a unnecessary but fun small optimizations, basically avoid unnecessary detach() calls by ensuring the const method is called
also remove a double search on a qmap

svn path=/trunk/playground/graphics/okular/; revision=629869
2007-02-03 23:09:40 +00:00
Pino Toscano
0a40c2ad0f double the width of the prev/next page buttons
svn path=/trunk/playground/graphics/okular/; revision=629217
2007-02-01 23:54:41 +00:00
Pino Toscano
37b5d0f3cc handy method
svn path=/trunk/playground/graphics/okular/; revision=629174
2007-02-01 18:31:45 +00:00
Tobias Koenig
0847edc4b7 Add a second parameter to requestTextPage/generateTextPage where you can
specify whether the request should be synchronous or asynchronous

svn path=/trunk/playground/graphics/okular/; revision=628893
2007-01-31 21:10:00 +00:00
Albert Astals Cid
d16343f677 Fordwardport r628869
Fix Keyboard navigation in kpdf in konq only possible after focusing it with the mouse after changing tab
BUGS: 136702

svn path=/trunk/playground/graphics/okular/; revision=628870
2007-01-31 19:23:12 +00:00
Pino Toscano
ef55f74682 lazy creation of the generation threads within Generator, so generators that don't make use of the builtin thread don't create a pair of unused threads
svn path=/trunk/playground/graphics/okular/; revision=628860
2007-01-31 18:50:31 +00:00
Pino Toscano
92ea1bba69 Last step of the ThreadedGenerator -> Generator merge: remove the old files and rename the used file.
svn path=/trunk/playground/graphics/okular/; revision=628856
2007-01-31 18:41:21 +00:00
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
2007-01-31 18:31:19 +00:00
Pino Toscano
763bb521b7 make the loading of images from stdin working
svn path=/trunk/playground/graphics/okular/; revision=628833
2007-01-31 17:09:06 +00:00
Pino Toscano
dd6ddee116 tokoe does not know that Page::text() and TextPage::text() have different functions ;)
fixing a crash when getting the whole text of a page

svn path=/trunk/playground/graphics/okular/; revision=628802
2007-01-31 14:29:28 +00:00
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
2007-01-30 13:57:11 +00:00
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
2007-01-30 12:50:45 +00:00