ExVEx.OOXML.Comments (ExVEx v0.2.0)

Copy Markdown View Source

Parse, shift, and serialize an xl/comments*.xml part.

Comments are addressed by ref="A1" on each <comment> element. A structural row/column shift on the owning sheet rewrites those refs; comments inside a deletion span are dropped.

Summary

Functions

shift_xml(xml, shift)

@spec shift_xml(binary(), ExVEx.Mutation.Shift.t()) ::
  {:ok, binary()} | {:error, term()}