Martin T. H. Sandsmark
d29ec08007
remove invalid null pointer checks
10 years ago
Gleb Popov
b8d22401f2
Implement qHash() for Okular::NormalizedRect.
11 years ago
Albert Astals Cid
3f55cc1e90
Try to fix Mac/clang build
11 years ago
Alex Richardson
cfc82ee9b0
Be explicit about the target dependencies
11 years ago
Montel Laurent
5da7c5f77d
port to qCDebug. Autogenerate export headers
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
9d89739972
Use categorized logging
12 years ago
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
Peter Grasch
4d4dd68ca2
Fix usability issues with selecting annotations
...
REVIEW: 109627
13 years ago
Jan Binder
aa6ed8afc0
Replace deprecated QMatrix by QTransform
...
REVIEW: 105737
14 years ago
Albert Astals Cid
5ec4c069f0
Add @since markers
15 years ago
Mohammad Mahfuzur Rahman Mamun
c55ee4b70d
A last moment refactoring of the code ... some const & changes
15 years ago
Mohammad Mahfuzur Rahman Mamun
dca4ee559c
Another Code Refactoring done
15 years ago
Mohammad Mahfuzur Rahman Mamun
3214307ed9
unnecessary changes removed from area.h and cpp textpage.h textpage_p.h
15 years ago
Mohammad Mahfuzur Rahman Mamun
1ef68e3301
text selection for both selection type 01 and 02 seems to be working correctly
15 years ago
Mohammad Mahfuzur Rahman Mamun
b599f02205
second type selection crashing
15 years ago
Mohammad Mahfuzur Rahman Mamun
f14a8502dd
remove some problems from makeWord function in textPage
15 years ago
Mohammad Mahfuzur Rahman Mamun
57db9f4c19
textSelection according to the TextList seems to work fine -- tested with some pdfs
15 years ago
Myreal Name
2149fb46ef
Another message
15 years ago
Pino Toscano
c05523da2b
fix #include paths in core headers to other core headers to be relative
...
... and with double quotes brackets, so they can properly include each other without relying on the compiler include path
15 years ago
Albert Astals Cid
81d255bafb
add a function that returns the center of a given normalized rect
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048191
17 years ago
Pino Toscano
6d0241e5d2
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
...
based on an patch by Luigi Toscano, thanks!
CCMAIL: luigi.toscano@tiscali.it
svn path=/trunk/KDE/kdegraphics/okular/; revision=943099
17 years ago
Pino Toscano
d650603340
add operator& (intersection) for NormalizedRect
...
original patch by kde2eran@tromer.org, thanks!
CCMAIL: kde2eran@tromer.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=809403
18 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
24c387a84b
first (and i hope last) attempt to exclude the internal area functions from the apidox
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=705433
19 years ago
Pino Toscano
5150419e81
adapt the debug stuff to the new kdebug way:
...
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp
svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
19 years ago
Thiago Macieira
000dc825e3
Use QDebug instead of kdbgstream
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=694533
19 years ago
Christian Ehrlicher
a913ceb5fd
win32 compile++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688260
19 years ago
Pino Toscano
88474e3e46
manually iterate in RegularArea instead of using Q_FOREACH, it seems msvc does not like it in template classes
...
remove the return value in a void function
svn path=/trunk/KDE/kdegraphics/okular/; revision=688259
19 years ago
Pino Toscano
b861878436
RegularAreaRect needs to be exported
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686286
19 years ago
Pino Toscano
fbe8dbf108
promote RegularAreaRect from a typedef to a class, a bit more easy to eventually expand in the future
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686281
19 years ago
Pino Toscano
1eb435cddb
remove the kdebug.h inclusion in area.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
19 years ago
Pino Toscano
8a216058f3
clean the headers
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656768
19 years ago
Pino Toscano
656736c1af
Link -> Action renaming.
...
Step #4a: more apidox fixes.
svn path=/trunk/KDE/kdegraphics/okular/; revision=656149
19 years ago
Pino Toscano
5f21b15d99
Link -> Action renaming.
...
Step #2 : Link -> Action for the action hierarchy, and for the ObjectRect type.
svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
19 years ago
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
19 years ago
Pino Toscano
37b5d0f3cc
handy method
...
svn path=/trunk/playground/graphics/okular/; revision=629174
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
14ea3ab2ef
Further documentation and API cleanups
...
svn path=/trunk/playground/graphics/okular/; revision=619054
19 years ago
Pino Toscano
d5f99995dd
add handy debug operators for NormalizedPoint and NormalizedRect
...
svn path=/trunk/playground/graphics/okular/; revision=618237
19 years ago
Tobias Koenig
4fe8bdce53
Fixed free text selection for rotated pages
...
svn path=/trunk/playground/graphics/okular/; revision=617621
19 years ago
Pino Toscano
bbb55280d5
Simplify the auxiliary functions used within RegularArea<>, patch by André Wöbbeking.
...
Make the return value of RegularArea::geometry a simple list instead of a pointer, as suggested by André.
CCMAIL: Woebbeking@kde.org
svn path=/trunk/playground/graphics/okular/; revision=616994
19 years ago
Pino Toscano
dff36b98f8
simplify RegularAreaRect by avoiding the usage of pointers, as they don't give benefits anyway.
...
Fixing also the text extraction when using the rectangular selection across two or more pages.
svn path=/trunk/playground/graphics/okular/; revision=616264
19 years ago
Pino Toscano
6db5e75a00
this should be better
...
svn path=/trunk/playground/graphics/okular/; revision=616243
19 years ago
Pino Toscano
52266d71b6
apidox fixes
...
svn path=/trunk/playground/graphics/okular/; revision=616096
19 years ago
Pino Toscano
7d275a6390
Improved the text selection by using and ad-hoc function that takes care of adding or merging a new shape to the area, so the simply() at the end is no more needed.
...
This gives another speedup when using the text selection.
(And, rename okularDeleter to okularPtrUtils.)
svn path=/trunk/playground/graphics/okular/; revision=616089
19 years ago
Pino Toscano
0fa0609e1f
properly delete the regular areas of a RegularArea<> when it stores pointers to areas. no more memory leaks for RegularArea<>, yay!
...
svn path=/trunk/playground/graphics/okular/; revision=616069
19 years ago
Tobias Koenig
fc13c09b3e
Added documentation and some code cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=608231
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