Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdfDiagnostic

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision 33d062b583cb with working tree changes
Modifiers sealed

Describes a package, XML, compatibility, or preservation finding.

Inheritance

  • Object
  • OdfDiagnostic

Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public OdfDiagnostic(String id, OdfDiagnosticSeverity severity, String message, String? partPath = null, Int32? lineNumber = null, Int32? linePosition = null) #

Creates a diagnostic.

Parameters

id System.String requiredposition: 0
severity OfficeIMO.OpenDocument.OdfDiagnosticSeverity requiredposition: 1
message System.String requiredposition: 2
partPath System.String? = null optionalposition: 3
lineNumber System.Int32? = null optionalposition: 4
linePosition System.Int32? = null optionalposition: 5

Properties

public String Id { get; } #

Stable diagnostic identifier.

public OdfDiagnosticSeverity Severity { get; } #

Diagnostic severity.

public String Message { get; } #

Human-readable explanation.

public String? PartPath { get; } #

Package part associated with the finding.

public Int32? LineNumber { get; } #

One-based XML line number when available.

public Int32? LinePosition { get; } #

One-based XML line position when available.