Pino Toscano
dfce0d1fcd
centralize the way we know whether a generator is configurable, and properly manage i18n loading in that case
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741325
19 years ago
Pino Toscano
07dd3fe824
give the debug area to the kWarning() calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741314
19 years ago
Pino Toscano
1214468229
directly take the componentdata
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741313
19 years ago
Pino Toscano
1e08dc6a95
correctly check whether a generator was already loaded, even when no generator was previously loaded
...
fixes the ghostcript config page not showing when starting an empty okular
svn path=/trunk/KDE/kdegraphics/okular/; revision=741308
19 years ago
Pino Toscano
ba7d0732c1
ignore any "empty" component data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741067
19 years ago
Allen Winter
1e34663484
remove deprecated Encoding
...
DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords
svn path=/trunk/KDE/kdegraphics/okular/; revision=737282
19 years ago
Script Kiddy
d9e6745bc7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=735260
19 years ago
Pino Toscano
6e37c43c8d
don't print the debug stuff between " and "
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732875
19 years ago
Pino Toscano
ca0f9184d2
export correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732873
19 years ago
Pino Toscano
2340d9c6d8
Save the rotation of the document, so when reopening the document the last rotation is kept.
...
This also fixed the problem of the lost rotation when reloading because of document change.
CCBUG: 151130
svn path=/trunk/KDE/kdegraphics/okular/; revision=731697
19 years ago
Christian Ehrlicher
ec72d7e654
mingw compile++
...
warnings--
svn path=/trunk/KDE/kdegraphics/okular/; revision=731467
19 years ago
Pino Toscano
6d375af868
Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
19 years ago
John Layt
070285e039
Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
...
*** 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
19 years ago
Script Kiddy
d5fcbc09a8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
19 years ago
Pino Toscano
4060ef669e
Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff.
...
This affects all the generators that use the internal generator threading, own threading models have to be fixed properly.
svn path=/trunk/KDE/kdegraphics/okular/; revision=723161
19 years ago
Pino Toscano
15155d8824
Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
...
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
19 years ago
Pino Toscano
5e0c1a1671
hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
19 years ago
Pino Toscano
b321f9ea21
when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
19 years ago
Pino Toscano
b654434a0e
add private helpers to properly transform the base coordinates of an annotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
19 years ago
Pino Toscano
a5940e0132
correctly initialize the history; crash spotted by Bram, thanks!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
19 years ago
Script Kiddy
d5dc96cb3b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
19 years ago
Pino Toscano
27f624d1f7
check whether the document is open
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720717
19 years ago
Pino Toscano
d51e9fa4d8
remove the private methods of PixmapRequest, and make the Document work with its private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719319
19 years ago
Pino Toscano
5dc92c5824
use qint64 for the document size
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719107
19 years ago
Script Kiddy
44dd16d127
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
19 years ago
Pino Toscano
819037c6b6
SVN_SILENT clean a bit the debug output
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717498
19 years ago
Pino Toscano
e8bad1f69d
it seems phonon-xine can handle sound streams via data, so feel brave enough and enabling the embedded sounds code
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717456
19 years ago
Script Kiddy
cc3c2badba
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=717124
19 years ago
Pino Toscano
684b146867
SVN_SILENT explicitely initialize the base class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=715948
19 years ago
Script Kiddy
63b6301d12
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=714636
19 years ago
Pino Toscano
2584aaa43b
cache the total memory on win32
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712851
19 years ago
Pino Toscano
1142c0bd39
make them private
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712839
19 years ago
Pino Toscano
4dcadf5544
Add a mutex in the base generator class, so any generator that wants a mutex can use it.
...
Adapt the poppler and the chm generator to use it instead of the own.
svn path=/trunk/KDE/kdegraphics/okular/; revision=712821
19 years ago
Pino Toscano
ed413cb275
delay the real creation + initialization of the weaver to the real needed moment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712637
19 years ago
Pino Toscano
78e2377a87
Add a method for generators to know some metadata of the document
...
adapted the poppler and the chm generators to use that, instead of fiddling with the settings class
svn path=/trunk/KDE/kdegraphics/okular/; revision=712614
19 years ago
Pino Toscano
bb59c02642
nuke Document::continueLastSearch(), continueSearch(id) is enough
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712500
19 years ago
Pino Toscano
f8ed5302ec
- move the Document::requestDone() to the private class, as it's something internal to the generator work
...
- make the Generator internally keep an pointer to the private class Document, so we can access easily to the Document' stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=712498
19 years ago
Pino Toscano
aaed55f037
extract the DocumentPrivate class in an own file
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712493
19 years ago
Pino Toscano
e6ad3722ae
few apidox more
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712478
19 years ago
Pino Toscano
006111382b
common d_ptr+q_ptr structure for Generator/TextDocumentGenerator, and their private classes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712465
19 years ago
Pino Toscano
f72692799e
look for the old kpdf stuff only if the "new okular" stuff is not found
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710703
19 years ago
Pino Toscano
b56ad8c3ae
Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
19 years ago
Pino Toscano
73329a23cf
reserve a place for the annotation model
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709945
19 years ago
Pino Toscano
2a29b247f7
save really few bytes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709414
19 years ago
Pino Toscano
805b0f3386
Introduce a selective merging strategy for text areas, so we merge only all the areas of a text "line" together, not also with the areas above (if the lines overlap).
...
Adapt the text selection to merge correctly depending on the current rotation.
Drawback: darker overlap zones if two lines overlap.
svn path=/trunk/KDE/kdegraphics/okular/; revision=708745
19 years ago
Pino Toscano
97fa2243ea
don't do the merge when turning a regular area rect into an highlight area rect
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708740
19 years ago
Pino Toscano
99a99a1590
instead of just keeping the transformation matrix, add the pointer to the owning page in a text page, so a text page can know more information, and with no need to manually be updated by the page
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708443
19 years ago
Pino Toscano
bf9af4433d
move deleteTextSelections() to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708155
19 years ago
Pino Toscano
d81d4aedd9
small api fixup ('const QContainer' it's pointless as return value)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708147
19 years ago
Pino Toscano
351f66a9b4
remove TextPage::transform() from the public API, and make the Page change the TextPage transformation easily
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708085
19 years ago