I am looking for a specific icon I want to put on my ribbon.
I found the list 'Microsoft-Office-2010-imageMso-Gallery.pdf' online, but the names of some icon are cut at the end. For example, I wanted this one: ConditionalFormattingHighlightTextC, which refer to 'Conditional Formatting Highlight Text That Contains'. I tried to finish the name with the word Contain, Contains and Cells as well, but without success as my ribbon remain without icon.
Any idea where to look for!
JLuc01
You can try searching for the idMso value in the Office 2010 Add-In: Icons Gallery. Also you may take a look at the ribbon control IDs in the Office 2016 Help Files: Office Fluent User Interface Control Identifiers .
Then you can use the CommandBars.GetImageMso method which returns an IPictureDisp object of the control image identified by the idMso parameter scaled to the dimensions specified by width and height. The Width and Height parameters must be between 16 and 128. For example, the following sample returns a 32x32 version of the Paste icon as an IPictureDisp object:
Application.CommandBars.GetImageMso("Paste", 32, 32)
I need to rollout an Outlook VBA macro to disable and display all hyperlinks in email messages.
Optimally all hyperlinks would be disabled from being clickable and for text that have a “hidden” link the link would be disabled and following the text (still in blue) the link would be displayed within square brackets.
I have a lot of Excel VBA experience but almost no Outlook VBA experience. I’m surprised this code isn’t all over the place but after a week of searching I’ve found nothing.
You would need to retrieve the HTML body (MailItem.HTMLBody property), load it into an instance of the IHTMLDocument2 object, loop thorough the links collection and modify the links. You will then need to retrieve the modified HTML body and set the MailItem.HTMLBody property.
You can of course do your own parsing by looking at all the <a> tags in the HTML body instead of using the IHTMLDocument2 object.
I have a custom list made up of out of the box SharePoint field types (no custom field types used), but I am using custom new/edit/display form on the list which I have created using application pages.
We want the users of the forms to be able to put rich text formatting on these fields, so I am using the following tags for this....
<SharePoint:InputFormTextBox ID="rteChangeDesc" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="10" Width="99%" Columns="500"></SharePoint:InputFormTextBox>
This works great on the forms but the list views all show the html tags. I've tried various ways of removing these, including setting the disable-output-escaping="yes" in SharePoint designer, and this hasn't worked.
Currently, I am saving the fields to the list in the code-behind using Server.HtmlEncode(), then using the HTMLDecode to display the contents correctly.
Is there a way of easily removing HTML tags in the view column, without loosing the rich text functionality and tool bar in the forms?
Or can I do something in the code-behind code before saving these to the list that would make them display in view columns but keep the formatting in the form?
Any help appreciated! Thanks!
Go to List Settings and modify the individual columns to show only rich text and not enhanced rich text. It worked for me. I can still include links and pictures and other HTML items but you do not see the code behind it.
How do I set the font of selected text in Outlook's HTML editor? I found a couple of answers on google, but none of them worked.
What version of Outlook are you using? In case of Outlook 2010 and up, Outlook always uses the Word editor and you can access it Application.ActiveExplorer.WordEditor, which returns an instance of the Word's Document object. Once you have it, you can use the Word object model to change the selected text attributes.
I created a simple report and uploaded it to my report server. It looks correct on the report server, but when I set up an email subscription, the report is much narrower than it is supposed to be.
Here is what the report looks like in the designer. It looks similar when I view it on the report server: [http://img58.imageshack.us/img58/4893/designqj3.png]
Here is what the email looks like: [http://img58.imageshack.us/img58/9297/emailmy8.png]
Does anyone know why this is happening?
This issue is fixed in SQL Server 2005 SP3 (it is part of cumulitive update package build 3161)
Problem issue described below.
http://support.microsoft.com/kb/935399
Basically Full Outlook 2007 Client Uses MS Word HTML Rendering Engine (Which Makes Web Archive Report Looked Jacked Up).
NOTE: Web Outlook 2007 Client Uses IE HTML Rendering Engine (Which makes Web Archive Report Look Okay).
We have installed the patch on DB housing Reporting Services and it does fix the issue. Emails look all nice and fancy now.
I notice that the screenshots show Outlook 2007. Perhaps you're not aware that Microsoft somewhat hobbled the HTML capabilities of Outlook in 2007, and now it uses the Word HTML engine, and not the more advanced Internet Explorer one? Might this explain the lacklustre appearance?
http://www.sitepoint.com/blogs/2007/01/10/microsoft-breaks-html-email-rendering-in-outlook/
I got around this problem by doing the
following:
Add a Page Header to the report
Add a line to the page header. Set the width of the line to the
desired page width.
Set the line colour to white (eg to hide the line)
Hope this helps someone else,
Following on from girlC0d3r's solution, images aren't always guaranteed to be shown in an email.
A better solution to widening the report to prevent the content from wrapping is to have a long unbroken string of characters with no whitespace.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
By giving the text the same color as the background of the email (e.g. white) they'll widen the report and be invisible to the user.
I don't see anything but my first guess is that the fonts are vastly different. The designer has one font and the email is a flat, no-frills kind of thing with a simple font. Without concrete examples, this is just a guess.
I don't think it's a font thing, because the text is being wrapped a lot, and it looks about the same size.
The images show in my preview, but not in the final post. So, here are links to them.
Report in the designer: [http://img58.imageshack.us/img58/4893/designqj3.png]
Email result: [http://img58.imageshack.us/img58/9297/emailmy8.png]
What report output format did you specify for the scheduled job? It seems to me you used HTML, which will autoscale depending on the output browser (HTML adapts).
If having the same layout is important then use PDF as the output format. Then, if the user wants to print the report you know exactly what it will look like and that it will fit nicely on the page.
Can you try a different format? pdf or xls maybe. In my experience web archive looks goofy. Don't know why.
Yeah, I'm using HTML. I would prefer to stick with that, because the users can just read it in their mail clients. PDF or XLS would require them to open an attachment.
I know that the HTML resizes itself to fit the browser, and that's a good thing. The problem I would like to fix is the wasted space - in the email client, the HTML shrinks too much.
I got around this problem by doing the following:
Add a Page Header to the report
Add a line to the page header. Set the width of the line to the desired page width.
Set the line colour to white (eg to hide the line)
Hope this helps someone else,
girlC0d3r is along the right lines (no pun intended), but the line will likely be shrunk along with the rest of the HTML in the email. A workaround I used yesterday was to create an image 1px high by 600px wide (or whatever), the same color as the background, and bring it into the report as an embedded image. Place it above or below the body of your report. This should force the intended width in the final email. I used this technique successfully in a report yesterday.
I just ran into this issue myself, exactly as portrayed in the OP's screenshots. The reports were beautifully rendered in nearly every format except for Web Archive. My trouble was the use of a rectangle containing each matrix that did not span the width of the report. Upon stretching it out through the remaining white space, the condensing behavior ceased. Hope that helps someone who doesn't have quick access to an SP upgrade!
Where it is not an issue of running on old software that needs a patch...
The reason is the columns are different sizes is because the MHTML Device Information Settings, 'OutlookCompat' is set to true
When creating an email subscription with MHTML format and open the report in Outlook, A forum post by Microsoft employee Fanny Liu says
change the OutlookCompat configuration setting for the MHTML Rendering extension in rsreportserver.config. Set the value to: False.
As I was researching it appeared that this would impact more than just column size. In my instance it was not that big of deal so I decided to leave well enough alone. It is correct in PDF and web, the email I send includes a link back to the report, if the client wants a pretty report they are going to want it in PDF, the email format is not expected to be printable.
Encountered the same issue and this worked for me.
Go to --> Properties --> Report
Set InteractiveSize Width to 4.9in
Set Margins to 0 for Left, Right, Top, and Bottom
Set pageSize to Width to 4.9in