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 / October 2006

Tip: Looking for answers? Try searching our database.

Repurpose existing functionality in Word 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Noopur - 03 Oct 2006 10:12 GMT
Hi ,
I want to auto insert xml tags into my table cell whenever a cell is drawn
in  MS word 2007 How can i do that?

-Noopur
Patrick Schmid [MVP] - 03 Oct 2006 12:22 GMT
You'll have to learn RibbonX...
I suggest to start reading my blog from the very first post onwards.
Note that the examples currently don't work with B2TR and that I am in
the process of organizing the stuff better and updating everything.
The ODF plugin post on my blog shows the basics of repurposing a
command.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007: http://pschmid.net/office2007/customize
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

> Hi ,
> I want to auto insert xml tags into my table cell whenever a cell is drawn
> in  MS word 2007 How can i do that?
>
> -Noopur
Noopur - 03 Oct 2006 17:22 GMT
Hi Patrick,

I have learned a few things about RibbonX from your site. I know the basics
of repurposing a command e.g I tried to override "Bold"  command and made
it's functionality equivalent to "Bold-Italic" for learning purpose and
overriding Bold Command.
But I cannot find any in-built command for inserting a table. So please
could you tell me the command if it exists or some other method .

-Noopur



> You'll have to learn RibbonX...
> I suggest to start reading my blog from the very first post onwards.
[quoted text clipped - 20 lines]
> >
> > -Noopur
Patrick Schmid [MVP] - 03 Oct 2006 22:26 GMT
There are three idMso's for inserting tables:
TableInsertGallery
TableInsertDialogWord
TableDrawTable

On my B2TR page, there is a link to the control ID list that has all of
that info.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007: http://pschmid.net/office2007/customize
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

> Hi Patrick,
>
[quoted text clipped - 31 lines]
> > >
> > > -Noopur
Noopur - 04 Oct 2006 09:39 GMT
Hi Patrick,

I tried with idMso - TableInsertDialogWord but it gives chance to do things
before a table is inserted while I want table to be drawn and then modify the
cells to have my tags included .
It said TableInsertGallery cannot be repurposed  when i tried to do so.

- Noopur

> There are three idMso's for inserting tables:
> TableInsertGallery
[quoted text clipped - 51 lines]
> > > >
> > > > -Noopur
Patrick Schmid [MVP] - 04 Oct 2006 14:34 GMT
There isn't anything on the Ribbon UI side that would trigger after a
table has been fully created. I doubt there is anything in the Word OM
either. After all, how would it really know that a user is done creating
the table?
I think your best bet is to insert a button on the contextual tabs for
tables that triggers the insertion of your tags.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007: http://pschmid.net/office2007/customize
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

> Hi Patrick,
>
[quoted text clipped - 60 lines]
> > > > >
> > > > > -Noopur
 
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.