NAME

search - Text selection and copy from one document to another using callback

SYNOPSIS

This sample script extracts the content of every text element (paragraph, header, list item) in a source document matching a given pattern (string or regex), and appends it as a new paragraph to a target document.

The target OpenOffice.org document must exist (it can be an empty document or a template).

usage : search target_file source_file "search_string"