ICEpdf
  1. ICEpdf
  2. PDF-91

Viewer RI viewer build configuration

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0 - Beta, 4.0
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Swing RI example
    • Assignee Priority:
      P1

      Description

      The guts of this enhancement is to make the default RI SwingViewBuilder more configurable. Currently the RI is started and you get the full viewer. A customer has asked that we make various UI elements configurable via a properties file

      Here are the main features they are looking for:

      Optional Toolbars.
      - save, print, search and rotation
      - same for annotation bar
      - can we do more ?

      Narrow zoom ranges
      - make the default zoom ranges configurable via the properties file.

      Default fit width page view
      - the document should specify this in the default catalogue however if it doesn't they would like a property to set it manually.

      We all ready have some properties in the ICEpdfDefault.properties and a loading mechanism. An analysis is need to figure out the best way to go about this enhancement.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20382 Tue Jan 26 14:38:52 MST 2010 patrick.corless PDF-91 removing properties example for until we get a change to align the properites and removed redundant or none functioning properties.
        Files Changed
        Commit graph DEL /icepdf/trunk/icepdf/examples/component/ViewerPropertiesExample.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20374 Tue Jan 26 11:57:06 MST 2010 patrick.corless PDF-91 addition of properties to control the visibility of the status bar and the left and right child panles, status label and view mode controls respectively.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20333 Thu Jan 21 15:37:15 MST 2010 carlo.guglielmin PDF-91 - Added a 'application.statusbar.show.viewmode' property to show/hide the page view mode buttons in the bottom right of the status bar. Defaults to true.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20152 Fri Jan 08 10:52:28 MST 2010 carlo.guglielmin PDF-91 - Ensure that a property file specified via the constructor (ie: from the command line or through a custom created UI) will be loaded immediately. This means that any properties that apply to setting up the home directory (via setupHomeDir) will be grabbed from the specified property file instead of the global defaults. Then if we don't have a specified property file we will load it as normal after the home dir has been found. This was related to the 'application.showLocalStorageDialogs' property not being handled from a local properties file.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/Launcher.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20100 Mon Jan 04 10:27:16 MST 2010 carlo.guglielmin PDF-91 - Cleaned up highlightColor property retrieval to prevent it throwing an error
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20008 Wed Dec 16 15:55:57 MST 2009 carlo.guglielmin PDF-91 - Added an override to the system property for the highlight color
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19999 Wed Dec 16 11:02:49 MST 2009 carlo.guglielmin PDF-91 - Properly handle properties file so that we can accept a custom one via the SwingViewBuilder constructor
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19997 Wed Dec 16 10:06:12 MST 2009 carlo.guglielmin PDF-91 - Added an option to specify the available Zoom Ranges (shown in the dropdown in the UI) via the properties file value 'application.zoom.range.default'
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19985 Mon Dec 14 15:46:33 MST 2009 carlo.guglielmin PDF-91 - Changed search panel so the JScrollPane wrapping the search results tree fills the utility pane properly, to allow for very small height resizes
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SearchPanel.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19984 Mon Dec 14 15:20:54 MST 2009 carlo.guglielmin PDF-91 - Added a command line switch '-loadproperties [path]' that allows a user to specify a different .properties file than the default. Otherwise we default to the usual home directory path.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/Launcher.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19982 Mon Dec 14 15:08:34 MST 2009 carlo.guglielmin PDF-91 - Allow the buttons in the utility pane to be hidden
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19979 Mon Dec 14 14:55:46 MST 2009 carlo.guglielmin PDF-91 - Ensured the document.pagefitMode property applies correctly, as it was currently being ignored. For example to force a document to fit width, give the property a value of 4
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/WindowManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19904 Wed Dec 09 11:23:42 MST 2009 carlo.guglielmin PDF-95, PDF-91 - Added preliminary skeleton of permission checking before doing a save. Currently disabled until some StateManager work is completed. Also made a fix related to PDF-91 to ensure the ViewerComponentExample still works with the changed properties file. Also added an example called ViewerPropertiesExample that demonstrates building your own properties file and passing it into the SwingViewBuilder constructor
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle.properties
        Commit graph ADD /icepdf/trunk/icepdf/examples/component/ViewerPropertiesExample.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19897 Wed Dec 09 07:47:06 MST 2009 patrick.corless PDF-91 added null pointer check for viewerController.getWindowManagementCallback(), to get component instance of application running.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19891 Tue Dec 08 15:14:05 MST 2009 carlo.guglielmin PDF-91 - Added reading of some of the basic Viewer Preferences (as noted in the PDF Specification) such as HideToolbar and HideMenubar. If not present in the document these can be overriden by the properties file. Also added a default zoom that is set from the properties file
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph ADD /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ViewerPreferences.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Catalog.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19885 Tue Dec 08 12:38:58 MST 2009 carlo.guglielmin PDF-91 - Added properties file configuration for utility pane tabs. Also updated both toolbar and utility pane to hide themselves properly if NOTHING is enabled on them
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19882 Tue Dec 08 11:39:59 MST 2009 carlo.guglielmin PDF-91 - Added configuration of toolbar visibility via properties file attributes such as 'application.toolbar.show.utility'
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: