pdx:addComment

Inserts a comment into the Word document.

Description

Element definition

This element allows the insertion of a Word comment into the current Word document.

You may fully customize the comment content including all kind of elements like paragraphs of text with sophisticated formatting, images, links or even tables and HTML content.

If one wishes to insert a comment within a complex paragraph one should use this element in combination with the addText element.

Attributes and sub-elements
key Description
initials The initial that will be shown in the comment balloon.
author The name of the author of the comments.
date A date string as the ones used for the strtotime PHP method.
Code samples
#Example 1

config.xml

content.xml

settings.xml

The resulting Word document looks like: