NAME
odffindbasic - Basic macro removal from OpenOffice.org files
USAGE
odffindbasic [options] <sourcefile> [<targetfile>]
DESCRIPTION
A simple command that allows the user to detect, export or remove the Basic modules from a regular OpenOffice.org file.
Without option, the program displays the number of Basic modules found in the file.
The 2nd filename is used in combination with the --delete option.
OPTIONS
--nocountPrevents the program from displaying the number of Basicmodules found.--delete -dIf this option is set, the Basic modules are physicallydeleted. The file manifest is updated accordingly.However, the document content remains unchanged, even ifit contains some references to the deleted macros. Thecode is removed (so the macros are no longer executable).If a target file name is provided as a 2nd argument, thechanges are saved in it and the source file remainsunchanged.--export -eExports the macros. Every Basic module is extracted andconverted to a flat Basic source file in the currentdirectory. The name of each created file is constructedaccording to the corresponding path in the ODF file, andits suffix is "bas".--list -lThe Basic modules are listed through the standardoutput.--verboseSome information messages are printed.