public interface DiagramExporter
Modifier and Type | Method and Description |
---|---|
Config |
getCfg()
Returns the configuration, containing also diagram export options.
|
java.io.File |
saveToFile(UmlObjectBuilder<?> dia,
Util.ImageFormat format,
boolean throughClipboard)
Copies diagram
dia to a file with format , in the pics output
directory (per configuration) and returns the created file. |
Config getCfg()
java.io.File saveToFile(UmlObjectBuilder<?> dia, Util.ImageFormat format, boolean throughClipboard) throws java.io.IOException
dia
to a file with format
, in the pics output
directory (per configuration) and returns the created file.dia
- diagram representationformat
- image formatthroughClipboard
- if true, image will be copied to clipboard and then saved as bitmap file (i.e.,
format
will be ignored).java.io.IOException
- if file creation failed.Copyright 2009-2016 Tatjana (Tanja) Kostic