Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Label Fields

Label fields are placeholders for labels, side labels, column labels etc.

Label fields are only set once for the entire document, unlike, regular fields which are set every time a bookmark is pasted.

Label fields are set by adding the label option to the field.

For example: {order label}: {order 00000}

Note that the label option can be added to any field type not just text fields so it can also be used for any field that only needs to be set once in the document.

Label CSV File

The label CSV file is used to set the label fields according to the current locale.

The label CSV file contains 3 columns -

  1. Locale
  2. Field name
  3. Value

The label CSV file is set by the setLabelFile() method in the WordProcessingMerger class before loading the template.

Note that 

AKIOMA.Offer! Notes -