We are creating c++ plugin. It uses InDesign SDK. The following task occurred: We have a WRangeData object and want to obtain the text and text variables (value and position) inside of this range. It's clear how to get the text, but it's not clear how to get the variables. We've found some interfaces ITextVariableTable, ITextVariableFacade, ITextVariableSuite, but it's not clear how to use them to reach the goal. Also, there is the class VariableTypeInfo which exists in the documentation, but no declaration in SDK headers. Some methods of these interfaces return the object of VariableTypeInfo.