Merge 29b758c58a
This commit is contained in:
commit
c91c793683
@ -1,14 +1,13 @@
|
||||
*Socialmetrica
|
||||
exportAsFileNamed: aName into: aFolder
|
||||
|
||||
self pngExporter
|
||||
zoomToShapes;
|
||||
noFixedShapes;
|
||||
fileName: (aFolder / (aName, 'png')) fullName;
|
||||
export.
|
||||
"self pdfExporter
|
||||
zoomToShapes;
|
||||
noFixedShapes;
|
||||
fileName: (aFolder / (aName, 'pdf')) fullName;
|
||||
export."
|
||||
| exporters |
|
||||
exporters := {'png' -> #pngExporter .
|
||||
'pdf' -> #pdfExporter } asDictionary.
|
||||
exporters keysAndValuesDo: [:k :v |
|
||||
(self perform: v)
|
||||
zoomToShapes;
|
||||
noFixedShapes;
|
||||
fileName: (aFolder / (aName, '.', k)) fullName;
|
||||
export.
|
||||
].
|
||||
^ aFolder / aName, 'png'
|
Loading…
Reference in New Issue
Block a user