1. 19 Jul, 2013 1 commit
  2. 18 Jul, 2013 1 commit
  3. 08 Jul, 2013 3 commits
  4. 07 Jul, 2013 1 commit
  5. 01 Jul, 2013 8 commits
  6. 30 Jun, 2013 12 commits
    • Albert Astals Cid's avatar
      Fix crash on malformed doc · b5e9941c
      Albert Astals Cid authored
      Where the Colorants dictionary values are not arrays
      Document can be found on KDE bug #319925
      b5e9941c
    • Fabio D'Urso's avatar
      qt5: Free some temporary memory in TextAnnotationPrivate::createNativeAnnot · 19f8a88b
      Fabio D'Urso authored
      There's no need to keep this buffer around after it has been flushed
      19f8a88b
    • Fabio D'Urso's avatar
      qt5: Some documentation about annotations · 8bac4d1e
      Fabio D'Urso authored
      * Removed incorrect hint "Use uniqueName to test for Annotation
        equality": uniqueNames are optional and we don't actually guarantee
        uniqueness
      * Added "How to add annotations" and "FixedRotation flag specifics"
        sections in the Annotation class page
      * Added links from enum Annotation::SubType items to actual subclasses
      * Added documentation for annotation flags that are known to work
      * Added "see also" links between annotation flag and boundary
        setters/getters
      * Added warning on Annotation::setPopup to tell that it's currently not
        implemented
      8bac4d1e
    • Fabio D'Urso's avatar
      qt5: FixedRotation annotations' coordinate conversion · 1d5fe3f2
      Fabio D'Urso authored
      FixedRotation(=flagNoRotate) annotations use a different coordinate
      system than regular annotations. This patch implements transparent
      conversion so that qt5 clients don't notice the difference.
      
      Important! When dealing with FixedRotation annotations, poppler-qt5
      clients will need to set geometry-related annotation properties in
      the following order:
       1) flags (because we need to know if this is a FixedRotation
          annotation or not)
       2) boundary (because we need to know what the topleft corner is,
          so that we can construct the conversion matrix)
       3) anything else
      
      This requirement will be documented in the next patch
      1d5fe3f2
    • Fabio D'Urso's avatar
      core: Remove geometry-related arguments from annotation constructors · ab130c91
      Fabio D'Urso authored
      Removed arguments from annotation constructors related to the geometry
      of the annotation. This change will make it easier to support creating
      annotations with flag NoRotate in the next patch (because no special
      cases will be needed: coordinate conversion code will be able to always
      assume that the underlying annotation object already exists).
      
      Data that used to be taken from these arguments is now replaced by dummy
      values, which can be modified using appropriate setter methods after
      the annotation object is created.
      
      Affected annotation types:
       - AnnotLine
       - AnnotTextMarkup
       - AnnotPolygon
       - AnnotInk
      ab130c91
    • Fabio D'Urso's avatar
      35cfb691
    • Fabio D'Urso's avatar
      qt4: Free some temporary memory in TextAnnotationPrivate::createNativeAnnot · de2a93c0
      Fabio D'Urso authored
      There's no need to keep this buffer around after it has been flushed
      de2a93c0
    • Fabio D'Urso's avatar
      qt4: Some documentation about annotations · 738b0b4f
      Fabio D'Urso authored
      * Removed incorrect hint "Use uniqueName to test for Annotation
        equality": uniqueNames are optional and we don't actually guarantee
        uniqueness
      * Added "How to add annotations" and "FixedRotation flag specifics"
        sections in the Annotation class page
      * Added links from enum Annotation::SubType items to actual subclasses
      * Added documentation for annotation flags that are known to work
      * Added "see also" links between annotation flag and boundary
        setters/getters
      * Added warning on Annotation::setPopup to tell that it's currently not
        implemented
      738b0b4f
    • Fabio D'Urso's avatar
      qt4: FixedRotation annotations' coordinate conversion · cf950a2b
      Fabio D'Urso authored
      FixedRotation(=flagNoRotate) annotations use a different coordinate
      system than regular annotations. This patch implements transparent
      conversion so that qt4 clients don't notice the difference.
      
      Important! When dealing with FixedRotation annotations, poppler-qt4
      clients will need to set geometry-related annotation properties in
      the following order:
       1) flags (because we need to know if this is a FixedRotation
          annotation or not)
       2) boundary (because we need to know what the topleft corner is,
          so that we can construct the conversion matrix)
       3) anything else
      
      This requirement will be documented in the next patch
      cf950a2b
    • Fabio D'Urso's avatar
      core: Remove geometry-related arguments from annotation constructors · 4b130855
      Fabio D'Urso authored
      Removed arguments from annotation constructors related to the geometry
      of the annotation. This change will make it easier to support creating
      annotations with flag NoRotate in the next patch (because no special
      cases will be needed: coordinate conversion code will be able to always
      assume that the underlying annotation object already exists).
      
      Data that used to be taken from these arguments is now replaced by dummy
      values, which can be modified using appropriate setter methods after
      the annotation object is created.
      
      Affected annotation types:
       - AnnotLine
       - AnnotTextMarkup
       - AnnotPolygon
       - AnnotInk
      4b130855
    • Fabio D'Urso's avatar
      5923cfb5
    • Fabio D'Urso's avatar
      core: Support for rendering annotations with flagNoRotate · 74ea15cc
      Fabio D'Urso authored
      Gfx::drawAnnot now makes a counter-rotation if flagNoRotate is set
      74ea15cc
  7. 27 Jun, 2013 1 commit
  8. 26 Jun, 2013 1 commit
  9. 25 Jun, 2013 4 commits
  10. 24 Jun, 2013 1 commit
  11. 21 Jun, 2013 1 commit
  12. 18 Jun, 2013 3 commits
  13. 17 Jun, 2013 3 commits