interface IPDF2Word : IDispatch
{
// open source .pdf file
HRESULT open(BSTR src);
// the main conversion cycle
HRESULT convert(BSTR dest);
// get progress of the conversion
HRESULT get_conversion_progress([out,retval] LONG* progress);
// set pages range (e.g. "1,3,5-7")
HRESULT set_pages([in] BSTR newVal);
// set password (to process protected PDF documents)
HRESULT set_pswd([in] BSTR newVal);
// get/set optimization mode (1 - preserve original layout,
// 2 - optimize for text flow)
HRESULT mode([out, retval] LONG* pVal);
HRESULT mode([in] LONG newVal);
// get/set 'Convert PDF graphics' property
HRESULT convert_graph ([out, retval] LONG* pVal);
HRESULT convert_graph ([in] LONG newVal);
// get/set 'Recognize Tables' property
HRESULT get_convert_tables([out,retval] BYTE* pVal);
HRESULT put_convert_tables([in] BYTE newVal);
};