Table of Contents

Class DocumentCoreProperties

Namespace
DocWright.Word
Assembly
DocWright.Word.dll

The document properties of Word's File > Info that live in docProps/core.xml (ECMA-376 Part 2 §11): title, subject, author, keywords, comments and category, and (Phase 222) who saved it last, its revision, its dates, its status, language and version. A null value is a property the part does not state; an empty one is stated empty (what Word writes when a property is cleared, WQ-0124). Nothing is stamped by a save: a date is written only when it is set.

public sealed class DocumentCoreProperties : IEquatable<DocumentCoreProperties>
Inheritance
DocumentCoreProperties
Implements
Inherited Members

Constructors

DocumentCoreProperties()

Properties

Category

Gets or sets the category (cp:category).

ContentStatus

Gets or sets the status (cp:contentStatus; Word's Status, as Draft or Final).

Created

Gets or sets when the document was made (dcterms:created), in UTC to the second; a local time is converted.

Creator

Gets or sets the author (dc:creator; Word separates several with semicolons).

Description

Gets or sets the comments (dc:description).

Keywords

Gets or sets the keywords, Word's Tags (cp:keywords).

Language

Gets or sets the language (dc:language, as en-US).

LastModifiedBy

Gets or sets who saved the document last (cp:lastModifiedBy; Word writes its user's name on each save).

LastPrinted

Gets or sets when the document was printed last (cp:lastPrinted), in UTC to the second.

Modified

Gets or sets when the document was saved last (dcterms:modified), in UTC to the second.

Revision

Gets or sets the revision number as the part states it (cp:revision, text: Word writes a number).

Subject

Gets or sets the subject (dc:subject).

Title

Gets or sets the title (dc:title).

Version

Gets or sets the version (cp:version).

Methods

Clone()

Creates a copy.

Equals(DocumentCoreProperties?)
Equals(object?)
GetHashCode()