1. 07 Apr, 2005 4 commits
    • Enrico Ros's avatar
      Big update to annotations. DataStructures passed the recursive saving · bcc2542e
      Enrico Ros authored
      and retrieval xml test. This second rewrite seems better than the
      previous one. Maybe it's not perfect bug finally it's good enought
      to move ahead now.
      
      Annotations:
        Restored and verified XML loading/saving with recursive storing and
        retrieval of referenced objects. 100% verified and tested. Finally
        all is working as expected. The structure is clean and it's simple
        to choose the way to go now: rendering. Updated AnnotationUtils, More
        comments, removed leak.
      Page:
        Adapted to changes to AnnotationUtils and Annotation, changed context
        saving.
      Misc updates on TODO and PDFGenerator (fixed Ext flag).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403863
      bcc2542e
    • Enrico Ros's avatar
      Fixed crash when exiting with kapp->quit(). Usually the Settings singleton · 659ae73b
      Enrico Ros authored
      is deleted after all classes, but when kpdf is run stand-alone and quit()
      is used (currently only by clicking on Quit links) the app could crash.
      -> Best practice: don't use KConfigXT settings classes for storing values
      on destructors (do it when a parameter is updated).
      CCMAIL: Mikolaj Machowski <mikmach@wp.pl>
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403765
      659ae73b
    • Enrico Ros's avatar
      Implemented PDF:FullScreen and Close action to KPDF 'Presentation' and · e5ed6251
      Enrico Ros authored
      'EndPresentation' actions. Based on testcase by Mikolaj.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403726
      e5ed6251
    • Enrico Ros's avatar
      CVS_SILENT add whishes and in-progress-crash-solving by Mikolaj · 9709ffbd
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403716
      9709ffbd
  2. 05 Apr, 2005 2 commits
    • Enrico Ros's avatar
      CVS_SILENT Sync and ++Whishes. · 3ac84b0f
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403360
      3ac84b0f
    • Enrico Ros's avatar
      PDFGenerator: · 2b2a6340
      Enrico Ros authored
        Better flow in annotations parser.
      Annotation:
        Cleanups in header.
      PageView:
        Adjusted a squelch.. I think a neural network it's the least we can do
        to choose that float number between 0.6 and 0.7.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403319
      2b2a6340
  3. 04 Apr, 2005 6 commits
    • Enrico Ros's avatar
      CVS_SILENT update state · 852eb6ed
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403223
      852eb6ed
    • Enrico Ros's avatar
      Adapted to annotations.h changes. · b2b74d91
      Enrico Ros authored
      annotations.cpp is all commented out, need to work on that now.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403222
      b2b74d91
    • Enrico Ros's avatar
      The revolution starts here. · eabe001f
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403221
      eabe001f
    • Enrico Ros's avatar
      Internal changes, broken stuff, heavy headache. · 372299cc
      Enrico Ros authored
      PDFGenerator:
        Changed parser to deal with the new data structures:
        1) Popups are not inserted anymore as annotations, but parsed and
        scheduled for later merging with other annotations. Shared popups are
        permitted (the pdf reference doesn't clarify on this, so we better
        support them).
        2) Annotations can have an internal hieracy. When an IRT annotation is
        found, it's parsed and scheduled for later merging in the parent's
        tree.
        The merges take place at the end of the annotation retrieval. At that
        point all cross-objects are in memory and we can resolve/reparent
        stuff.
      
      README.Annotations:
        Note on internal parser.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403219
      372299cc
    • Enrico Ros's avatar
      Moved the PDF annotations status here from annotations.h (that is going · 18feebc8
      Enrico Ros authored
      through a deep transformation).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403113
      18feebc8
    • Enrico Ros's avatar
      CVS_SILENT update · f4231cd9
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403099
      f4231cd9
  4. 01 Apr, 2005 4 commits
  5. 29 Mar, 2005 1 commit
  6. 25 Mar, 2005 1 commit
  7. 24 Mar, 2005 9 commits
    • Enrico Ros's avatar
      Sync with latest status! · d0432454
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400313
      d0432454
    • Enrico Ros's avatar
      Adapted to PagePainter changes. · c93d339c
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400311
      c93d339c
    • Enrico Ros's avatar
      Redesigned graphic pipeline on PagePainter and hand scaling (10x gain on · e5eb63ec
      Enrico Ros authored
      typical usage).
      
      PagePainter:
        Added 2 convenience methods for performing fast cropping and scaling
        from qpixmaps to qimages. Split buffered graphic flow from the unbuffered
        one reducing buffers conversions to the minimum. Avoid odd cases in
        rescaling. Detection of annotations boundaries to check for enabling
        buffered painting.
        Sample quick dirty and broken (but not so much..) implementation for
        painting AStamp annotations.
      Misc:
        PresentationWidged and ThumbnailWidget: adapted to PagePainter changes.
        (PageView mod has already been committed).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400310
      e5eb63ec
    • Enrico Ros's avatar
      Added a new experimental 'Reviews' widget to the toolbox. This shows · 4d0a1ed6
      Enrico Ros authored
      all the reviews on the document (pretty unuseful now, but that will
      change ;-). Another step to good kpdf annotations.
      
      Part:
        Added Reviews toolbox pane. Added (commented out while doing it right)
        searchline for toc; just works.
      Misc:
        Observer: added id for Reviews pane (as document observer it monitors
        document/annotations changes). Page: added 2 temporary accessors for
        annotations (will change soon). Makefile: added side_reviews.cpp to
        compilation. Searchwidget: slight better spacing to look consistant with
        the review panel.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400307
      4d0a1ed6
    • Enrico Ros's avatar
      Feature: Added vertical mouse wrapping over screen for panning the document · a7c62b4a
      Enrico Ros authored
      and when dynzooming by holding the mid mouse button.
      Fix:  mouselock bug due to unproper dynzooming handling. Also don't
      request pixmaps continuely during the operation -> speeds up DZ.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400293
      a7c62b4a
    • Enrico Ros's avatar
      Minor cosmetic change. · b7cbbe8b
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400290
      b7cbbe8b
    • Enrico Ros's avatar
      Intersect is true even if not proper. · 952f5002
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400289
      952f5002
    • Enrico Ros's avatar
      Cleaned up annotations structure. Packed header. Added some comments and · 861b4ed7
      Enrico Ros authored
      TODOs.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400288
      861b4ed7
    • Enrico Ros's avatar
      Regrouped options (looks cleaner now, expecially in kcfgcreator). Added · ed16042b
      Enrico Ros authored
      3 entries for saving checked state of 'Annotations side pane' (see next
      commits).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400285
      ed16042b
  8. 18 Mar, 2005 1 commit
    • Enrico Ros's avatar
      Another milestone has been reached: complete saving/restoring of · 1e9f0e59
      Enrico Ros authored
      annotations in the 'document tie file'. Every attribute of kpdf dss
      can be dumped to disk. Only rendering prevents HEAD merging now! :-)
      
      Annotations:
        Storage: full annotations saving/loding on the tied XML is implemented.
          every annotation put on a page (either loaded from a pdf or created
          internally is loaded and saved when opening/closing a document).
          Attributes are dumped to XML and reloaded from it via qdom
        DataStructures: internal changes, better naming, some attributes fused.
          PopupAnnotation has become WindowAnnotation
        PDF16Parser: 100% completeness for the types we support
      
      PDFGenerator:
        adapted to annotation ds changes. better parsing on a couple of attrs.
        correctly handle 'F'.
      
      Misc:
        Document: remove/cleanup debugs, Page: performance testing stuff added,
        PagePainter: setPen( annot->color ), PageV..or: typo,
        TODO: many changes
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=398789
      1e9f0e59
  9. 13 Mar, 2005 3 commits
    • Enrico Ros's avatar
      CVS_SILENT sync with last commit · a041d23e
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397323
      a041d23e
    • Enrico Ros's avatar
      Annotations: Author name request. Configure::generalDialog: changes. · 0de54211
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397322
      0de54211
    • Enrico Ros's avatar
      Document, Page: · 9023b05e
      Enrico Ros authored
        Changed loadDocumentInfo/saveDocumentInfo semantics. Document settings
        are saved by Document, but page related stuff (bookmark state,
        annotations, ...) are loaded/saved by the KPDFPage itself.
      Annotation:
        Better usage of dom entities (QDomElement(s) -> QDomNode(s)). Added const
        modifier to 'saveSettings' methods.
      Part:
        Use setCheckedState for the show/hide left panel menu entry. Use icon
        too. Bumped .rc revision.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397236
      9023b05e
  10. 12 Mar, 2005 6 commits
    • Jakub Stachowski's avatar
      Added action for showing/hiding left panel and removed it from settings. · 664d4415
      Jakub Stachowski authored
      "Watch file" moved to settings dialog.
      BUG: 99316
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396976
      664d4415
    • Enrico Ros's avatar
      CVS_SILENT A point that makes sense (thanks to Uga). · 65738852
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396947
      65738852
    • Enrico Ros's avatar
      Expand scope of kdpf :-) (thanks to ktech) · b7e621bb
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396924
      b7e621bb
    • Enrico Ros's avatar
      Sync that too. Updated to show current status. · 7feee785
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396912
      7feee785
    • Enrico Ros's avatar
      Adapted to changes in Annotation and children strcuts. · 3c6049f4
      Enrico Ros authored
      PagePainter:
        Only draw annotation extents (the rect property).
      PageViewAnnotator:
        Changed AnnotatorEngine(s) to deal with new attribs in structures. In
        particular they use the NormalizedRect attribute of annotation instead
        of the annotation as a rect itself.
      Todo:
        Updated.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396911
      3c6049f4
    • Enrico Ros's avatar
      PDF 1.6 Annotation Parser and DSs: annotations are loaded from PDF file. · c20faca6
      Enrico Ros authored
       AFAIK the kpdf team is once again the first opensource reader to get
      support for a cool feature. All annotations in pdf file are read and
      converted to our internal data structures. Then they'll be rendered on
      screen and changed/saved to our xml file.
      
       Annotations completely supported and parsed from PDF:  [markup], popup,
      text, freetext, line, polygon, polyline, highlight, underline, squiggly,
      strikeout, stamp, ink. Partial support for: [base], geom.
      
      Annotations:
        Added/Changed the passive annotation data structures to contain and
        generalize the attributes of annotation classes. Missing attributes
        (won't be handled by kpdf): base{P,AP,AS,A,AA,StructPar,OC}, geom{RD}.
        Little changes to the PDF1.6 summary in header.
      
      PDFGenerator:
        Internal parser (discussed with Albert) directly in top of xpdf. Read
        object nodes of type 'Annot' and parse the whole set of attributes as
        defined in the PDF1.6 spec (for supported annotations).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396909
      c20faca6
  11. 05 Mar, 2005 3 commits