Print Functional Specification

Revision: 1.7
Date: 2008/03/06 14:34:15

1. Introduction

Orchestration Designer will support both Process Diagram and BPEL source file printing. Wherever printing conventions are already in place within the NetBeans IDE, the Orchestration Designer will follow those conventions. The Orchestration Designer will also add some particular user interfaces to address particular issues that apply to diagram printing and are not covered by existing NetBeans conventions or user interfaces.

2. Use Cases and Scenarios

UC1: User wants to print the business process diagram

Scenario:

UC2: User wants to preview the business process diagram printout

Scenario:

UC3: User wants to print the BPEL source code

Scenario:

UC4: User wants to preview the BPEL source code printout

Scenario:

UC5: User wants to print the BPEL source code to HTML

Scenario:

3. Specification

File Menu Actions

File
   New Project...     Ctrl+Shift+N
   ...
   -----------------
   Page Setup...                        //  Standard Page Setup dialog
   Print...           Ctrl+Alt+Shift+P  //  Print Preview dialog
   Print to HTML...                     //  Printing sources to HTML
   -----------------
   Exit
Print to HTML, Print Preview actions are contextual to a selected node in the Projects View (if it has focus) or active view in the multiview editor if editor or any other view has focus. In general, some of the actions may not be implemented for all the views and in that case they are disabled. Currently, Print to HTML is only enabled for Source and Print Preview is only enabled for Design View.

Print Preview Window

Print Preview is a modal resizable window.









Figure - Print Preview Window
Note: This is just a mockup; actual icons on the buttons are defined in the following sections and the insets should correspond to the guidelines.

Components:

Print Options Dialog

In the Print Options dialog the user can set various attributes for printing. These are persisted between different invocations of the dialog as well as starts of the IDE.











Figure - Print Options Dialog

4. Hints

  1. Press Ctrl (or press right mouse button) and scroll mouse wheel: preview scale will be changed.

  2. Double click with left mouse button on Preview dialog: preview scale will be “Fit to Window”.

  3. Double click with right mouse button on Preview dialog: all pages are fitted in window.

  4. In Scale text field on Preview dialog press '+': preview scale will be increased.

  5. In Scale text field on Preview dialog press '-': preview scale will be decreased.

  6. In Scale text field on Preview dialog press '*' or '/': preview scale will be “Fit to Window”.

  7. Press Ctrl+Alt+Shift+P: Print Preview dialog appears.

  8. Double click on Preview dialog fits first page to window, double click again: it fits all pages to window.

  9. Button <|> shows one/all pages.

  10. Print Preview works not for diagram only but for bpel sources too.