Discussion:
Repurpose existing functionality in Word 2007
(too old to reply)
Noopur
2006-10-03 09:12:01 UTC
Permalink
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]
2006-10-03 11:22:57 UTC
Permalink
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
Post by Noopur
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
2006-10-03 16:22:01 UTC
Permalink
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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]
2006-10-03 21:26:47 UTC
Permalink
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
Post by Noopur
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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
2006-10-04 08:39:01 UTC
Permalink
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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]
2006-10-04 13:34:08 UTC
Permalink
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
Post by Noopur
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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
Post by Patrick Schmid [MVP]
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
***
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
Post by Noopur
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
Loading...