The ecf_level is an integer 0-3 which sets the empty cell filtering level, as described for the Format Conversion panel in 14.10. The values are
0 | No empty cell filtering. |
1 | Apply pre- and post-filtering. |
2 | Apply pre-filtering only. |
3 | Apply post-filtering only. |
The rw argument is a boolean value that if zero indicates that the flags will be applied when converting archive files, as if set from the Format Conversion panel, and also apply to the FromArchive script function. With rw nonzero, the flags apply when writing output with the Export Control panel, or when using the Export and ToXXX script functions. In this case, the no_empties flag is ignored, and the windowing is ignored except when flattening.
The data window can be set with the SetConvertArea script function. To apply clipping, both the use_window and clip flags must be set.
This function returns the previous value of the internal variable that contains the flags. The two ecf filter bits encode the filtering level as above. The bits are:
flatten | 0x1 |
---|---|
use_window | 0x2 |
clip | 0x4 |
ecf level0 | 0x8 |
ecf level1 | 0x10 |
The rw argument is a boolean value that if zero indicates that the values will be applied when converting archive files, as if set from the Format Conversion panel, and also apply when using the FromArchive script function. With rw nonzero, the values apply when writing output with the Export Control panel, or when using the Export and ToXXX script functions. In this case, windowing is ignored except when flattening.
Use of the window can be enabled with the SetConvertFlags script function.
The function always returns 1.