| [news.eclipse.platform.swt] Re: SWT Table printing |
Is there any way to print a grid being displayed on the screen as one sees
it on the screen. In othe words we intend to develop a What You See Is What You Get system for grid printing. Some of the cells have data which is not present in the corresponding TableItem object. What I want to know is, if there is a SWT component that is rendering the grid on the screen then is it possible to get a reference to this object(SWT component that is rendering the grid on the screen)and redirect this component to printer ? I know how to redirect it to a printer but I do not know what this component is and how to get a reference to this component. Table may not be the component because TableItem has'nt got data present in few cells of grid. We populate this data from some other source.
Snippet: "Print a control to a printer" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet292.java?view=co
Matthew