Changes between Version 5 and Version 6 of BOOK_PRINTING_R0
- Timestamp:
- 03/26/09 14:15:07 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BOOK_PRINTING_R0
v5 v6 47 47 48 48 When print is invoked it should: 49 * Collect all the Resources of the Book50 * Find print presentation of each Resource (if more than one to choose the most appropriate)51 * Create a java.awt.print.Book instance with pages and presentations52 * Create a PrintJob with the java.awt.print.Book instance (PrintJob#setPageable)53 * Open the dialog for the PrintJob and print49 * Collect all the Resources of the Book 50 * Find print presentation of each Resource (if more than one to choose the most appropriate) 51 * Create a java.awt.print.Book instance with pages and presentations 52 * Create a PrintJob with the java.awt.print.Book instance (PrintJob#setPageable) 53 * Open the dialog for the PrintJob and print 54 54 55 55 The current desing allows to make only one presentation for the whole Book itself and to handle pagination in it, but I think it's a better way to create separate presentations for each Resource. However the choise is up to the implementor. 56 56 57 57 It's important to know that when using JRE that is lower than Java 6 update 10, NullPointerException will be thrown. That's why a try/catch should be used to alert the user if this happens and to ask to use at least JRE 6 update 10. 58 59 See the Related section for tutorials and more information about the bug. 58 60 = Implementation = 59 61 ^(Describe and link the implementation results here (from the wiki or the repository).)^