exporter.setDestination(page1.getDestination());
final IRunnableWithProgress op = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor)
throws InvocationTargetException, InterruptedException {
try {
exporter.export(monitor);
} catch (Exception e) {
throw new InvocationTargetException(e);
}
}
};