ICEpdf
  1. ICEpdf
  2. PDF-403

Disable caching via api as an alternative to org.icepdf.core.imagecache.enabled

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A form user brought up an interesting point in that system properties can not be set to disable caching when used in an unsigned Applet deployement. Arguably the jars should be singed but I do like the idea of turning off all file writing via an api call as an alternative to the system property.

      The Document class would likely have a static method to disable caching.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Targeting 4.3.3.

        Show
        Patrick Corless added a comment - Targeting 4.3.3.
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.3.3 [ 10333 ]
        Patrick Corless made changes -
        Workaround Description Use Defs class to programatically set the system properties in the Applet code. Requires the demo be recompiled.
        Salesforce Case []
        Fix Version/s 4.3.4 [ 10341 ]
        Fix Version/s 4.3.3 [ 10333 ]
        Migration made changes -
        Fix Version/s 4.5 [ 10342 ]
        Fix Version/s 4.3.4 [ 10341 ]
        Patrick Corless made changes -
        Fix Version/s 5.0 [ 10314 ]
        Fix Version/s 4.5 [ 10342 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34192 Tue Apr 02 13:18:08 MDT 2013 patrick.corless PDF-403 added setter on the document class for setting the isCacheEanbled property to aid with applet development.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Document.java
        Hide
        Patrick Corless added a comment -

        Adding setCachingEnabled(boolean cachingEnabled):void to document API to facilitate this request. The call most be made before a document is opened.

        Show
        Patrick Corless added a comment - Adding setCachingEnabled(boolean cachingEnabled):void to document API to facilitate this request. The call most be made before a document is opened.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: