Albert Astals Cid
f67a7f00a6
chm generator no longer needs qt3support
...
svn path=/trunk/playground/graphics/okular/; revision=588870
20 years ago
Brad Hards
0776034e3b
Implement a bit more of the XPS specification - some
...
basic matrix transformations now work.
Also do a bit of refactoring - see if painting on a QImage
is any faster than painting on a QPixmap. Also move some
of the convenience routines into member functions, so that
they can correctly implement stuff like fill modes.
svn path=/trunk/playground/graphics/okular/; revision=588580
20 years ago
Brad Hards
3298fc16a7
Fix serious bug that prevented us getting at the fonts we've loaded.
...
Also correct a compile warning.
svn path=/trunk/playground/graphics/okular/; revision=587490
20 years ago
Brad Hards
4b68351612
An initial commit of pixmap rendering. This is very ugly code,
...
but it does work a bit (well, except for the font loading:
http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=130976
is a bad problem)
svn path=/trunk/playground/graphics/okular/; revision=587041
20 years ago
Pino Toscano
aafd2b684e
more KPDF -> okular renaming in comments, include guards and READMEs
...
svn path=/trunk/playground/graphics/okular/; revision=587000
20 years ago
Pino Toscano
41000f2cd8
remove stuff that won't be used, as gv doesn't provide text extraction
...
svn path=/trunk/playground/graphics/okular/; revision=586998
20 years ago
Pino Toscano
8e847ccd78
adapt to the new Okular namespace for the classes in core/
...
svn path=/trunk/playground/graphics/okular/; revision=586997
20 years ago
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
20 years ago
Tobias Koenig
7f8f7b4d0e
* Add initial version of link support
...
* Improved rendering of tables
* Refactoring
svn path=/trunk/playground/graphics/okular/; revision=586706
20 years ago
Albert Astals Cid
8beff183b9
add desktop files indicating libokular provides a part for those mimetypes
...
svn path=/trunk/playground/graphics/okular/; revision=586466
20 years ago
Dirk Mueller
89bacb77bb
compile++
...
svn path=/trunk/playground/graphics/okular/; revision=586265
20 years ago
Tobias Koenig
265c541925
Prevent endless-loops
...
svn path=/trunk/playground/graphics/okular/; revision=586047
20 years ago
Tobias Koenig
21b3dc4263
* reimplemented table of contents parsing in a faster way (thanks to tronical!)
...
svn path=/trunk/playground/graphics/okular/; revision=586039
20 years ago
Tobias Koenig
e21d2af66a
* Add support for TableOfContents
...
* Add basic table rendering
svn path=/trunk/playground/graphics/okular/; revision=585990
20 years ago
Pino Toscano
a8c90e618b
fix compilation
...
svn path=/trunk/playground/graphics/okular/; revision=585743
20 years ago
Urs Wolfer
656a7c403a
Port KProgressBar's to QProgressBar's.
...
svn path=/trunk/playground/graphics/okular/; revision=585741
20 years ago
Tobias Koenig
c4ace82830
Don't stop loading if document contains no Pictures directory...
...
svn path=/trunk/playground/graphics/okular/; revision=585227
20 years ago
Tobias Koenig
dd5b91ca40
* Add support for style families (text looks much more consistent now)
...
* Add support for images
* Add support for spaces and tabs
svn path=/trunk/playground/graphics/okular/; revision=585220
20 years ago
Tobias Koenig
8518b9e17b
* Add basic support for enumerations
...
* Fixed page margins
svn path=/trunk/playground/graphics/okular/; revision=585178
20 years ago
Tobias Koenig
30aed9edb0
- borrowed code from KOffice to convert units correctly
...
- split styles into text and block styles to apply them seperated
- add support for 'h' (header) tag
svn path=/trunk/playground/graphics/okular/; revision=584818
20 years ago
Pino Toscano
702f234c2a
enable the OpenDocument generator
...
svn path=/trunk/playground/graphics/okular/; revision=583825
20 years ago
Tobias Koenig
b3c4359d60
Initial version of generator for OpenDocument(Text) documents.
...
It renders just text atm, but also provides support for meta data,
printing and rotation.
svn path=/trunk/playground/graphics/okular/; revision=583769
20 years ago
Brad Hards
602c41f5dd
It looks like Microsoft must have at least two
...
completely different code bases for generation of
XPS files.
In any case, we now handle FixedPage files where
the path provided is relative to the FixedDocument,
not an absolute path.
This allows us to load XPS samples from the
Office2007 set.
svn path=/trunk/playground/graphics/okular/; revision=583440
20 years ago
Pino Toscano
467e507fe8
add the QT3_SUPPORT definition where needed
...
svn path=/trunk/playground/graphics/okular/; revision=583408
20 years ago
Pino Toscano
33bc345d4e
no more QT3_SUPPORT here
...
svn path=/trunk/playground/graphics/okular/; revision=583406
20 years ago
Pino Toscano
c01b769e29
make it compile
...
svn path=/trunk/playground/graphics/okular/; revision=583209
20 years ago
Brad Hards
a212a92780
Try harder not to crash.
...
svn path=/trunk/playground/graphics/okular/; revision=583018
20 years ago
Brad Hards
7c8ecc36bd
Add in very rough first version of the XML paper
...
specification renderer.
This doesn't work yet. And it crashes a lot. You
can help!
If you want to test this, a search for
"xps sample documents" will give you a sample set that
you can unzip.
svn path=/trunk/playground/graphics/okular/; revision=583014
20 years ago
Pino Toscano
46b5ad5e48
'Contents' has lines separated by \r, so converting them to \n should help
...
svn path=/trunk/playground/graphics/okular/; revision=582650
20 years ago
Pino Toscano
f311b04ed3
reactivate the Annotation's loading
...
svn path=/trunk/playground/graphics/okular/; revision=582610
20 years ago
Stephan Kulow
9b1e475759
avoid crash even if commented :)
...
svn path=/trunk/playground/graphics/okular/; revision=582481
20 years ago
Pino Toscano
5ee6d32f1b
clean up a bit by removing some stuff we probably won't ever use
...
svn path=/trunk/playground/graphics/okular/; revision=582099
20 years ago
Dirk Mueller
2658e75c7d
fix memory / fd leak (CID 2672)
...
svn path=/trunk/playground/graphics/okular/; revision=580849
20 years ago
Dirk Mueller
64ef532f4d
make it crash rather than use uninitialized memory
...
svn path=/trunk/playground/graphics/okular/; revision=580813
20 years ago
Dirk Mueller
5b69bb6ccb
fix rather artificial memory leak (CID 2684)
...
svn path=/trunk/playground/graphics/okular/; revision=580807
20 years ago
Tobias Koenig
90140c1479
warnings--
...
svn path=/trunk/playground/graphics/okular/; revision=578892
20 years ago
Albert Astals Cid
760fdbcadb
makeItBuild
...
svn path=/trunk/playground/graphics/okular/; revision=578661
20 years ago
Laurent Montel
5bf047f728
Clean up
...
Remove not bnecessary files
svn path=/trunk/playground/graphics/okular/; revision=573208
20 years ago
Laurent Montel
8613479305
Fix install icons with new kde4macro
...
svn path=/trunk/playground/graphics/okular/; revision=573205
20 years ago
Chu Xiaodong
e6078e98c3
call Annotation context menu any time(implemented in pageview.cpp)
...
svn path=/trunk/playground/graphics/okular/; revision=571653
20 years ago
Pino Toscano
fb6409e8fd
properly creating the text rects (inverting top and bottom is not a good idea...)
...
svn path=/trunk/playground/graphics/okular/; revision=570601
20 years ago
Pino Toscano
7ba0c4df3a
Show the title of the current document - if available - as title of the main window, as requested in comments of KPDF bug #103362 .
...
Adapted the poppler(pdf) and the chm generators to return the title of the current document.
svn path=/trunk/playground/graphics/okular/; revision=568059
20 years ago
Albert Astals Cid
d261d27274
reverting some sabotage done by montel ;-)
...
svn path=/trunk/playground/graphics/okular/; revision=566296
20 years ago
Laurent Montel
3d62f697b2
Clean up
...
svn path=/trunk/playground/graphics/okular/; revision=566117
20 years ago
Pino Toscano
e147f53ab7
make sure to really close the djvu document
...
svn path=/trunk/playground/graphics/okular/; revision=564677
20 years ago
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
20 years ago
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
20 years ago
Pino Toscano
9b55ffedd4
better check case-insensitively here
...
svn path=/trunk/playground/graphics/okular/; revision=561957
20 years ago
Pino Toscano
38593f718c
delete a Link if an ObjectRect is not created; less deferences
...
svn path=/trunk/playground/graphics/okular/; revision=561949
20 years ago
Pino Toscano
2d64d446d7
Read correctly the 'poly' links for DjVu documents.
...
svn path=/trunk/playground/graphics/okular/; revision=561918
20 years ago