Details
-
Type: Improvement
-
Status: Closed
-
Priority: 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 -
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 | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/res/ICEpdfDefault.properties
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/PageThumbnailComponent.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/Parse.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ThumbnailsPanel.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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);