API member directory

Find every public editing API class, member group, enum, support type, and host extension.

Use this directory to find task examples and runtime limits for the public API. The generated API reference provides exact declarations, overloads, and enum values. The repository also publishes generated declarations for the root entry and browser entry.

A declaration or enum value does not guarantee runtime support for every document or argument. Read the linked guide before choosing an operation. Members marked @internal, including factories and hydration helpers, are not supported application APIs. Obtain model objects from context.document; do not construct them.

Runtime and common members

Public symbolMembers or valuesGuide
DocxEditor, DocxEditorNamespacecreateServer, createCollaborative; browser entry adds createBrowserRuntime and setup
DocxEditorRuntime, DocxEditorServerRuntimecapabilities, both run overloads, dispose; server adds saveRuntime and setup
CreateServerOptions, CreateCollaborativeOptions, CreateBrowserOptionsAuthor, revision view, host-specific parsing, modules, and paginationRuntime and setup
DocumentCapabilitiesdocument, save, events, selection, scrolling, layoutRuntime and setup
DocumentLimits, DocumentZipLimits, DocumentXmlLimits, EditorModuleInput budgets and DOM-free module contributionsRuntime and setup
ServerPaginationOptionsmeasurer, optional producerFields and pagination
RequestContext, RunCallbackdocument, capabilities, trackedObjects, sync and async callback resultBatching, loading, and errors
ClientObjectInherited context, isNullObject, and loadBatching, loading, and errors
ClientResultvalue, isLoaded; support type with no public document-method producerBatching, loading, and errors
TrackedObjectsadd, remove, each accepting one object or an arrayBatching, loading, and errors
LoadOption, LoadQueryOptionsExplicit property names; select, top, skip; reserved expandBatching, loading, and errors
DocxEditorError, DocxEditorErrorInit, DocxEditorErrorCode, isDocxEditorErrorStable error codes, target, resource limit, and revision metadataBatching, loading, and errors

Document and text objects

Every model object inherits the common ClientObject members. Each collection also exposes loaded, read-only items.

ObjectPublic members beyond inherited membersGuide
Documentbody, paragraphs, sections, contentControls, comments, revisions, footnotes, endnotes, changeTrackingModeText and ranges, Page layout and stories, Tracked changes
Bodytext, paragraphs, getRange, search, clear, insertText, insertParagraph; font, style, lists, bookmarks, contentControls, getComments, revisions, tables, inlinePictures, fieldsText and ranges
Paragraphtext, uniqueLocalId, getRange, insertText, insertParagraph, split, clear, delete; font, style, paragraph formatting; list, listItem, startNewList, attachToList, detachFromListText and ranges, Formatting and styles, Lists and numbering
Rangetext, paragraphs, search, insertText, insertParagraph, clear, delete, select; font, style, hyperlink, bookmarks, tables, inlinePictures, fields; insertTable, insertInlinePictureFromBase64, insertField, insertBreak, insertContentControl, insertCommentText and ranges and the dedicated insertion guides
ParagraphCollectiongetFirst, getLast, getFirstOrNullObject, getLastOrNullObjectSearch and navigation
RangeCollectiongetFirst, getLast, getFirstOrNullObjectSearch and navigation
Bookmark, BookmarkCollectionBookmark name, range, select; collection itemsSearch and navigation
SearchOptions, SelectionModePlain-text search flags and browser selection locationsSearch and navigation
InsertLocation, BesideLocation, BodyInsertParagraphLocation, BodyInsertTextLocation, ParagraphInsertTextLocation, RangeInsertTextLocationInsertion location enums and aliasesText and ranges

Formatting, lists, tables, and pictures

Object or typePublic members beyond inherited membersGuide
Fontbold, italic, color, name, size, underline, strikeThrough, highlightColor, subscript, superscriptFormatting and styles
Paragraph formattingalignment, firstLineIndent, leftIndent, rightIndent, lineSpacing, spaceBefore, spaceAfterFormatting and styles
UnderlineType, Alignment, ParagraphAlignmentFont underline and paragraph alignment valuesFormatting and styles
Listid, paragraphs, getLevelParagraphs, insertParagraph, setLevelBullet, setLevelNumbering, setLevelStartingNumber, setLevelIndentsLists and numbering
ListCollection, ListItemCollection getFirst, getById; item levelLists and numbering
ListBullet, ListNumberingBullet and number marker valuesLists and numbering
Tablevalues, style, headerRowCount, rowCount, columnCount, rows, getCell, addRows, addColumns, deleteRows, deleteColumns, deleteTables and cells
TableRow, TableCellRow cells; cell body, value, columnWidth, shadingColor, verticalAlignmentTables and cells
TableCollection, TableRowCollection, TableCellCollectiongetFirst, getFirstOrNullObjectTables and cells
VerticalAlignmentCell alignment valuesTables and cells
InlinePicturewidth, height, lockAspectRatio, altTextDescription, deleteInline pictures
InlinePictureCollectiongetFirst, getLast, getFirstOrNullObject, getLastOrNullObjectInline pictures

Fields, stories, and controls

Object or typePublic members beyond inherited membersGuide
Field, FieldCollectionField code, updateResult, delete; collection getFirst, getLast, getFirstOrNullObject, getLastOrNullObjectFields and pagination
FieldType, FieldTypeLiteralOffice.js-compatible field vocabulary; authoring supports only the documented page-field subsetFields and pagination
Section, SectionCollectionSection body, pageSetup, getHeader, getFooter, getNext; collection getFirstPage layout and stories
PageSetuppageWidth, pageHeight, orientation, topMargin, bottomMargin, leftMargin, rightMarginPage layout and stories
HeaderFooterType, PageOrientation, BreakTypeStory variants, orientation, and break vocabularyPage layout and stories
NoteItem, NoteItemCollection, NoteItemTypeNote type, text, body, delete, getNext; collection getFirst; note kind valuesPage layout and stories
ContentControlid, tag, title, subtype, isBound, cannotDelete, cannotEdit, placeholderShown, temporary, text, paragraphs, contentControls, getRange, setValue, insertText, deleteContent controls
ContentControlCollectiongetFirst, getFirstOrNullObject, getById, getByTag, getByTitleContent controls
ContentControlType, ContentControlSubtype, ContentControlValue, ContentControlLockStateCreation vocabulary, DOCX subtype terms, typed values, and lock vocabularyContent controls

Comments and revisions

Object or typePublic members beyond inherited membersGuide
CommentauthorName, creationDate, id, text, delete, resolved, replies, getRange, replyComments
CommentReplyauthorName, creationDate, id, text, deleteComments
CommentCollection, CommentReplyCollectiongetFirstComments
Revisionauthor, date, type, range, accept, rejectTracked changes
RevisionCollectionacceptAll, rejectAllTracked changes
ChangeTrackingMode, RevisionTextView, RevisionTypeRuntime tracking modes, read views, and published revision typesTracked changes

Distinguish host extensions from Office.js compatibility

Host factories, runtime capabilities, input budgets, and collaboration setup are DocxEditor infrastructure. They do not represent Microsoft Office add-in APIs. Body-scoped bookmarks and revisions, document notes, typed control values, and nullable review dates include documented differences.

Next steps

See Office.js compatibility before migrating Office.js code. The generated reference remains the declaration authority; runtime notes and tests establish supported behavior.

On this page