Leandro Emanuel López
2fe0e8e958
The if is not needed.
...
svn path=/trunk/playground/graphics/okular/; revision=623040
19 years ago
Pino Toscano
8a7c2ad654
As requested by our usability expert Florian, add a Bookmarks menu with the bookmarks in the current document, if any.
...
svn path=/trunk/playground/graphics/okular/; revision=622995
19 years ago
Pino Toscano
afc18f9d97
Re-add the possibility to toggle a page bookmark quickly (ie with the popup menu).
...
svn path=/trunk/playground/graphics/okular/; revision=622945
19 years ago
Leandro Emanuel López
12862b7f46
Applied indentation. Four spaces, no tabs
...
svn path=/trunk/playground/graphics/okular/; revision=622791
19 years ago
Leandro Emanuel López
21c42d89c7
Don't leak memory
...
svn path=/trunk/playground/graphics/okular/; revision=622789
19 years ago
Leandro Emanuel López
26f4618ae3
Moved the handleCompressed method to part
...
svn path=/trunk/playground/graphics/okular/; revision=622784
19 years ago
Pino Toscano
91b7675c14
configurationWidget() is too generic -> rename to printConfigurationWidget()
...
svn path=/trunk/playground/graphics/okular/; revision=622782
19 years ago
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
19 years ago
Pino Toscano
d156bdf36c
give it a parent so it's automatically deleted and not leaked
...
svn path=/trunk/playground/graphics/okular/; revision=620773
19 years ago
Pino Toscano
439d76c8f8
better icon (and with the RtL version)
...
svn path=/trunk/playground/graphics/okular/; revision=620355
19 years ago
Pino Toscano
91296b627a
SVN_SILENT no more needed
...
svn path=/trunk/playground/graphics/okular/; revision=620159
19 years ago
Pino Toscano
64769a62ce
let the Document forward the BookmarkManager signal
...
svn path=/trunk/playground/graphics/okular/; revision=620158
19 years ago
Pino Toscano
20661ff61e
Add an interface (implemented by the Part) for controlling the really basic document viewer functionalities. This (along with a small refactor in the okular shell) gives the user the possibility to start okular with:
...
-p, --page <page> : to select the startup page
--presentation : to start directly in presentation mode
implementing also KPDF wishes #134115 and #137905 .
svn path=/trunk/playground/graphics/okular/; revision=619681
19 years ago
Pino Toscano
bd14706edb
leak a bit less memory
...
svn path=/trunk/playground/graphics/okular/; revision=619558
19 years ago
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
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
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
475d000763
Improve the way a Generator can configure a printer: add an interface with the advanced printing stuff.
...
The print() method remains in Generator, as it's too basic to be moved in an interface.
svn path=/trunk/playground/graphics/okular/; revision=619033
19 years ago
Tobias Koenig
777877f2d2
Refactor the RMB menu for annotations, so we can use the menu for
...
the PageView and the SideReview.
BUGS: 137722
svn path=/trunk/playground/graphics/okular/; revision=617807
19 years ago
Pino Toscano
b6fdedc810
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=617287
19 years ago
Pino Toscano
539921bdf6
Improving the bookmark capabilities of okular.
...
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.
svn path=/trunk/playground/graphics/okular/; revision=616979
19 years ago
Pino Toscano
112e1237b7
Add support for showing icons in the page view top message.
...
With simplier words: add an 'attach' icon in the message pane that informs about attachments in the current document.
svn path=/trunk/playground/graphics/okular/; revision=616780
19 years ago
Pino Toscano
fd6166e74c
update correctly when the option for toggling the page numbers in the toc is changed
...
svn path=/trunk/playground/graphics/okular/; revision=615815
20 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
Laurent Montel
5cc19d3fdc
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=610745
20 years ago
Pino Toscano
afa2e5a999
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607842
20 years ago
Pino Toscano
5ce4b0674e
Make okular able to copy the text selection to the clipboard (finally!).
...
svn path=/trunk/playground/graphics/okular/; revision=607496
20 years ago
Tobias Koenig
81fb3a383b
Further cleanup of Page API:
...
* getAnnotations() -> annotations()
* setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
* moved as much private API of Page as possible to private class
svn path=/trunk/playground/graphics/okular/; revision=607233
20 years ago
Tobias Koenig
14d6515b16
Changed the enum SearchDir to SearchDirection and use less strange
...
abbreviations for its items.
Replaced the 'bool strictCase' parameter of Page::findText
with 'Qt::CaseSensitivity caseSensitivity' for better readable code.
svn path=/trunk/playground/graphics/okular/; revision=607203
20 years ago
Albert Astals Cid
9099fbecf7
Some krazy fixes
...
svn path=/trunk/playground/graphics/okular/; revision=605992
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
Leandro Emanuel López
c8db3ae9c4
Set the NewStuffDialog window title and when a item is installed one click open the PDF.
...
svn path=/trunk/playground/graphics/okular/; revision=604730
20 years ago
Pino Toscano
e073834781
change the service type of the text-to-speech service, as per recent changes
...
svn path=/trunk/playground/graphics/okular/; revision=604486
20 years ago
Pino Toscano
26ea104ae6
Automatically put the bookmarked pages as page pelection in the print dialog.
...
Implements KPDF wish #117805 .
svn path=/trunk/playground/graphics/okular/; revision=603723
20 years ago
Pino Toscano
6cfdf6bed4
regression: show the popup menu also with no active page, as some actions don't need one
...
svn path=/trunk/playground/graphics/okular/; revision=601520
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
Pino Toscano
6ac2174811
move the configuration update procedures of the page view into the page view itself
...
make the pageview update when changing the number of columns in overview mode
svn path=/trunk/playground/graphics/okular/; revision=599878
20 years ago
Pino Toscano
2fdf837546
fix small errors in the kpdf->okular conversion
...
svn path=/trunk/playground/graphics/okular/; revision=599848
20 years ago
Pino Toscano
8def2109ec
change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility
...
svn path=/trunk/playground/graphics/okular/; revision=599847
20 years ago
Pino Toscano
9a2b938431
Add support for the directive to open the table of contents when opening a document, used in PDFs.
...
svn path=/trunk/playground/graphics/okular/; revision=599835
20 years ago
Pino Toscano
8f633c7c8e
fix library loading
...
svn path=/trunk/playground/graphics/okular/; revision=599132
20 years ago
Tobias Koenig
d22b2f1892
A rather big change:
...
* Hide as much private API as possible in Generator, PixmapRequest and ExportEntry/Format
* Renamed ExportEntry to ExportFormat and made it value based
* Removed canExportToText() and exportToText() from Generator API and implemented this
functionality in exportFormats()/exportTo() in the generators
* Removed the orientation parameter from PixmapRequest and let the Document handle the rotation
of the page (pixmap) instead
CCMAIL:okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=599058
20 years ago
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
20 years ago
Pino Toscano
5f28d1163f
make a pair of actions name and label more close to the others
...
remove unused (duplicated) action
svn path=/trunk/playground/graphics/okular/; revision=598165
20 years ago
Pino Toscano
d37a58ec71
show something as caption for the presentation mode; show always the file name instead of the full url when in both the part and presentation mode there is no document title available
...
svn path=/trunk/playground/graphics/okular/; revision=597895
20 years ago
Pino Toscano
ed84916c0d
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=597875
20 years ago
Pino Toscano
e7bbe08957
trying to port to KTemporaryFile where possible, and still rely on K3TempFile where it needs more work
...
svn path=/trunk/playground/graphics/okular/; revision=596083
20 years ago
Albert Astals Cid
5143cd2512
Report page size
...
It's only reported in case it makes sense for the format
Only implemented for pdf atm
If all pages have the same size it's reported on document properties
else there's a label shown in the new bottom bar with the size of the current page
svn path=/trunk/playground/graphics/okular/; revision=595822
20 years ago