Commit b0376fc
committed
NameProcessor: add getMarriedSurnames() for birth+married rendering
When a chart consumer wants to display birth name with married surname
appended (e.g., "Schmidt (Müller)"), the existing useMarriedName
constructor flag does not help — it switches the primary name out
entirely.
Add a small additive method that returns just the married-surname
parts from a matching _MARNM record. When a spouse is given, only
_MARNM records whose surn matches the spouse's surn are returned.
Empty array when no _MARNM matches.
Composition (parens, separator, etc.) is left to the consumer so
chart modules can pick their own visual format.1 parent ef795db commit b0376fc
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
254 | 298 | | |
255 | 299 | | |
256 | 300 | | |
| |||
0 commit comments