ICEpdf
  1. ICEpdf
  2. PDF-359

Add ability to enlarge thumbnails

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      With regards to PDF-12, a nice to have feature would be the ability to enlarge the thumbnails.

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case [5007000000JMwy9]
        Description With regards to PDF-12, a nice to have feature would be the ability to enlarge the thumbnails.

        With regards to PDF-12, a nice to have feature would be the ability to enlarge the thumbnails.
        Patrick Corless made changes -
        Fix Version/s 4.3 [ 10266 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27187 Fri Jan 13 12:11:53 MST 2012 patrick.corless PDF-359 addition of new PropertyManager property application.utilitypane.thumbnail.zoom, for changing the zoom level used to create page thumbnails in the thumbnail view of the utility panel.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/res/ICEpdfDefault.properties
        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/PageThumbnailComponent.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/Parse.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ThumbnailsPanel.java
        Hide
        Patrick Corless added a comment -

        I've add a new property in the Properties manager PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM which can be used the change the default zoom level from 0.1f to what ever value one would like.

        Here's an example of how it would be used.

        PropertiesManager properties =
        new PropertiesManager(System.getProperties(),
        ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE));
        properties.setFloat(PropertiesManager.PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM, 0.3f);

        SwingViewBuilder factory = new SwingViewBuilder(controller, properties);
        controller.getDocumentViewController().setAnnotationCallback(
        new org.icepdf.ri.common.MyAnnotationCallback(
        controller.getDocumentViewController()));
        JPanel viewerComponentPanel = factory.buildViewerPanel();

        JFrame applicationFrame = new JFrame();
        applicationFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        applicationFrame.getContentPane().add(viewerComponentPanel);
        controller.openDocument(filePath);

        Show
        Patrick Corless added a comment - I've add a new property in the Properties manager PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM which can be used the change the default zoom level from 0.1f to what ever value one would like. Here's an example of how it would be used. PropertiesManager properties = new PropertiesManager(System.getProperties(), ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE)); properties.setFloat(PropertiesManager.PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM, 0.3f); SwingViewBuilder factory = new SwingViewBuilder(controller, properties); controller.getDocumentViewController().setAnnotationCallback( new org.icepdf.ri.common.MyAnnotationCallback( controller.getDocumentViewController())); JPanel viewerComponentPanel = factory.buildViewerPanel(); JFrame applicationFrame = new JFrame(); applicationFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); applicationFrame.getContentPane().add(viewerComponentPanel); controller.openDocument(filePath);
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: