EditorModel that a menu or ribbon calls: clipboard, links, bookmarks, notes, headers and footers, files and passwords. Guide: Build your own skin.
runClipboard()
@reductoai/docx-editor, @reductoai/docx-editor/model.
PasteMode
Word’s paste options: keep the source formatting (colour, size, face, headings,
alignment and lists), merge into the destination’s (bold, italic, underline and
strike survive), or text only.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
openLinkDialog()
@reductoai/docx-editor, @reductoai/docx-editor/model.
selectTablePart()
@reductoai/docx-editor, @reductoai/docx-editor/model.
TablePart
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
addBookmark()
@reductoai/docx-editor, @reductoai/docx-editor/model.
bookmarksOf()
@reductoai/docx-editor, @reductoai/docx-editor/model.
deleteBookmark()
@reductoai/docx-editor, @reductoai/docx-editor/model.
goToBookmark()
@reductoai/docx-editor, @reductoai/docx-editor/model.
showNotes()
@reductoai/docx-editor, @reductoai/docx-editor/model.
stepNote()
@reductoai/docx-editor, @reductoai/docx-editor/model.
headerFooterInView()
@reductoai/docx-editor, @reductoai/docx-editor/model.
HeaderFooterInView
The header or footer being edited, with the label Word shows on its band.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
stepHeaderFooter()
@reductoai/docx-editor, @reductoai/docx-editor/model.
linkToPrevious()
@reductoai/docx-editor, @reductoai/docx-editor/model.
removeHeaderFooter()
@reductoai/docx-editor, @reductoai/docx-editor/model.
insertTextFromFile()
@reductoai/docx-editor, @reductoai/docx-editor/model.
imageFileFrom()
@reductoai/docx-editor, @reductoai/docx-editor/model.
caretPageOf()
@reductoai/docx-editor, @reductoai/docx-editor/model.
editorPaletteCommands()
@reductoai/docx-editor, @reductoai/docx-editor/model.
peerColor()
@reductoai/docx-editor, @reductoai/docx-editor/model.
isEncryptedDocx()
@reductoai/docx-editor, @reductoai/docx-editor/model, @reductoai/docx/browser.
decryptDocx()
@reductoai/docx-editor, @reductoai/docx-editor/model, @reductoai/docx/browser.
encryptDocx()
@reductoai/docx-editor, @reductoai/docx-editor/model, @reductoai/docx/browser.
modifyPasswordMatches()
password is the password to modify; a hash Word 16 would not write never matches.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
DocxPasswordError
A password that does not open the file, or a file that is not an encrypted package.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model, @reductoai/docx/browser.
DocxPasswordError properties
DocxPasswordError.captureStackTrace()
.stack property on targetObject, which when accessed returns
a string representing the location in the code at which
Error.captureStackTrace() was called.
${myObject.name}: ${myObject.message}.
The optional constructorOpt argument accepts a function. If given, all frames
above constructorOpt, including constructorOpt, will be omitted from the
generated stack trace.
The constructorOpt argument is useful for hiding implementation
details of error generation from the user. For instance:
DocxPasswordError.prepareStackTrace()
DOCX_MIME
@reductoai/docx-editor, @reductoai/docx-editor/model.
PDF_MIME
@reductoai/docx-editor, @reductoai/docx-editor/model.