-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.6-RC1
-
Component/s: Renditions
-
Tags:
It is possible to add a bookmark in a Word template to handle a picture property, but it generates an error on rendition if the rendered document does not have a picture associated to the property.
If other properties can be handled when not existing, using
instead of
{my.property}, it is not possible to use symbols like "
{", "}" or "!" in a bookmark name in Word. So the process should deal with this particular case.
Basically, inside XDocReport, the picture variable are managed in a very specific way, and I don't want to change code directly inside XDocReport at this point because we are too close from the release and we need to keep aligned on a released version of XDocReport.
So, it is not possible to manage "if" on Picture, but we can provide a default empty picture so that when the associated Picture property is empty, the rendering is not broken.
But the parameter binding needs to be defined, otherwise I can not do anything ...