Elmo Erasmus
asked on
How to force a hard return in XML for office ribbon
Hi All
The code below adds a button to the ribbon in Excel 2007. The problem Im having is that the tooltip is all added in one line. Is there a way to make it go to the next line so it looks something like this?
Prepare an MS Word document with
suppliers profiles and automatically
e-mail it to them. The document will
contain the name of the company,
and where available the name of the
contact person. The template must
be available in C:\Data\SupplierProfile.do cx.
Thanks in advance
Elmo
The code below adds a button to the ribbon in Excel 2007. The problem Im having is that the tooltip is all added in one line. Is there a way to make it go to the next line so it looks something like this?
Prepare an MS Word document with
suppliers profiles and automatically
e-mail it to them. The document will
contain the name of the company,
and where available the name of the
contact person. The template must
be available in C:\Data\SupplierProfile.do
Thanks in advance
Elmo
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id = "customTab" label="Tara Nawa" insertAfterMso="TabView">
<group id="eMail" label="e-Mail">
<button id="btnPerSupProf" screentip="Prepare an MS Word document with suppliers profiles and automatically e-mail it to them. The document will contain the name of the company, and where available the name of the contact person. The template must be available in C:.docx." label="Personalized-Supplier Profile" onAction="CallControl" imageMso="Magnifier" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
ASKER
Hi Craig
I tried
screentip="Prepare an MS Word document with suppliers profiles ..."
screentip="Prepare an MS Word document with suppliers profiles ..."
screentip="Prepare an MS Word document with suppliers profiles ..."
and neither of them work. I get the box charcater where i put 10.
Elmo
I tried
screentip="Prepare an MS Word document with suppliers profiles ..."
screentip="Prepare an MS Word document with suppliers profiles ..."
screentip="Prepare an MS Word document with suppliers profiles ..."
and neither of them work. I get the box charcater where i put 10.
Elmo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Craig the supertip did the trick
In any event, XML supports the encoding of special characters by preceding with an ampersand and terminating with a semicolon. For example to put a quote character inside the quoted attribute value, use:
"
The CR chacter is ASCII 13 so the encoding is:
If that does not do the trick you may need to include the LF (ascii 10) character as well.
Open in new window