API Reference
Class
OfficeFormatDescriptor
Describes one concrete Office file format and document kind.
Inheritance
- Object
- OfficeFormatDescriptor
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Constructor OfficeCompatibilityReport.OfficeCompatibilityReport
- Constructor OfficeCompatibilityReport.OfficeCompatibilityReport
- Method OfficeFormatDescriptor.Equals
Constructors
public OfficeFormatDescriptor(String id, String extension, OfficeDocumentFamily family, OfficeDocumentKind documentKind, OfficeFormatGeneration generation, OfficeFormatEncoding encoding, Boolean macroEnabled) #Creates a format descriptor.
Parameters
- id System.String
- extension System.String
- family OfficeIMO.OfficeDocumentFamily
- documentKind OfficeIMO.OfficeDocumentKind
- generation OfficeIMO.OfficeFormatGeneration
- encoding OfficeIMO.OfficeFormatEncoding
- macroEnabled System.Boolean
Methods
Equals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public String Id { get; } #Gets the stable format identifier, such as Word.Docx.
public String Extension { get; } #Gets the normalized lower-case extension including its leading period.
public OfficeDocumentFamily Family { get; } #Gets the owning Office document family.
public OfficeDocumentKind DocumentKind { get; } #Gets the logical document kind.
public OfficeFormatGeneration Generation { get; } #Gets the format generation.
public OfficeFormatEncoding Encoding { get; } #Gets the physical encoding.
public Boolean IsMacroEnabled { get; } #Gets whether the format can carry VBA projects.