Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2007

Tip: Looking for answers? Try searching our database.

Document Map API

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PL - 05 Apr 2007 20:36 GMT
I am tring to do the following and want to know if it is possible:

- Publish a Word document into SharePoint
- Parse it up into chunks/sections based on Headings.
- Display a side nav exactly like Document Maps
Save the chunks into a linked list format so that each section is treated as
a list item and searchable.

Any ideas on how to do this?

ThanksLP
Perry - 10 Apr 2007 19:56 GMT
what y're asking is not easy...

MS Word VBA doesn't have an "out-of-the-box" control/form/userform you can
use
to suit yr wishes.
You can mimic a userform to act as such, and have the docking functionallity
be done by (if at all possible)
using some heavy API calls.

Using VSTO (visual studio tools for office) you could use an Action Pane
control.
Y'd still need to use coding to loop through the utilised styles (the
Headings)....etc
and consolidate these into usable controls on your user defined Action Pane.
The Action Pane can be docked to look like the Document Map.

--
Krgrds,
Perry

System:
Vista/Office Ultimate
VS2005/VSTO2005 SE

>I am tring to do the following and want to know if it is possible:
>
[quoted text clipped - 8 lines]
>
> ThanksLP
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.