captionless_table_of_figures_label property

FieldToc.captionless_table_of_figures_label property

Gets or sets the name of the sequence identifier used when building a table of figures that does not include caption’s label and number.

@property
def captionless_table_of_figures_label(self) -> str:
    ...

@captionless_table_of_figures_label.setter
def captionless_table_of_figures_label(self, value: str):
    ...

Examples

Shows how to set the name of the sequence identifier.

doc = aw.Document()
builder = aw.DocumentBuilder(doc=doc)
field_toc = builder.insert_field(field_type=aw.fields.FieldType.FIELD_TOC, update_field=True).as_field_toc()
field_toc.captionless_table_of_figures_label = 'Test'
self.assertEqual(' TOC  \\a Test', field_toc.get_field_code())

See Also