Enumerations


ActiveView (PowerPoint)

Added 1.1
Specifies the state of the active vew of the document

Office.ActiveView.Read (read) - PowerPoint 
Office.ActiveView.Edit (edit) - PowerPoint

AsyncResultStatus

Added 1.0
Specifies the result of an asynchronous call

Office.AsyncResultStatus.Succeeded (succeeded) 
Office.AsyncResultStatus.Failed (failed)

BindingType

Added 1.0
Specifes the type of binding that should be returned

Office.BindingType.Matrix (matrix) - Excel, Word, Access 
Office.BindingType.Table (table) - Excel, Word, Access
Office.BindingType.Text (text) - Excel, Word, Access

CoercionType

Added 1.0
Specifies how to coerce data returned or set y the invoked method

Office.CoercionType.Html ("html") - Outlook, Word 
Office.CoercionType.Matrix ("matrix") - Excel (as range of cells), Word (as table)
Office.CoercionType.Ooxml ("ooxml") - Word
Office.CoercionType.SlideRange ("sliderange") - PowerPoint (added 1.1)
Office.CoercionType.Table ("table") - Excel, Word (Office.TableData type)
Office.CoercionType.Text ("text")
Office.CoercionType.Image (image) - Excel, Word, PowerPoint

CustomXmlNodeType

Added 1.0
Specifies the node type

Office.CustomXmlNodeType.Attribute (attribute) 
Office.CustomXmlNodeType.Cdata (Cdata)
Office.CustomXmlNodeType.NodeComment (comment)
Office.CustomXmlNodeType.Element (element)
Office.CustomXmlNodeType.NodeDocument (nodeDocument)
Office.CustomXmlNodeType.ProcessingInstruction (processingInstruction)
Office.CustomXmlNodeType.Text (text)

DocumentMode

Added 1.0
Specifies whether the document is read-only or read-write

Office.DocumentMode.ReadOnly (readonly) - Excel, Word, PowerPoint 
Office.DocumentMode.ReadWrite (readwrite) - Excel, Word, PowerPoint

EventType

Added 1.0
Specifies the kind of event that was raised

Office.EventType.AppointmentTimeChanged (Outlook, added 1.7) 
Office.EventType.ActiveViewChanged (added 1.1)
Office.EventType.AttachmentsChanged (Outlook, added 1.7)
Office.EventType.DialogEventReceived (added 1.1)
Office.EventType.DialogMessageReceived (added 1.1)
Office.EventType.DocumentSelectionChanged
Office.EventType.BindingSelectionChanged
Office.EventType.BindingDataChanged
Office.EventType.DataNodeDeleted (renamed in 1.1 from NodeDeleted)
Office.EventType.DataNodeInserted (renamed in 1.1 from NodeInserted)
Office.EventType.DataNodeReplaced (renamed in 1.1 from NodeReplaced)
Office.EventType.EnhancedLocationsChanged (Outlook, added ?)
Office.EventType.NodeDeleted
Office.EventType.NodeInserted
Office.EventType.NodeReplaced
Office.EventType.OfficeThemeChanged (Outlook, added ?)
Office.EventType.SettingsChanged
Office.EventType.RecipientsChanged (Outlook, added 1.7)
Office.EventType.RecurrenceChanged (Outlook, added 1.7)
Office.EventType.ResourceSelectionChanged (Project)
Office.EventType.TaskSelectionChanged (Project)
Office.EventType.ViewSelectionChanged (Project)

FileType

Added 1.0
Specifies the format in which to return the document

Office.FileType.Compressed 
Office.FileType.PDF (pdf) (added 1.1)
Office.FileType.Text (text)

FilterType

Added 1.0
Specifies whether filtering from the host application is applied when the data is retrieved

Office.FileType.All (all) - Excel, Word 
Office.FileType.OnlyVisible (onlyVisible) - Excel, Word

GoToType

Added 1.1
Specifies the type of place or object to navigate to.

Office.GoToType.Binding (binding) - Excel, Word 
Office.GoToType.NamedItem (namedItem) - Excel
Office.GoToType.Slide (slide) - PowerPoint
Office.GoToType.Index (index) - PowerPoint

HostType

Specifies the host application where the add-in is running.

Office.HostType.Access 
Office.HostType.Excel
Office.HostType.OneNote
Office.HostType.Outlook
Office.HostType.PowerPoint
Office.HostType.Project
Office.HostType.Word

Index (PowerPoint)

Specifies the relative PowerPoint slide.

Office.Index.First - first slide 
Office.Index.Last - last slide
Office.Index.Next - next slide
Office.Index.Previous - previous slide

InitializationReason

Added 1.0
Specifies whether the add-in was just inserted or was already contained in the document

Office.InitializationReason.Inserted (inserted) 
Office.InitializationReason.DocumentOpened (documentOpened)

PlatformType

Specifies the operating system where the add-in is running.

Office.PlatformType.Android 
Office.PlatformType.iOS
Office.PlatformType.Mac
Office.PlatformType.OfficeOnline
Office.PlatformType.PC
Office.PlatformType.Universal

ProjectProjectFields (Project)

Added 1.0
Specifies the project fields that are available as a parameter for the getProjectFieldAsync

Office.ProjectProjectFields.CurrencyDigits 
Office.ProjectProjectFields.CurrencySymbol
Office.ProjectProjectFields.CurrencySymbolPosition
Office.ProjectProjectFields.DurationUnits
Office.ProjectProjectFields.Finish
Office.ProjectProjectFields.GUID
Office.ProjectProjectFields.ProjectServerUrl
Office.ProjectProjectFields.ReadOnly
Office.ProjectProjectFields.Start
Office.ProjectProjectFields.Version
Office.ProjectProjectFields.WorkUnits
Office.ProjectProjectFields.WSSList
Office.ProjectProjectFields.WSSUrl

ProjectResourceFields (Project)

Added 1.0
Specifies the resource fields that are available as a parameter for the getResourceFieldAsync method

Office.ProjectResourceFields.Accrual 
Office.ProjectResourceFields.ActualCost
Office.ProjectResourceFields.ActualOvertimeCost
Office.ProjectResourceFields.ActualWork
Office.ProjectResourceFields.BaseCalendar
Office.ProjectResourceFields.Baseline1Cost
Office.ProjectResourceFields.Code
Office.ProjectResourceFields.Cost1
Office.ProjectResourceFields.Date1
Office.ProjectResourceFields.Duration1
Office.ProjectResourceFields.Email
Office.ProjectResourceFields.Finish1
Office.ProjectResourceFields.Flag1
Office.ProjectResourceFields.Group
Office.ProjectResourceFields.Name
Office.ProjectResourceFields.Number1
Office.ProjectResourceFields.StandardRate
Office.ProjectResourceFields.Start1
Office.ProjectResourceFields.Text1

ProjectTaskFields (Project)

Added 1.0
Specifies the task fields that are available as a parameter for the getTaskFieldAsync method

Office.ProjectTaskFields.Accrual 
Office.ProjectTaskFields.ActualCost
Office.ProjectTaskFields.ActualOvertimeCost
Office.ProjectTaskFields.ActualWork
Office.ProjectTaskFields.BaseCalendar
Office.ProjectTaskFields.Baseline1Cost
Office.ProjectTaskFields.Code
Office.ProjectTaskFields.Cost1
Office.ProjectTaskFields.Date1
Office.ProjectTaskFields.Duration1
Office.ProjectTaskFields.Email
Office.ProjectTaskFields.Finish1
Office.ProjectTaskFields.Flag1
Office.ProjectTaskFields.Group
Office.ProjectTaskFields.Name
Office.ProjectTaskFields.Number1
Office.ProjectTaskFields.StandardRate
Office.ProjectTaskFields.Start1
Office.ProjectTaskFields.Text1

ProjectViewTypes (Project)

Added 1.0
Specifies the types of views that the getSelectedViewAsync method can recognise

Office.ProjectViewTypes.Calendar 
Office.ProjectViewTypes.Gantt
Office.ProjectViewTypes.NetworkDiagram
Office.ProjectViewTypes.ResourceForm
Office.ProjectViewTypes.ResourceGraph
Office.ProjectViewTypes.ResourceNames
Office.ProjectViewTypes.ResourceSheet
Office.ProjectViewTypes.ResourceUsage
Office.ProjectViewTypes.TaskDetails
Office.ProjectViewTypes.TaskDiagram
Office.ProjectViewTypes.TaskForm
Office.ProjectViewTypes.TaskNameForm
Office.ProjectViewTypes.TaskSheet
Office.ProjectViewTypes.TaskUsage
Office.ProjectViewTypes.TeamPlanner
Office.ProjectViewTypes.Timeline

SelectionMode

Added 1.1
Specifies whether to select (highlight) the location to navigate to when using the Document.goToByIdAsync

Office.SelectionMode.Selected (selected) - Excel, Word, PowerPoint 
Office.SelectionMode.None (none) - Excel, Word, PowerPoint

Table

Added 1.1
Specifies the formatting for cell properties

Office.Table.All (all) 
Office.Table.Data (data)
Office.Table.Headers (headers)

ValueFormat

Added in 1.0
Specifies whether values, such as numbers and dates returned by the invoked method are returned with their formatting applied

Office.ValueFormat.Formatted (formatted) - Excel, Word 
Office.ValueFormat.Unformatted (unformatted) - Excel, Word


© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext