Albert Astals Cid
55a67a082e
Each plugin installs a application desktop so that the supported mimetypes are exactly the ones supported by the plugins installed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=651194
19 years ago
Albert Astals Cid
5365f79d6d
fordwardport r648173 kpdf/branches/KDE/3.5/kdegraphics/kpdf/ (4 files in 3 dirs):
...
Give KMessageBoxes a parent widget.
DVI plugin is missing 4 messageboxes, some work has to be done to get them know the document() so they can call widget()
svn path=/trunk/playground/graphics/okular/; revision=648175
19 years ago
David Faure
06d18ea3cc
Make it possible to compile all of playground in one go (but also still to compile it like before, of course).
...
-> CMAKE_SOURCE_DIR replaced with CMAKE_CURRENT_SOURCE_DIR.
Remove module-wide config.h files, unused yet, but better remove the temptation.
svn path=/trunk/playground/graphics/okular/; revision=647336
19 years ago
Pino Toscano
f18845576b
add the permission to fill forms
...
svn path=/trunk/playground/graphics/okular/; revision=643462
19 years ago
Pino Toscano
88006a575b
extract the messages of each generator into an own pot: this way it's easier to translate a single backend (or provide the translation for a custom one), but as drawback some strings are repeated in more than one pot
...
svn path=/trunk/playground/graphics/okular/; revision=641620
19 years ago
Pino Toscano
1bfc805a3e
it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time
...
svn path=/trunk/playground/graphics/okular/; revision=641341
19 years ago
Pino Toscano
3507d4e68f
use the new Okular::ExportFormat::plainText()
...
svn path=/trunk/playground/graphics/okular/; revision=641321
19 years ago
Pino Toscano
1ea8792482
Restore compatibility with Poppler 0.5.x.
...
svn path=/trunk/playground/graphics/okular/; revision=637077
19 years ago
Pino Toscano
db8a10dc2c
Preliminary supports for text and choice form fields.
...
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)
svn path=/trunk/playground/graphics/okular/; revision=637001
19 years ago
Pino Toscano
e158d82848
just #include in the cpp
...
svn path=/trunk/playground/graphics/okular/; revision=630078
19 years ago
Pino Toscano
e4d66e7cea
unused #include's
...
svn path=/trunk/playground/graphics/okular/; revision=630062
19 years ago
Pino Toscano
6068c76df6
Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now.
...
svn path=/trunk/playground/graphics/okular/; revision=628853
19 years ago
Pino Toscano
72eea79ccd
Small optimization: as PopplerQt4 currently has the limitation that links can be calculated only after a pixmap generation, then just do it once per page.
...
svn path=/trunk/playground/graphics/okular/; revision=628587
19 years ago
Pino Toscano
fcf7e9aa4e
waiting for a refactory, use or destroy the object rects created in the generation thread
...
svn path=/trunk/playground/graphics/okular/; revision=628577
19 years ago
Pino Toscano
d37f6a80ff
no need to include config.h anymore
...
svn path=/trunk/playground/graphics/okular/; revision=628210
19 years ago
Pino Toscano
23d666cf7f
move the DRM skip checks to the Document
...
svn path=/trunk/playground/graphics/okular/; revision=628208
19 years ago
Tobias Koenig
baf1fb2870
Several changes:
...
- renamed signalRequestDone to signalPixmapRequestDone to allow a future signalTextPageRequestDone
- added error/warning/notice signals to TextDocumentConverter and add meaningful error messages
to ooo and fictionbook generator
- code cleanup in chm generator
- print improvements and error notification in kimgio generator
svn path=/trunk/playground/graphics/okular/; revision=628124
19 years ago
Pino Toscano
55dfb87f3f
simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore
...
svn path=/trunk/playground/graphics/okular/; revision=627450
19 years ago
Tobias Koenig
d227a94e79
First part of the porting to a threaded api for generators
...
- made comicbook, tiff and kimgio a threaded generator
svn path=/trunk/playground/graphics/okular/; revision=626761
19 years ago
Pino Toscano
a669609a00
less warnings when compiling with poppler 0.5.x
...
svn path=/trunk/playground/graphics/okular/; revision=626327
19 years ago
Pino Toscano
b7ee07a424
read the page labels from poppler
...
svn path=/trunk/playground/graphics/okular/; revision=626057
19 years ago
Pino Toscano
135a18b407
get rid of supportsSearching() by using a proper feature
...
svn path=/trunk/playground/graphics/okular/; revision=624587
19 years ago
Pino Toscano
468a0da775
bye bye canGenerateTextPage(), unused nowadays
...
svn path=/trunk/playground/graphics/okular/; revision=624579
19 years ago
Pino Toscano
5bd13f7c0e
update the keep status only when really needed
...
svn path=/trunk/playground/graphics/okular/; revision=623026
19 years ago
Albert Astals Cid
c9102c7cfd
Add loadDocumentFromData method to the pdf backend.
...
You need poppler cvs version as of a few seconds ago to make it work
svn path=/trunk/playground/graphics/okular/; revision=622998
19 years ago
Pino Toscano
ba36aa3953
fix broken blind porting
...
svn path=/trunk/playground/graphics/okular/; revision=621803
19 years ago
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
19 years ago
Pino Toscano
5636ac551f
don't leak memory when loading page actions from poppler, and sound objects
...
svn path=/trunk/playground/graphics/okular/; revision=620533
19 years ago
Pino Toscano
4b922367e2
Use a proper enum to deal with orientation/rotation all around okular.
...
svn path=/trunk/playground/graphics/okular/; revision=620312
19 years ago
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
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
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
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
20 years ago
Albert Astals Cid
486095425b
Master pino wants me to commit this
...
svn path=/trunk/playground/graphics/okular/; revision=617564
20 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
20 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
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
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
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
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
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
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
5adbe4c66f
there's no more need for libtool files
...
svn path=/trunk/playground/graphics/okular/; revision=603923
20 years ago