PasteFromOfficeMSWordNormalizer
class
Normalizer for the content pasted from Microsoft Word.
Properties
document : ViewDocumentreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#documenthasExtendedTableBlockAlignment : booleanreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#hasExtendedTableBlockAlignmenthasMultiLevelListPlugin : booleanreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#hasMultiLevelListPluginhasTablePropertiesPlugin : booleanreadonlymodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#hasTablePropertiesPlugin
Methods
constructor( document, hasMultiLevelListPlugin, hasTablePropertiesPlugin, hasExtendedTableBlockAlignment )module:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#constructorCreates a new
PasteFromOfficeMSWordNormalizerinstance.Parameters
document : ViewDocumentView document.
hasMultiLevelListPlugin : booleanDefaults to
falsehasTablePropertiesPlugin : booleanDefaults to
falsehasExtendedTableBlockAlignment : booleanDefaults to
false
execute( data ) → voidmodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#executeExecutes the normalization of a given data.
Parameters
Returns
void
isActive( htmlString ) → booleanmodule:paste-from-office/normalizers/mswordnormalizer~PasteFromOfficeMSWordNormalizer#isActiveMust return
trueif thehtmlStringcontains content which this normalizer can transform.Parameters
htmlString : string
Returns
boolean