Microsoft Office adapter entry point for MAIDR: one bundle for an add-in
that runs in Excel, PowerPoint and Word.
Re-exports the adapter's API and exposes it as window.maidrOffice for
script-tag usage in an add-in's task pane. bindOffice mounts the pane for
whichever application the page is open in -- Excel's charts read live
through Office.js, PowerPoint's and Word's read from the file -- so this
bundle carries the Excel adapter too. A task pane built with a bundler
imports maidr/office instead.
Remarks
No Office.js dependency, at compile time or at runtime: the Office,
Excel, PowerPoint and Word objects the task pane loads from
Microsoft's CDN are read structurally.
Microsoft Office adapter entry point for MAIDR: one bundle for an add-in that runs in Excel, PowerPoint and Word.
Re-exports the adapter's API and exposes it as
window.maidrOfficefor script-tag usage in an add-in's task pane.bindOfficemounts the pane for whichever application the page is open in -- Excel's charts read live through Office.js, PowerPoint's and Word's read from the file -- so this bundle carries the Excel adapter too. A task pane built with a bundler importsmaidr/officeinstead.Remarks
No Office.js dependency, at compile time or at runtime: the
Office,Excel,PowerPointandWordobjects the task pane loads from Microsoft's CDN are read structurally.Example