feels better. Updated TODO with interesting things.
Note: I feel performance loss. Need to check carefully all zoom functions,
relayouts and wasted paints. I'll love to do that after merging to HEAD.
Note to all: HEAD merge only after API will be final (the only 2 variables
are MemManager, ThreadedGen and maybe a DocumentDom (if I can make it next
weekend, but I think not)).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370404
Abstracted xpdf's Outline to a Dom Tree. Fixed MERGE tags through the code.
Added comments (documentation) to KPDFDocument class and other classes in
document.h. Changed a little Generator interface.
Moved code from toc.h/.cpp to GeneratorPDF and shrinked a lot.
TODO (now): Convert TOC (widget) to use the Dom tree as data source.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369914
GeneratorPDF class. Adapted the whole KPDFLink class to a hieracy of
classes and added a Viewport description associated to 'Goto' links.
Link hasn't got geometry properties. A PageRect class has born to describe
all 'active rects' on a page (hand pointed on mouse over). PageRect can
contain many type of objects such as Links or other active items (images,
...). The Page class now stores PageRects only (no more geometric Links,
as already said).
Added a DocumentInfo class filled in by generators and used by the
PropertiesDialog.
Outline hasn't been abstracted while now, but a DocumentSynopsis class
is in place and work needs to be done to make GeneratorPDF fill in a
DocumentSynopsis instance and pass it to the Toc widget.
Note1: Document has nothing more to do with xpdf, it only commands its
generator.
Note2: 2 remaining classes to be abstracted: Outline, TextPage. But
waning..
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369651
Enrico, i've added it in the menu, do you prefer it to be in the configuration dialog?
CCMAIL: rosenric@dei.unipd.it
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=367732
Added 'continous zooming' using mid mouse button. Clipped selections to
viewport. Fixed a bad rounded float-to-int conversion (gives more pixel
precision in zooming).
CCMAIL: burellil@dei.unipd.it
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363468
Added a disabled field for setting number of columns. Having dozens of
pages displayed on screen looks somewhat cool!
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363465
dependancy from QObject. Kpdf_Part is now a Document Observer (only monitors
page changes to update actions).
Modified Accessibility(Recolor) settings and config dialog, fixed a bug,
page color change on-the-fly (pixmap refresh mechanism to add..).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361759
not explicitely disabled). Thus global compositing on PageView is used
only when needed. Considering wether to add a global accessibility enabling
function with a "This will affect performance" (due to local
doublebuffering) warning.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361453
enabling painting features. Adapt PageView and ThumbnailList to use flags
(PageView: all on, ThumbnailList: no links/images boundaries.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361183