remove chapters and articles as well as ocr before resent to docworks.

This request include fix for additional requirement to delete existing chapters and articles (parts) before sending to docworks.