Table of Contents

Method FindPlaceholderNames

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

FindPlaceholderNames(XlsxPlaceholderOptions?)

Lists the placeholders the sheet's text cells hold, such as {{Customer}}.

public IReadOnlyList<string> FindPlaceholderNames(XlsxPlaceholderOptions? options = null)

Parameters

options XlsxPlaceholderOptions

How placeholders are written, or null for the defaults ({{ and }}, names trimmed).

Returns

IReadOnlyList<string>

The names, each once, in ordinal order.

Exceptions

ArgumentException

The prefix or the suffix is empty.

InvalidDocumentException

The sheet's part is malformed.