

You can use macros described in this chapter to export specified shapes only from document. You may do it without using slices. I called my own alternative as Export Slice Objects (ESO). In contrast to standard slicing technique with using a special layer and draw slice rectangles, in my solution - you assign a special information directly into shapes which you want to export. Another difference is that you may change position and resize this marked shapes within your document and you will still be able to export only this objects properly.
You may export any kind of CorelDRAW shapes using this technique. Only thing you must do is to select a desired shape and run mark for ESO macro
. This operation works in two ways:
- Marks selected object to be exported later
- Assign the output file name
Optionally you may set custom resolution and Anti-Aliasing for objects.
).
macro. Once you take some time to assign ESO names for objects, then you may export jpeg files for all of marked objects with a one command any time you make some changes for this objects. All of files will be generated into a subdirectory where the active document resides named as the document name + suffix "_ESO".The ESO macros:
clear ESO data from object
macro: Layouter.clearESOdata
This macro clears all of related ESO data from selected object(s). Use it if you do not want to export this object after you have marked it previously.
mark ESO object
macro: Layouter.markForEso
This macro marks selected object to be exported later. You will be prompted to enter output name for this object.
set resolution of the ESO object
macro: Layouter.ESOResChange
Use this macro to change default resolution which is use while exporting objects. The default value: 72dpi
set anti-alias of the ESO object
macro: Layouter.ESOAntiAliasChange
Use this macro to change default Anti-Alias value which is use while exporting objects. The default value: 0 (none). You may use 1 - normal anti-aliasing, 2- supersampling.
export the marked ESO objects
macro: Layouter.exportESO
Run this macro after you have marked for ESO all objects you want to export. All of files will be generated into a subdirectory where the active document resides named as the document name + suffix "_ESO". Export will be done only for defined page range.



