Variables and Conditions in Word
On the Properties tab, you can define custom variables to use throughout your source documents. To insert a variable in your content, create field code that references the custom property you created. You can also use field codes to display the contents of a specific style type, such as the previous Heading 1.
For conditions in your generated output, you can use the field codes (markers) supported by ePublisher. You can also use paragraph and character styles to identify conditional content. With this style approach, you need to create extra styles for each condition you need. Then, you can create multiple templates that show or hide specific styles. By attaching the appropriate template, you can include or exclude the appropriate content in your printed output. You can also include or exclude content from your generated output based on styles.