'Declaration Public Enum WordDocumentWriterExceptionReason Inherits System.Enum
public enum WordDocumentWriterExceptionReason : System.Enum
Member | Description |
---|---|
CellNotClosed | A table cell was opened, but was not properly closed. |
CellNotClosedTableClosed | A table was closed, but closure of a previously opened table cell is pending. |
CellNotOpen | An attempt was made to close a table cell when there is currently no open cell. |
CellOpenSectionStarted | An attempt was made to define a section when a table cell was open. |
DocumentClosureError | An exception was thrown during the course of closing a document. The inner exception contains more specific information about the error. |
DocumentNotOpen | A write method was called before the document was opened. |
FooterWriterError | An exception was thrown during the course of writing content to a footer section part. The inner exception contains more specific information about the error. |
HeaderFooterWriterClosureError | An exception was thrown during the course of closing a header or footer writer. The inner exception contains more specific information about the error. |
HeaderFooterWriterNotClosed | The document writer was closed, but closure of a header/footer writer is still pending. |
HeaderFooterWriterNotOpened | The document writer was closed, but a header/footer writer that was previously created was never opened. |
HeaderWriterError | An exception was thrown during the course of writing content to a header section part. The inner exception contains more specific information about the error. |
NestedCell | An attempt was made to add a table cell when one is already open in the same table. |
NestedParagraph | An attempt was made to start a paragraph when one is already open. |
NestedRow | An attempt was made to add a table row when one is already open in the same table. |
NestedTable | An attempt was made to start a table when one is already open. |
None | Used for variable initialization. |
ParagraphNotClosed | A previously opened paragraph was not closed. |
ParagraphNotClosedSectionStarted | A new section was started before all paragraphs were closed. |
ParagraphNotClosedTableCellStarted | A new table cell was started before all paragraphs were closed. |
ParagraphNotClosedTableRowStarted | A new table row was started before all paragraphs were closed. |
ParagraphNotClosedTableStarted | A new table was started before all paragraphs were closed. |
ParagraphNotOpen | An attempt was made to add content such as a text run, hyperlink, or picture when there is currently no open paragraph. |
RowClosedNoCell | An attempt was made to close a table row that has no table cells. |
RowNotClosed | A table row was opened, but was not properly closed. |
RowNotClosedTableClosed | A table was closed, but closure of a previously opened table row is pending. |
RowNotOpen | An attempt was made to add content to a table row or close a table row when there is currently no open row. |
RowOpenSectionStarted | An attempt was made to define a section when a table row was open. |
TableNotClosed | A previously opened table was not closed. |
TableNotOpen | An attempt was made to add content such as a row or cell when there is currently no open table. |
TableOpenSectionStarted | An attempt was made to define a section when a table was open. |
WriterError | The XML writer used to serialize the content is in an error state. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2