| 69 | } |
| 70 | |
| 71 | bool TessResultRenderer::BeginDocument(const char* title) { |
| 72 | if (!happy_) return false; |
| 73 | title_ = title; |
| 74 | imagenum_ = -1; |
| 75 | bool ok = BeginDocumentHandler(); |
| 76 | if (next_) { |
| 77 | ok = next_->BeginDocument(title) && ok; |
| 78 | } |
| 79 | return ok; |
| 80 | } |
| 81 | |
| 82 | bool TessResultRenderer::AddImage(TessBaseAPI* api) { |
| 83 | if (!happy_) return false; |
no outgoing calls
no test coverage detected