• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormatRevision<TFormat>

Base class for revisions that retain a typed snapshot of the format that was in effect before a formatting change.

Inheritance
object
Revision
FormatRevision<TFormat>
CharacterFormatRevision
ParagraphFormatRevision
SectionPropertiesRevision
TableCellFormatRevision
TableColumnCollectionRevision
TableFormatRevision
TableRowFormatRevision
Inherited Members
Revision.RevisionType
Revision.Author
Revision.Date
Revision.Accept()
Revision.Reject()
Revision.IsAccepted
Revision.IsRejected
Revision.IsResolved
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public abstract class FormatRevision<TFormat> : Revision where TFormat : class
Type Parameters
Name Description
TFormat

The type of the retained format snapshot.

Constructors

FormatRevision(string, DateTime, TFormat, Action, Action)

Creates a format revision.

Declaration
protected FormatRevision(string author, DateTime date, TFormat previousFormat, Action acceptAction, Action rejectAction)
Parameters
Type Name Description
string author

The author who made the format change.

DateTime date

The date/time when the change was made.

TFormat previousFormat

The format snapshot from before the change.

Action acceptAction

The action used to accept the change.

Action rejectAction

The action used to restore the previous format.

Properties

PreviousFormat

Gets the format snapshot from before the revision was applied.

Declaration
public TFormat PreviousFormat { get; }
Property Value
Type Description
TFormat
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX