Published Date: July 3, 2026
Audience: Everyone
Products and Versions Covered:
- Jama Connect® version(s)
- Cloud/CVC
- Self-hosted
Summary
An Office Template's formatting does not always fully meet requirements on its own. Common problems include oversized images, tables wider than the page, unwanted rich text in the table of contents, inconsistent fonts, and empty paragraphs. A Word VBA macro can quickly fix these common issues. For more complete control over formatting, a Velocity template offers greater flexibility.
Resolution
Option A: Word VBA Macro
An Office Template macro that fixes common issues is available on GitHub: VBA_Word-Basic_Export
The macro runs automatically when you open an export from Jama, provided you enable macros after opening the document. It performs the following:
- Resizes all images to fit on a single page
- Resizes all tables to no wider than the page
- Fixes unwanted Rich Text appearing in the Table of Contents
- Adjusts all text to Arial font, regardless of what Jama specifies
- Removes all empty paragraphs
Option B: Velocity Template
For an example of what Velocity can produce, see attached FormattedDocumentExample.docx, generated directly from Jama with no post-processing beyond updating fields and saving as .docx.
A Velocity template can handle:
- Two-column format
- Placing content in tables
- Table formatting
- Image resizing
- Text reformatting
- Headers and footers
- Table/figure captions and references
- Converting links between Jama items into Word cross-references
Comparing the two approaches
| Word Macro | Velocity Template | |
|---|---|---|
| Pros |
|
|
| Cons |
|
|
Additional Resources (for all external articles)
- Custom Reports and Available Standard Reports
- Success Programs
- Success Catalog
- Datasheets
- Request a Solution Offering or Training from the Success Catalog
Feedback:
We welcome your input! Please sign in to leave any comments, suggestions, or ideas for improvement below.
Comments
0 comments
Please sign in to leave a comment.