| 1096 | } |
| 1097 | |
| 1098 | STDMETHODIMP OpAutomation::ExtractWordRectsEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, |
| 1099 | LONG min_word_w, LONG min_word_h, LONG padding, BSTR *ret_str) { |
| 1100 | if (!ret_str) |
| 1101 | return E_POINTER; |
| 1102 | |
| 1103 | wstring s; |
| 1104 | obj.ExtractWordRectsEx(x1, y1, x2, y2, color, sim, min_word_w, min_word_h, padding, s); |
| 1105 | return CopyOutBstr(ret_str, s); |
| 1106 | } |
| 1107 | |
| 1108 | STDMETHODIMP OpAutomation::FetchWords(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words, |
| 1109 | LONG min_word_h, BSTR *ret_str) { |
no test coverage detected