LineItemExtract
This is an delegate of the UserExitLineItemExtract and has the following parameters:
-
IWorkdoc doc
-
ITable table
-
int row
-
List<ITextBlock> lines
-
Liest<Tuple<BoundingBox, string>> header
-
Bool isOnlineLearningResult
This user exit enables you to populate the custom line item columns or change the extracted values for other columns. This user exist is called once for each extracted row.
The provided lines cover the text lines that include extracted cell values for the current line item. In the case of multi-line, line items, there may be additional lines above or below where cell values are extracted already, but may contain information that you can use for custom extraction.
The header information is optional and is provided if a line item header is detected only. If the header information is available, it is provided as a list of tuples with position coordinates along with the corresponding text from the header. This information may be useful for custom extraction purposes.
If the table is extracted based on trained documents and online learning, it is possible that the corresponding fields are populated already, and overwritten with the training information. It is up to you to configure your solution to decide whether additional steps are required.