Skip to main content

legacy_comment_for_cell

Function legacy_comment_for_cell 

Source
pub fn legacy_comment_for_cell(
    threaded_comments: &Option<ThreadedComments>,
    cell: &str,
) -> Option<(String, String)>
Expand description

Build the legacy comment Excel requires for the thread on cell.

Returns (author, text) where the author is tc= followed by the thread root ID and the text is Excel’s placeholder followed by the root comment and each reply. Returns None when the cell has no threaded comment.