CIB merge technical documentation (EN)
6. Call parameters in detail
6.30. Parameter --filter
[-f / -ff]
With the parameter --filter CIB merge does not evaluate the field contents, but only reads the input file and writes the output file according to the set parameters.
Syntax
--filter
or
--filter=f
Description
With --filter the field contents are not evaluated, but parsed and translated. This can be prevented with the switch f = "fast". So --filter=f filters faster (without syntax check of the RTF stream), --filter can detect errors in the fields more easily.
--filter=f (or also -ff) is mostly used to optimize or encrypt RTF projects before testing and delivery, see chapter Overview: Optimization, Encryption and Compression and parameter --field-results.
Example
--inputfile=Optimierung_in.rtf --outputfile=!Optimierung_out.rtf --optimize --short-tokens --compress=9 --filter=f
Here some optimizations (see respective parameter) are carried out and no field contents are mixed in.
The use of this parameter together with optimization parameters is demonstrated in the usage example Gap Text.
In the usage example Templates, the parameter is used together with --field-results.