Navigation Menu
DocSpace
JavaScript SDK
Plugins SDK
API Backend
For Hosting Providers
Docs
Docs API
Office API
Plugin and Macros
Document Builder
Desktop Editors
Workspace
API Backend
For Hosting Providers
Type
/
to search
Get Started
Overview
Getting started
Structure
Manifest
Types
Variations
Entry point
Icons
Localization
Styles
Customization
Context menu
Toolbar
Windows and panels
Input helper
Buttons
Interacting with editors
Overview
How to call methods
How to call commands
How to attach events
Methods
Common API
Api
Methods
ActivateWindow
AddContextMenuItem
AddOleObject
AddToolbarMenuItem
CloseWindow
CoAuthoringChatSendMessage
ConvertDocument
EditOleObject
EndAction
GetDocumentLang
GetFileToDownload
GetFontList
GetImageDataFromSelection
GetInstalledPlugins
GetMacros
GetSelectedOleObjects
GetSelectedText
GetSelectionType
GetVBAMacros
GetVersion
InputText
InstallDeveloperPlugin
InstallPlugin
MouseMoveWindow
MouseUpWindow
OnDropEvent
OnEncryption
PasteHtml
PasteText
PutImageDataToSelection
RemovePlugin
ReplaceTextSmart
ResizeWindow
SendToWindow
SetMacros
SetPluginsOptions
SetProperties
ShowButton
ShowInputHelper
ShowWindow
StartAction
UnShowInputHelper
UpdateContextMenuItem
UpdatePlugin
Button
Button
comment
CommentData
ContentControl
ContentControlLock
ContextMenuItem
ContextMenuOptions
ContextMenuType
editorType
editorType
EventType
fillForms
FontInfo
ImageData
initDataType
initDataType
InputHelper
Methods
createWindow
getItems
getScrollSizes
setItems
show
unShow
InputHelperItem
localeTranslate
Macros
OLEProperties
Plugin
Events
button
init
inputHelper_onSelectItem
onAddComment
onBlurContentControl
onChangeCommentData
onChangeContentControl
onClick
onCommandCallback
onContextMenuClick
onContextMenuShow
onDocumentContentReady
onEnableMouseEvent
onExternalMouseUp
onExternalPluginMessage
onFocusContentControl
onInputHelperClear
onInputHelperInput
onMethodReturn
onRemoveComment
onTargetPositionChanged
onToolbarMenuClick
onTranslate
Methods
attachContextMenuClickEvent
attachEvent
callCommand
callModule
createInputHelper
executeMethod
getInputHelper
loadModule
resizeWindow
sendToPlugin
PluginData
ReplaceImageMode
SelectionType
ToolbarMenuItem
ToolbarMenuItemType
ToolbarMenuMainItem
ToolbarMenuTab
watermark_on_draw
Text Document API
AddinFieldData
Api
Methods
AcceptReviewChanges
AddAddinField
AddComment
AddContentControl
AddContentControlCheckBox
AddContentControlDatePicker
AddContentControlList
AddContentControlPicture
CanRedo
CanUndo
ChangeComment
ChangeOleObject
ChangeOleObjects
GetAllAddinFields
GetAllComments
GetAllContentControls
GetAllForms
GetAllOleObjects
GetCurrentContentControl
GetCurrentContentControlPr
GetCurrentSentence
GetCurrentWord
GetFields
GetFileHTML
GetFormsByTag
GetFormValue
InsertAndReplaceContentControls
InsertOleObject
MoveCursorToContentControl
MoveCursorToEnd
MoveCursorToStart
MoveToComment
MoveToNextReviewChange
OpenFile
Redo
RejectReviewChanges
RemoveComments
RemoveContentControl
RemoveContentControls
RemoveFieldWrapper
RemoveOleObject
RemoveOleObjects
RemoveSelectedContent
ReplaceCurrentSentence
ReplaceCurrentWord
SearchAndReplace
SearchNext
SelectContentControl
SelectOleObject
SetDisplayModeInReview
SetEditingRestrictions
SetFormValue
Undo
UpdateAddinFields
comment
CommentData
ContentControl
ContentControl
ContentControlCheckBoxProperties
ContentControlDatePickerProperties
ContentControlLock
ContentControlLock
ContentControlParentPr
ContentControlProperties
ContentControlPropertiesAndContent
ContentControlType
DocumentEditingRestrictions
OLEObjectData
TextPartType
Spreadsheet API
Api
Methods
AddComment
ChangeComment
GetAllComments
GetCustomFunctions
RemoveComments
SetCustomFunctions
CommentData
Presentation API
Api
Methods
AddComment
ChangeComment
EndSlideShow
GetAllComments
GoToNextSlideInSlideShow
GoToPreviousSlideInSlideShow
GoToSlideInSlideShow
PauseSlideShow
RemoveComments
ResumeSlideShow
StartSlideShow
CommentData
Form API
ContentControl
ContentControlLock
Events
Tutorials
Developing
For web editors
For desktop editors
Installing
ONLYOFFICE Desktop Editors
ONLYOFFICE Docs on-premises
ONLYOFFICE Cloud
Publishing
Samples
Add comment in cell
Add custom fields
Autocomplete
Chess
Clippy
Context menu and events
Count words and characters
Extended comments
Get and paste html
Hello world
Highlight code
Invoices
Language tool
Load custom fields
Move cursor
OCR
Photo editor
Search and change text background color
Search and replace
Search and replace on start
Settings
Speech
Symbol table
Telegram
Templates
Thesaurus
Translator
Typograf
Work with content controls content
Work with content controls navigation
Work with content controls tags
YouTube
Zotero
Macros
Getting started
Writing macros
Adding custom functions
Debugging
Converting VBA macros
Samples
Write data to worksheet cell
Change cell background color
Change cell font color
Make cell font bold
Merge cell range
Unmerge cell range
Set column width
Format range as a table
Add chart
Highlight duplicates
Next blank row
Insert text
Currency exchange rates
Import CSV or TXT data
Recalculate worksheet values
Unhide all rows and columns
Remove shapes from slides
Insert unique id
Complete address information
Replace words in document
More Information
FAQ
Changelog
Docs
Plugin and Macros
More Information
More Information
FAQ
Changelog
Results
Get Help
If you have any questions about ONLYOFFICE Docs, try the
FAQ
section first.
You can request a feature or report a bug by posting an issue on
GitHub
.
You can also ask our developers on
ONLYOFFICE forum
(registration required).