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
Pino Toscano
825c725eaf
change the internal KDjVu data storage to an hash of variants
...
svn path=/trunk/playground/graphics/okular/; revision=604173
20 years ago
Pino Toscano
132daba86a
update with some annotation stuff
...
svn path=/trunk/playground/graphics/okular/; revision=604168
20 years ago
Pino Toscano
0c4a081174
Add preliminary support for DjVu Text and Line annotations.
...
This means we can read them almost correctly, but there are some problems with placements and colors.
svn path=/trunk/playground/graphics/okular/; revision=604165
20 years ago
Pino Toscano
a29cbda39e
The DjVu backend can now read hyperlinks whose url is decoded as "(url href target)".
...
svn path=/trunk/playground/graphics/okular/; revision=604073
20 years ago
Pino Toscano
5adbe4c66f
there's no more need for libtool files
...
svn path=/trunk/playground/graphics/okular/; revision=603923
20 years ago
Tobias Koenig
16ca81993f
Applyed patch written by Leandro Emanuel Lopez which adds plain text and
...
pdf export to ooo generator.
CCMAIL:okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=602249
20 years ago
Tobias Koenig
bea71df6e0
* Made image rotation asynchronous
...
* Changed Page API and PagePainter to work only with QImage
svn path=/trunk/playground/graphics/okular/; revision=601581
20 years ago
Albert Astals Cid
e113d48bf3
I need this so that print and print preview of a landscape pdf work
...
wonder why the orientation-request thing does not work anymore
svn path=/trunk/playground/graphics/okular/; revision=601061
20 years ago
Albert Astals Cid
46ac215751
Now that i fixed kdeprint i can ensure that Pino's change was wrong and PageSize is what we want
...
svn path=/trunk/playground/graphics/okular/; revision=600500
20 years ago
Pino Toscano
e43d62afff
old, limited and replaced by the tiff one (was already disabled since some time)
...
svn path=/trunk/playground/graphics/okular/; revision=600116
20 years ago
Pino Toscano
0a2d8a0d65
use Utils::getDpi(X|Y), less header include
...
svn path=/trunk/playground/graphics/okular/; revision=600110
20 years ago
Pino Toscano
1b501cd8d2
add missing copyright statement
...
svn path=/trunk/playground/graphics/okular/; revision=600108
20 years ago
Holger Freyther
569e93b929
oKular: Add method(s) to get the DPI of the primary screen
...
some generators use QX11Info to get the DPI of the display.
Obviously this is not portable, add a getDpi? method to utils
which can be used by generators.
Currently only the DVI converter is converted.
The CMakeLists.txt change assumes that non existing variables
gets expanded to empty strings.
svn path=/trunk/playground/graphics/okular/; revision=600099
20 years ago