Functions
-
_convertHexToBase64( hexString ) → String
module:paste-from-office/filters/image~_convertHexToBase64
protected
Converts given HEX string to base64 representation.
Parameters
hexString
:
String
The HEX string to be converted.
Returns
String
Base64 representation of a given HEX string.
-
Replaces source attribute of all <img>
elements representing regular
images (not the Word shapes) with inlined base64 image representation extracted from RTF or Blob data.
Parameters
documentFragment
:
DocumentFragment
Document fragment on which transform images.
rtfData
:
String
The RTF data from which images representation will be used.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing?
Please report it via our issue tracker.