The constant kTotalEnd (== -3) is used as the identifier for the end of the text including all tabular texts.
The constant kTotalEnd (== -3) is used as the identifier for the end of the text including all tabular texts. The value of the variable is not the text length.
InDesign® organizes text from text models so that the tabular text is placed internally directly behind the actual text. The flag kTotalEnd appears after the absolute final character of the text model and the call textmodel::insert ("a", kTotalEnd) inserts an "a" at the end of the last cell of the last table. The last table need not always the last that is located in the text. For InDesign® the last table is the table which was the last to be created.
In the call table::insert_taggedtext kann kEnd is used instead of kTotalEnd because it is clear here that tabular text is meant.
Alphabetic index HTML hierarchy of classes or Java