Dear Aspose!
Document.getMailMerge().getFieldNames() result only MERGEFIELD fields but not MERGEBARCODE fields.
getFieldNames() should return MERGEBARCODE also, or provide a new function which returns MERGEBARCODE fields.
Thank You!
Dear Aspose!
Document.getMailMerge().getFieldNames() result only MERGEFIELD fields but not MERGEBARCODE fields.
getFieldNames() should return MERGEBARCODE also, or provide a new function which returns MERGEBARCODE fields.
Thank You!
@EPluribusUnum
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-25526
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
For now you can use code like the following to get names of MERGEBARCODE
fields:
Document doc = new Document("C:\\Temp\\in.docx");
// Print names of MERGEBARCODE fields.
for (Field f : doc.getRange().getFields())
{
if(f.getType() == FieldType.FIELD_MERGE_BARCODE)
{
FieldMergeBarcode mergeBarcode = (FieldMergeBarcode)f;
System.out.println(mergeBarcode.getBarcodeValue());
}
}
The issues you have found earlier (filed as WORDSNET-25526) have been fixed in this Aspose.Words for Java 23.7 update.