Commit graph

3144 commits

Author SHA1 Message Date
Pino Toscano
9ccf6d520d adapt the icon names to the icon naming spec
svn path=/trunk/playground/graphics/okular/; revision=640710
2007-03-08 21:41:46 +00:00
Brad Hards
81a132092f Switch to using QXmlStreamReader (from Qt4.3) for
parsing. There is more of this to be done.

Also, use a debug area for the XPS generator.

svn path=/trunk/playground/graphics/okular/; revision=640442
2007-03-08 03:11:04 +00:00
Pino Toscano
fd7434c95a Add support for custom generator about data (and potentially for custom configuration).
svn path=/trunk/playground/graphics/okular/; revision=640348
2007-03-07 18:15:00 +00:00
Script Kiddy
9c27194383 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/graphics/okular/; revision=640317
2007-03-07 16:49:37 +00:00
Brad Hards
2610ad9755 temporarily disable XPS generator for Qt4.2 and
earlier. I'm switching to using a new XML parser
that is only going live in Qt4.3.

svn path=/trunk/playground/graphics/okular/; revision=639934
2007-03-06 10:25:42 +00:00
Pino Toscano
c8328a6553 Set a title for the KDE Printing Job.
svn path=/trunk/playground/graphics/okular/; revision=639359
2007-03-04 23:19:43 +00:00
Tobias Koenig
da204fd4b8 Match the forms exactly into the surrounding frame
svn path=/trunk/playground/graphics/okular/; revision=638384
2007-03-01 19:34:06 +00:00
Tobias Koenig
1a0cd8acbd SVN_SILENT help debugging
svn path=/trunk/playground/graphics/okular/; revision=637697
2007-02-27 12:56:16 +00:00
Pino Toscano
a5f6538d43 avoid the jumping of the pageview to the next (hidden) focus form widget when hiding them
svn path=/trunk/playground/graphics/okular/; revision=637148
2007-02-25 14:59:26 +00:00
Pino Toscano
1ea8792482 Restore compatibility with Poppler 0.5.x.
svn path=/trunk/playground/graphics/okular/; revision=637077
2007-02-25 10:55:06 +00:00
Pino Toscano
db8a10dc2c Preliminary supports for text and choice form fields.
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)

svn path=/trunk/playground/graphics/okular/; revision=637001
2007-02-25 00:07:59 +00:00
Pino Toscano
252de94b21 improve a bit the PageViewTopMessage api, in preparation of new future usage
svn path=/trunk/playground/graphics/okular/; revision=636493
2007-02-23 10:54:30 +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
Tobias Koenig
e950a357d9 Make it compile with current SVN trunk
svn path=/trunk/playground/graphics/okular/; revision=635664
2007-02-20 15:25:05 +00:00
Brad Hards
b6a3ab9a2c Fix a couple of crash bugs.
There was a problem with documents that have Story,
but no synopsis (TOC). There was also a double delete
problem - crash on exit or load of a second doc.

Also add in support for "Category" metadata.

svn path=/trunk/playground/graphics/okular/; revision=635540
2007-02-20 09:29:32 +00:00
Tobias Koenig
68e1c81b9a * Fixed the loading of chm documents (avoids crashes)
* Improved performance by creating text page/object rects only on first generatePixmap call
* Code cleanup

svn path=/trunk/playground/graphics/okular/; revision=635240
2007-02-19 14:58:08 +00:00
Tobias Koenig
f6db3a7408 Replaced the kapp->processEvents magic by a clean nested QEventLoop
svn path=/trunk/playground/graphics/okular/; revision=635219
2007-02-19 13:23:59 +00:00
Brad Hards
642a841840 Add document synopsis for XPS.
I don't have a lot of documents that actually have a document
structure - it is optional in XPS. In fact, I did this code on just
one file - the XPS 1.0 spec itself.

CCMAIL: jiri.klement@gmail.com

svn path=/trunk/playground/graphics/okular/; revision=635167
2007-02-19 10:43:40 +00:00
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