편집

다음을 통해 공유


What's new in Word JavaScript API 1.8

WordApi 1.8 mainly added further support for writing assistance.

API list

The following table lists the APIs in Word JavaScript API requirement set 1.8. To view API reference documentation for all APIs supported by Word JavaScript API requirement set 1.8 or earlier, see Word APIs in requirement set 1.8 or earlier.

Class Fields Description
AnnotationPopupActionEventArgs action Specifies the chosen action in the pop-up menu.
critiqueSuggestion Specifies the accepted suggestion (only populated when accepting a critique suggestion).
id Specifies the annotation ID for which the event was fired.
Critique popupOptions Specifies the behavior of the pop-up menu for the critique.
CritiquePopupOptions brandingTextResourceId Gets the manifest resource ID of the string to use for branding.
subtitleResourceId Gets the manifest resource ID of the string to use as the subtitle.
suggestions Gets the suggestions to display in the critique pop-up menu.
titleResourceId Gets the manifest resource ID of the string to use as the title.
Document onAnnotationPopupAction Occurs when the user performs an action in an annotation pop-up menu.
Range highlight() Highlights the range temporarily without changing document content.
removeHighlight() Removes the highlight added by the Highlight function if any.

See also