Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Pino Toscano
652787611d
make it build with the new kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=619217
19 years ago
Tobias Koenig
86a1fd3b69
Big cleanup of Document API and documentation:
...
* add full API docs
* renamed getMetaData -> metaData
* removed supportsRotation in Document and Generator
* moved Permission and SearchDirection enums into separated header core/global.h
svn path=/trunk/playground/graphics/okular/; revision=619183
19 years ago
Tobias Koenig
2aa8a4c31b
Moved SourceReference into its own file
...
svn path=/trunk/playground/graphics/okular/; revision=619076
19 years ago
Pino Toscano
915a48eb4d
move the Generator configuration stuff into a new ConfigInterface
...
svn path=/trunk/playground/graphics/okular/; revision=619061
19 years ago
Pino Toscano
d9a844d67c
move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names.
...
svn path=/trunk/playground/graphics/okular/; revision=619044
19 years ago
Pino Toscano
69cdc31727
SVN_SILENT unused parameters
...
svn path=/trunk/playground/graphics/okular/; revision=618233
19 years ago
Pino Toscano
5083655c11
Implement the page duration in presentation mode, and read the info from PDF documents.
...
svn path=/trunk/playground/graphics/okular/; revision=618136
19 years ago
Tobias Koenig
4fe8bdce53
Fixed free text selection for rotated pages
...
svn path=/trunk/playground/graphics/okular/; revision=617621
19 years ago
Albert Astals Cid
486095425b
Master pino wants me to commit this
...
svn path=/trunk/playground/graphics/okular/; revision=617564
19 years ago
Pino Toscano
94c9ffa3d7
do not explicitely include document.h in generator.h
...
svn path=/trunk/playground/graphics/okular/; revision=617283
19 years ago
Pino Toscano
0594e78bdc
make it compile correctly everywhere
...
svn path=/trunk/playground/graphics/okular/; revision=616997
19 years ago
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
19 years ago
Pino Toscano
b7328d7234
add an handy DocumentViewport::isValid() and use it where possible instead of doing checks manually
...
svn path=/trunk/playground/graphics/okular/; revision=616667
19 years ago
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
20 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
20 years ago
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
20 years ago
Tobias Koenig
a9f58440df
First large commit for the Annotation API cleanup
...
* Moved all public member variables of Annotation to private
and add accessors
* Renamed RevScope and RevType to RevisionScope and RevisionType
* Add API documentation (@pino , please review)
svn path=/trunk/playground/graphics/okular/; revision=610749
20 years ago
Tobias Koenig
0166264223
Add patch written by Leandro Emanuel Lopez which adds master-page-support
...
svn path=/trunk/playground/graphics/okular/; revision=610404
20 years ago
Tobias Koenig
d276fc4aa1
Add support for annotations
...
@Pino : Can you write a big, green 'Yes' on the website, please? :)
svn path=/trunk/playground/graphics/okular/; revision=609168
20 years ago
Tobias Koenig
57139e3192
API cleanup (utils.h), renamed getDpiX -> dpiX() and getDpiY -> dpiY()
...
svn path=/trunk/playground/graphics/okular/; revision=608236
20 years ago
Tobias Koenig
9969547b0c
* observer API cleanup
...
* removed NotifyRequest, that looked more like a hack than a solution
(see comment in ghostscript generator)
svn path=/trunk/playground/graphics/okular/; revision=608235
20 years ago
Tobias Koenig
d45d7b31b1
Performance improvement: parse content dom only once
...
svn path=/trunk/playground/graphics/okular/; revision=608234
20 years ago
Pino Toscano
afa2e5a999
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607842
20 years ago
Tobias Koenig
a7b04cb92b
Replaced
...
Page::setSearchPage( TextPage* );
Page::hasSearchPage();
with
Page::setTextPage( TextPage* );
Page::hasTextPage();
to make the API clearer. The TextPage is not only used for
searching but also for extracting selected text, so the term
'search' is confusing...
svn path=/trunk/playground/graphics/okular/; revision=607195
20 years ago
Tobias Koenig
47636c5ae0
Improved support for href links, the calculation of the bounding
...
rect is correct now.
svn path=/trunk/playground/graphics/okular/; revision=607189
20 years ago
Pino Toscano
5c0de8b638
Add printing support for DjVu files. (It is also PostScript exporting, as you can print to file to get a PS document.)
...
svn path=/trunk/playground/graphics/okular/; revision=606585
20 years ago
Pino Toscano
aeab3273cf
don't keep pointers to requests done that have been deleted
...
svn path=/trunk/playground/graphics/okular/; revision=606532
20 years ago
Pino Toscano
2a87f65ad4
fix sillyness
...
svn path=/trunk/playground/graphics/okular/; revision=606531
20 years ago
Tobias Koenig
76ea6f6564
The generator has to reswap the page height and width to create a pixmap
...
width default orientation
svn path=/trunk/playground/graphics/okular/; revision=606530
20 years ago
Pino Toscano
a0d0f637cf
try to keep compatibility with poppler 0.5.x
...
svn path=/trunk/playground/graphics/okular/; revision=606385
20 years ago
Pino Toscano
318c381780
adapt to the recent core API changes
...
svn path=/trunk/playground/graphics/okular/; revision=606384
20 years ago
Tobias Koenig
a490cc0cd7
Add the following functionality:
...
* Bring QPixmap* back to make Albert happy ;)
* Store only one QPixmap per page/size and rotate it directly
* Rotate ObjectRects (boundary)
* Rotate Annotations (point coordinates)
* Don't reload pixmaps, ObjectRects and annotations on rotation
svn path=/trunk/playground/graphics/okular/; revision=606371
20 years ago
Albert Astals Cid
24651d3743
delete m_file when closing the documetn
...
svn path=/trunk/playground/graphics/okular/; revision=605995
20 years ago
Pino Toscano
732b6e9c6e
use the return value of kprinter
...
svn path=/trunk/playground/graphics/okular/; revision=605939
20 years ago
Albert Astals Cid
a0a387b121
Fordward port kpdf changes about printing margins, a poppler from 1 minute ago is needed
...
svn path=/trunk/playground/graphics/okular/; revision=605937
20 years ago
Pino Toscano
d40ea02787
Read almost completely the pdfsync information for a PDF, if available.
...
Unfortunately, I have no source file for the pdfsync files I have, so maybe there could be some problems.
Feedback is welcome.
svn path=/trunk/playground/graphics/okular/; revision=605905
20 years ago
Pino Toscano
274469dae8
Almost complete support for inverse search within okular.
...
THe system generally works; what is missing is a good activating strategy (added in TODO - our usability expert is working on that), and a GUI to configure the editor.
The DVI backend was adapted to use this new feature.
(The PDF backend will use it soon.)
svn path=/trunk/playground/graphics/okular/; revision=605708
20 years ago
Albert Astals Cid
0266470364
*** applying this patch ***
...
trunk/KDE/kdegraphics/kghostview/dscparse.cpp
SVN commit 605597 by mueller:
- fix off-by-one issue during parsing certain ps files
svn path=/trunk/playground/graphics/okular/; revision=605672
20 years ago
Tobias Koenig
eba7da2a4a
Prevent crash if fileName is empty
...
svn path=/trunk/playground/graphics/okular/; revision=605630
20 years ago
Tobias Koenig
6c53e576b6
Add support for printing of TIFF documents
...
svn path=/trunk/playground/graphics/okular/; revision=605625
20 years ago
Tobias Koenig
07167f1e24
SVN_SILENT code cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=605624
20 years ago
Pino Toscano
4f305424bc
read the annotations only once, ie when loading the pages
...
svn path=/trunk/playground/graphics/okular/; revision=605455
20 years ago
Pino Toscano
0d7f4d49d2
adapt to the recent poppler-qt4 changes, and maintain the compatibility with poppler 0.5.x
...
svn path=/trunk/playground/graphics/okular/; revision=605210
20 years ago
Pino Toscano
673fe63610
generate an uid for the djvu annotations
...
svn path=/trunk/playground/graphics/okular/; revision=604290
20 years ago
Pino Toscano
9a232e9d88
SVN_SILENT typo
...
svn path=/trunk/playground/graphics/okular/; revision=604211
20 years ago
Pino Toscano
de6d8eaf1d
update
...
svn path=/trunk/playground/graphics/okular/; revision=604210
20 years ago
Pino Toscano
5731b36fe5
the text is needed in this field, too, for the moment
...
svn path=/trunk/playground/graphics/okular/; revision=604209
20 years ago
Pino Toscano
cb414fbf1d
remember, pino, remember: djvu coordinates refer to the lower-left corner of a page.
...
fix the coordinate loading for the annotations
svn path=/trunk/playground/graphics/okular/; revision=604204
20 years ago
Pino Toscano
28c63b44e8
read the 'width' info for lines
...
svn path=/trunk/playground/graphics/okular/; revision=604196
20 years ago