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
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
public slots -> public functions. they were slots, but wrongly.
merget setPage and setPagePosition using overloading.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358204
slotSetCurrentPagePosition -> slotSetCurrentPageViewport. Not completely
implemented but working. After implementation clicking on links will do the
right job on the viewport.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=353365
Only Movies and (XPDF's) LinkDestKind (that defines 'anchor place' for
link destination) aren't implemented as of now.
Fixed a bug in text selection. This commit will probably generate a fake
unsafe warning. Note: I'm committing from work :-P
CCMAIL: tsdgeos@terra.es
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=353078
reading (well, this could also be called view-auto-scrolling :-). The
behavior is *exactly* the same we have in konqueror but we use actions, so
shortcuts are configurable. Shift+Up/Down sets scroll speed. Ctrl/Shift
suspend (toggle) scrolling, etc.. This is useful when used in "continous
single page mode".
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=352244
page, hiding others and redefining contents area. Bookmark action moved to
document, that updates observers state after each operation. Many fixes in
pageview. Pixmapwidget returns a const KPDFPage*. No scroll-on-drag and
go-to-page only with left click onThumbnailList. Starting to reorganize
PageView events (link test with cursor changing on page sample impl.).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=350583
Code in thumbnail.* is ported into pixmapwidget and shared with a new class
that renders the page inside the (also new) pageview that borns over the
old kpdf_pagewidget class.
This commit features a 'state of the art' working-by-chance, buggy,
segfault prone view-layout algo.. :-) maybe that's stuff to fix soon!!
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=349598
documents but you can try it for 200 pages pdfs. It's pretty fast. You
type in some words and only pages containing that sting are displayed.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=347060
you have enough ram). Based on aacid's search code. This implements case
sensitive search too (a little tricky but it worths). Finally done.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=347051
memory reduction on the displayed page. OutputDev under big changes.
Now DocumentObservers have an unique ID so they can queue requests to
documents and they get their data stored in Page(s). No more Pixmaps or
Thumbnails requests, every observer can request a custom-sized pixmap for
a given page. That makes room for new observers (like a cool perspective
book like page viewer or stacked viewer or what your fantasy suggests :-).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=346792
but will change soon!) thumbnail generator. Previews are shown and rescaled
smoothly. Some optimizations and fixes (over my buggy code :-P). kpdf rocks
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345508
different ratio for pages, splitter between previews and page widgets.
_Part porting is nearly done..
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345216
Cleaned up a lot. Added 2 classes, reorganized the code. Also reindented
the part to please AACid's style. I'll resort some of the funcitonalities
soon. Plz, wait for the end of breakings before making changes.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344958