pub struct LabelCreate {
pub combine_spouses: Option<bool>,
pub person_ids: Value,
pub sortpolicy: Option<String>,
pub type: String,
pub extra: Map<String, Value>,
}Expand description
Creates an address-label PDF for the selected visible persons. Uses stored person fields and relationship data at generation time.
Fields§
§combine_spouses: Option<bool>Combine selected visible spouses linked by relationship type 2 into one label. Their addresses need not match. Birthday sorting always disables this option.
person_ids: ValueSelected person IDs. Prefer an array of integers; legacy comma-separated strings and a single integer are also accepted. Duplicate IDs do not duplicate labels. Empty selection yields no persons; nonexistent or invisible persons are omitted.
sortpolicy: Option<String>name sorts by surname/given name; postal by country/postal code/street/name; birthday by month/day/year/name. Birthday sorting forces separate labels. Unrecognized values currently retain initial name order.
Allowed values: birthday, name, postal.
type: StringA4 sheet layout: Avery3475 has 24 labels (70×36 mm), Herma4425 has 10 (105×57 mm), Herma4677 has 21 (63.5×38.1 mm).
Allowed values: AveryLabels3475, HermaLabels4425, HermaLabels4677.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.