28.3.7 Creating macro variables from paragraph content
Two [*Styles] properties, TextStore and CodeStore, allow you to assign text or code to a paragraph format, and have the content of any paragraph in that format stored in a macro variable for later insertion in the output.
§28.3.7.1 Capturing paragraph content with the TextStore property
§28.3.7.2 Inserting code with the CodeStore property
§28.3.7.3 Understanding why TextStore and CodeStore work differently
> 28 Working with macros > 28.3 Using macro variables > 28.3.7 Creating macro variables from paragraph content