HTML Extended: <phpdocx_comment> tag

<phpdocx_comment> tag

PREMIUM TRIAL / ADVANCED

Inserts a comment.

HTML Extended (Premium licenses)
Tags
phpdocx_comment_textcomment
phpdocx_comment_textdocument
Attribute Description
data-author The name of the author of the comments.
data-completed False as default, sets the comment as completed. Compatible with MS Word 2013 or newer.
data-date A date string as the ones used for the strtotime PHP method.
data-initials The initial that will be shown in the comment balloon.
data-paraId If null, it auto generates it. Comment ID.
data-pStyle Paragraph style. Default as CommentTextPHPDOCX.
data-rStyle Character style. Default as CommentReferencePHPDOCX.
data-type block or inline. Default as block.
Code samples

Example #1

The resulting Word document looks like: