Skip to content

Interface: ModernComment ​

One modern comment or reply (p188:cm / p188:reply), with its author resolved via the registry.

Properties ​

author ​

author: string | null

Resolved author display name (via @authorId → authors.xml), or null when unresolved.


authorId ​

authorId: string | null

The comment's @authorId GUID, or null when absent.


authorInitials ​

authorInitials: string | null

Resolved author initials, or null when unresolved.


created ​

created: string | null

Creation timestamp (@created, ISO-8601 as written), or null when absent.


id ​

id: string | null

The comment's own GUID id (@id), or null when absent.


replies ​

replies: ModernComment[]

Nested replies in thread order; each is itself a ModernComment with no further replies.


text ​

text: string

The comment body text; multiple paragraphs are joined with \n.


x ​

x: number | null

Marker X position in EMU (p188:pos/@x), or null (replies carry no position).


y ​

y: number | null

Marker Y position in EMU (p188:pos/@y), or null (replies carry no position).