- handle relative file names in source reference links correctly
- read correctly the destination file name for non-grouped items in pdfsync links
- add functions to get the nearest object rect to a point in a page, and return its distance, and the accessor functions for object rects
- improve the source reference picking by looking for the nearest object in case there's none right under the mouse
- use -1 to indicate an unspecified coordinate now (in dvi links)
svn path=/branches/KDE/4.2/kdegraphics/okular/; revision=943106
into pdf format and save that. Only enabled in PDF, DVI, and DJVU generators
if ps2pdf is found in the path. Ghostscript is almost always guaranteed to
be installed given many parts of the printing stack depends on it.
Note that resulting PDF or PS file will have the page size as set in the print
dialog and not the page size of the original document, i.e. if an A5 booklet
is printed but the dialog page size is set to A4 then the resulting file will
be A4 and not A5.
svn path=/trunk/KDE/kdegraphics/okular/; revision=897000
(Unfortunately, this requires the master version from Poppler's GIT repository, to be released hopefully today as 0.8RC1.)
BUG: 158517
svn path=/trunk/KDE/kdegraphics/okular/; revision=784735
Enable the support for them only if the poppler version is recent enough (atm, git master of around 9 hours ago).
svn path=/trunk/KDE/kdegraphics/okular/; revision=773549
This requires a generator to have a
MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.
Remove the 'lib' prefix from plugins, unneeded now.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
printing ability
Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.
svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
I remember all the maintainers to fill them only after the KDE 4.0 unfreeze :)
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=741068
*** Note this is not a complete port, most of the generators use the
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution. At least it removes
the dependency so we can remove from kdelibs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=723046