Word.PasteFormatType enum
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the type of formatting when paste to a document.
Remarks
[ API set: WordApi BETA (PREVIEW ONLY) ]
Fields
chart = "Chart" | Pastes a chart as an editable chart. |
chartLinked = "ChartLinked" | Pastes a chart with a link to the source data. |
chartPicture = "ChartPicture" | Pastes a chart as a picture. |
formatOriginalFormatting = "FormatOriginalFormatting" | Applies the original formatting of the pasted content. |
formatPlainText = "FormatPlainText" | Pastes content as plain text. |
formatSurroundingFormattingWithEmphasis = "FormatSurroundingFormattingWithEmphasis" | Applies surrounding formatting with emphasis. |
listCombineWithExistingList = "ListCombineWithExistingList" | Combines the pasted list with an existing list. |
listContinueNumbering = "ListContinueNumbering" | Continues numbering from the previous list. |
listDontMerge = "ListDontMerge" | Prevents merging the pasted list with an existing list. |
listRestartNumbering = "ListRestartNumbering" | Restarts numbering for the new list. |
pasteDefault = "PasteDefault" | Uses the default paste behavior. |
singleCellTable = "SingleCellTable" | Pastes a table into a single cell. |
singleCellText = "SingleCellText" | Pastes text into a single cell. |
tableAppendTable = "TableAppendTable" | Appends the pasted table to the existing table. |
tableInsertAsRows = "TableInsertAsRows" | Inserts the pasted table as new rows. |
tableOriginalFormatting = "TableOriginalFormatting" | Inserts the pasted table with its original formatting. |
tableOverwriteCells = "TableOverwriteCells" | Overwrites existing cells with the pasted table. |
useDestinationStylesRecovery = "UseDestinationStylesRecovery" | Uses the destination styles for the pasted content. |