Pino Toscano
9ccf6d520d
adapt the icon names to the icon naming spec
...
svn path=/trunk/playground/graphics/okular/; revision=640710
19 years ago
Pino Toscano
573f989b47
don't keep the domelement for every toc item, just extract the needed information
...
svn path=/trunk/playground/graphics/okular/; revision=627174
19 years ago
Pino Toscano
b163e04115
Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane.
...
svn path=/trunk/playground/graphics/okular/; revision=625312
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
b9a2413619
remove the evil hack of the separator by using a custom role for the page number
...
svn path=/trunk/playground/graphics/okular/; revision=616706
19 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
19 years ago
Pino Toscano
349dfb7eb1
move the delegate used to draw the side page numbers in an own file
...
svn path=/trunk/playground/graphics/okular/; revision=616662
19 years ago
Pino Toscano
ab508c75a9
hopefully draw the toc item correcty, this time
...
svn path=/trunk/playground/graphics/okular/; revision=615872
20 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
3c0069f811
Display - if available - the page number on the right of every item in the table of contents.
...
Implements the KPDF wish #122863 .
svn path=/trunk/playground/graphics/okular/; revision=615801
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
1fabb1880d
rename setSelected to setCurrent, as it clashes with a new function of Qt4.2
...
svn path=/trunk/playground/graphics/okular/; revision=597727
20 years ago
Pino Toscano
20947b2e8d
much like the other side panes
...
svn path=/trunk/playground/graphics/okular/; revision=595366
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Laurent Montel
95486afabf
clear button is not necessary it's into klineeedit now
...
svn path=/trunk/playground/graphics/okular/; revision=586807
20 years ago
Dirk Mueller
3c092edf3f
if tmp can be null then m_current can be as well (CID 2644)
...
svn path=/trunk/playground/graphics/okular/; revision=580808
20 years ago
Pino Toscano
cc447bd3dc
use the layout direction of the parent treewidget
...
svn path=/trunk/playground/graphics/okular/; revision=561525
20 years ago
Pino Toscano
a73c1d14a1
don't exclude ourself when setting a new viewport
...
svn path=/trunk/playground/graphics/okular/; revision=558490
20 years ago
Pino Toscano
8f32edb95e
Make the TOC highlight (well, just indicate with an arrow for the moment) the first entry for the current page.
...
Implements bug #127358 .
svn path=/trunk/playground/graphics/okular/; revision=553236
20 years ago
Pino Toscano
639039e791
Now TOC is a simple widget, with the treewiget inside.
...
Added a search lineedit (and a clear button) to search into the document toc. Implements KPDF's wish #99349 .
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545972
20 years ago
Pino Toscano
880561c3ab
port the TOC widget to QListWidget
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542450
20 years ago
Pino Toscano
63c18ab06e
Make the oKular part and its shell compile and link.
...
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
20 years ago
Albert Astals Cid
b61b6e2f22
some fixes more, able to see pdf already
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522382
20 years ago
Pino Toscano
8b41489e2f
porting
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
20 years ago
Albert Astals Cid
ec923ec701
compile some more files
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521912
20 years ago
Laurent Montel
ce8715fb8c
adapt to new kdelibs api
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=518219
20 years ago
Albert Astals Cid
da968969aa
fix indent
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=511287
20 years ago
Albert Astals Cid
0e8c4faf0e
fordwardport r511281
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=511284
20 years ago
Albert Astals Cid
3e168cfd07
branchport r511281
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=511282
20 years ago
Albert Astals Cid
6c6a1ac522
branchport r510876
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=510882
20 years ago
Albert Astals Cid
022dd597dc
fordwardport r510876
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=510880
20 years ago
Piotr Szymanski
d09fd28b89
- MERGE KPDF 3.5 CHANGES
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
21 years ago
Albert Astals Cid
d2af5239b7
Fordward port fix for bug 110666
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=454213
21 years ago
Albert Astals Cid
3eb7c7ea55
Remove the toc when closing the doc
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=440089
21 years ago
Piotr Szymanski
36ab5c8965
- make generators plugins by:
...
* moving all xpdf stuff from core and part to inside generator_pdf
* adding abstract KPDFText class and KPDFTextEntity to hold either
glyph, or word or textline
- support for importing PS files as pdf like on annots branch
- synced with annots branch
- abstract text layer with search for words in different lines
- added RegularArea<NormalizedShape,Shape> template class
which inherits QValueList<NormalizedShape*> and is used
to hold regular areas of given shape (finite collections of the shape)
- loading of relevant generators via ktrader for given mimetype
- the deliverables 1 and 2 of my SoC proposition are delivered
next: 1. fix one spotted regression and 2. code ghostview backend
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434883
21 years ago
Piotr Szymanski
369803e65b
- forwardport the support for external linkage in toc
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434864
21 years ago
Piotr Szymanski
6e8a08f692
- make the Page column in TOC configurable with secret config option instead of compile time switch
...
- mark one function to remove later
- add one more category to desktop file to be more vfolders compliant
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=431970
21 years ago
Tobias Koenig
f241e05db8
Add possibility to go to an external pdf document from the TOC.
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=429479
21 years ago
Enrico Ros
8397b0cd94
applying patch_107
...
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425010
21 years ago
Enrico Ros
8e9cce23ba
applying patch_104
...
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425008
21 years ago
Enrico Ros
ae8e9ee187
applying patch_101
...
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425007
21 years ago
Albert Astals Cid
66c71c3c72
Q3MemArray -> QVector
...
Fix almost all presentation mode
svn path=/branches/work/kde4/kdegraphics/kpdf/; revision=421637
21 years ago
Albert Astals Cid
d599aebde9
don't crash when clicking on [+]
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=421335
21 years ago
Albert Astals Cid
f4026b3237
Fix bug 103433 (usability)
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=421295
21 years ago
Albert Astals Cid
888b0c05a9
link, crashes on startup and has some commented things i need to port later on
...
svn path=/branches/work/kde4/kdegraphics/kpdf/; revision=420319
21 years ago
Albert Astals Cid
be052853fa
Fix usability problem with toc.
...
Thanks for the patch
BUGS: 106323
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=419033
21 years ago
Enrico Ros
d4fd6d62c3
Typo fix on Direct Viewport links. DOM is cool and attribute names must match.
...
svn path=/trunk/kdegraphics/kpdf/; revision=377246
21 years ago
Enrico Ros
3bf154b57d
Viewport: fixes, setViewport( vp, id ) excludes id from the notified
...
bodies. Optimized fit width and a saved a couple of pixmap requests. Busy
cursor on load and searches.
svn path=/trunk/kdegraphics/kpdf/; revision=377152
21 years ago
Enrico Ros
6dd95c9e06
Viewport MOD 1. Implemented the DocumentViewport class, owned by Document.
...
A const reference may be asked. When set all DocumentObservers will be
notified so they can update their gfx if needed. Converted TOC, Links
to the new usage. DocumentViewport can be saved/restored to/from QString
so it can be asked as metadata and saved on document's XML. When loading
a document the viewport is restored exactly where it was when the document
was closed. More fixes with Viewport class. Swapped groupboxes in Perform
dialog. Changed members naming in DocumentObservers and inherited classes.
PageView and ThumbnailsList now linked.
Still regressions / TODOs about the Viewport thing.
svn path=/trunk/kdegraphics/kpdf/; revision=377066
21 years ago
Enrico Ros
e06c3f4c18
FixCrash 2/3: getMetaData modified. mutex locks. performance fix for TOC
...
generation (was 50 times slower after the all-in-one generation patch)
svn path=/trunk/kdegraphics/kpdf/; revision=376083
21 years ago