Evaluate all the current tab vectors.
| 933 | |
| 934 | // Evaluate all the current tab vectors. |
| 935 | void TabFind::EvaluateTabs() { |
| 936 | TabVector_IT rule_it(&vectors_); |
| 937 | for (rule_it.mark_cycle_pt(); !rule_it.cycled_list(); rule_it.forward()) { |
| 938 | TabVector* tab = rule_it.data(); |
| 939 | if (!tab->IsSeparator()) { |
| 940 | tab->Evaluate(vertical_skew_, this); |
| 941 | if (tab->BoxCount() < kMinEvaluatedTabs) { |
| 942 | if (textord_debug_tabfind > 2) |
| 943 | tab->Print("Too few boxes"); |
| 944 | delete rule_it.extract(); |
| 945 | v_it_.set_to_list(&vectors_); |
| 946 | } else if (WithinTestRegion(3, tab->startpt().x(), tab->startpt().y())) { |
| 947 | tab->Print("Evaluated tab"); |
| 948 | } |
| 949 | } |
| 950 | } |
| 951 | } |
| 952 | |
| 953 | // Trace textlines from one side to the other of each tab vector, saving |
| 954 | // the most frequent column widths found in a list so that a given width |
nothing calls this directly
no test coverage detected