Skip to content

springga/Office_Addin_Text2Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Office_Addin_Text2Chart

###User Instructions

1.Select tab indented text

2.Click 'Get Selected Content and Convert'

3.XML content should be filled in textbox. If not or and an error message shows up, please create an Issue

4.Move the cursor to the place you want to insert the chart

5.Click 'Insert Content from the Markup' to get the hierarchy chart


###Technical Guide

1.Get/Set document content by getSelectedDataAsync/setSelectedDataAsync

2.Parse DOM and get text content of a node by 'textContent' property which is not a standard DOM feature.

3.Understand OOXML enssentials by Create better add-ins for Word with Office Open XML

4.Prepare OOXML templates and place anchors to be replaced by text content

5.Go through the text structure, convert to nodes and connections and fill in templates.

6.How to publish in Visual Studio


###Good Reference:

JavaScript API for Office 结构图

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published