Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

DOCX syntax support



There is a limited level of support for the syntax in the DOCX generation.

Supported elements

The following elements are supported:
Supported elements
Element Comment
title -
div -
br -
empty -
hr -
date -
title -
moreInfo -
resource -
table Including "caption", "column" and "cell" elements
pre Including hightlighting
source Including hightlighting
code -
img -
anchor -
ref -
a -
wikipedia -
mediawiki -
javadoc -
qtdoc -
email -
block -
blockquote -
ul Including "li" elements
ol Including "li" elements
tree Trees are represented by default as bulleted lists. See also tree element support
messageBox -
box -
infoBox -
note -
todo -
todolist -
video The video is not embedded, only an hyperlink to the video is added

Elements with limited support

tree element support

trees are represented by default as bulleted lists.

If the treeAsList is set as true, then the tree items will be represented as boxes.

For example, suppose this tree:
   <tree border="true" borderColor="black" fillColor="magenta">
      <li>Parent
         <li>child 1</li>
         <li>child 2</li>
      </li>
   </tree>
we have the following html result:
treehtml
The default docx representation (as lists) is:
treedocxlist
The representation as boxes if treeAsList is true is:
treedocxbox

Unsupported elements

These elements are not supported for the moment:

See also


Categories: docx

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.