fieldset comment fixes
This commit is contained in:
parent
74db7e8754
commit
7be1816a46
|
@ -436,6 +436,8 @@ public class WordBuilderImpl implements WordBuilder {
|
|||
}
|
||||
if (propertyDefinitionFieldSetModel.getComment() != null && !propertyDefinitionFieldSetModel.getComment().isEmpty()) {
|
||||
addParagraphContent("<i>Comment:</i>\n" + propertyDefinitionFieldSetModel.getComment(), mainDocumentPart, ParagraphStyle.HTML, numId, indent);
|
||||
hasValue = true;
|
||||
returnedValue = true;
|
||||
}
|
||||
if (!hasValue && paragraphPos > -1) {
|
||||
mainDocumentPart.removeBodyElement(paragraphPos);
|
||||
|
|
Loading…
Reference in New Issue