...
Button bars can be configured to contain a set of buttons, each with an associated Document Action to be executed
Structured Text
A structured text variable can hold long text (behaves the same way) but can also contain tagged (structured) text.
This variable can then be mapped to a pre-defined mapping in the BackOffice, where you map tags to styles.
...
Actions
See Getting Started with Document Actions for an overview of possibilities of Document Actions. From the context of Variable Data, the following actions are possible. Note that for complex actions, it might make more sense to use Document Event Actions, which allow you to group logic for the entire set of defined variables.
...