1 Reply Latest reply on Oct 4, 2016 4:27 AM by [Jongware]

    Get text variable via API

    ab9321832

      Hello,

      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.