Just implement every FreeHEP output format (except SWF). Including the bitmap ones. Assuming it can be done in a uniform way, but I assume so.
GUI for choosing output format: JFileChooser can handle multiple formats, but FileDialog can't and Mac users don't like JFileChooser. So best handle format selection in a separate dialog before the file chooser. That will also be a handy place to integrate any other export options (e.g. resolution for bitmaps). Alternatively, maybe the JavaFX file chooser could be a saviour here.
Apart from multipage PDF, I think multi-format output will mainly involve generalizing saveToSvgFreehep with a big old switch statement.
Just implement every FreeHEP output format (except SWF). Including the bitmap ones. Assuming it can be done in a uniform way, but I assume so.
GUI for choosing output format: JFileChooser can handle multiple formats, but FileDialog can't and Mac users don't like JFileChooser. So best handle format selection in a separate dialog before the file chooser. That will also be a handy place to integrate any other export options (e.g. resolution for bitmaps). Alternatively, maybe the JavaFX file chooser could be a saviour here.
Apart from multipage PDF, I think multi-format output will mainly involve generalizing saveToSvgFreehep with a big old switch statement.