CPonty / templ-dot-net

A C# report generation engine combining strongly-typed models and annotated .docx templates.
GNU General Public License v2.0
15 stars 6 forks source link

Add "Caption" feature for Pictures #8

Closed CPonty closed 8 years ago

CPonty commented 9 years ago

This will involve:

CPonty commented 8 years ago

Rejected automatic insertion, as this means users won't be able to format the text in the document in any way.

Instead I have simply given TemplGraphic a Description text field, which can be accessed in the document if users want a simple string.

Formatting functionality can already be achieved using text properties in the model (either singular, or as part of a collection).

Example added to the ContentDemo report.