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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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);