Pino Toscano
f84c256657
don't activate the TOC when it has no items
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=753072
18 years ago
Pino Toscano
a917f080e6
Create a model for the TOC, and use that for displaying the TOC of the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710317
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
dac41f84ad
give the thumbnail list, the toc and the bookmark list a coherent look
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=704267
19 years ago
Pino Toscano
106e96240c
rename (almost) every ActionFoo class to FooAction
...
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
19 years ago
Pino Toscano
0e12746a92
Link -> Action renaming.
...
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
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
Pino Toscano
f3e484082d
Link -> Action renaming.
...
Step #1 : link.(cpp|h) -> action.(cpp|h)
svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Pino Toscano
29e8bbc50f
make it possible for generators to decide the initial open/close state for the items of a TOC
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654247
19 years ago
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
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
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