Functions
-
internal
_convertHexToBase64( hexString ) → string
module:paste-from-office/filters/image~_convertHexToBase64
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.
Returns
void
-
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.