extern void * KADMOS_API rep_text
(const RepData *, unsigned char reject_level,
int reject_char, char *indent, int indent_count, long text_format);
repdataRepData.reject_levelreject_charindentindent_countident.text_formatTEXT_FORMAT_ANSI or TEXT_FORMAT_KADMOS_MULTIBYTE.
TEXT_FORMAT_RELRESULT_INDICES provides the output sequence of the individual recognized characters under 'buffer'.
The result graphs of rel_do() or rep_do() are always arranged so that the recognized characters
are lined up from left to right. For accented characters, the components are output from top to bottom. re * _textline() also do this automatically. However, some integrators
explicitly need the positions of the characters and accents, so they must access the associated RelResult
structures. This is possible by calling re * _textline() with the parameter
TEXT_FORMAT_RELRESULT_INDICES.RE_SUCCESS or KADMOS error type.
rep_text() returns the full result text of a paragraph. rep.init.rep_memory must
be allocated before this. With a call to free (return_value), the allocated memory can be freed again.
If successful, the function RE_SUCCESS returns, in case of error a corresponding error type.
Clear text information about errors that have occurred can be queried with re_GetErrorText() or
displayed with re_DisplayErrorText().