ms-office

IRibbonExtensibility GetCustomUI not called

情到浓时终转凉″ 提交于 2019-12-05 15:40:21
I'm developing a shared add-in for Outlook. One of my customers is experiencing trouble on his machine, he does not see my add-in buttons/ui in the main window ribbon. After exploring his environment and my logs I noticed that the function "GetCustomUI" of interface IRibbonExtensibility is not being called in his environment. I'm not sure what can be the cause for the different behavior, why doesn't Outlook call the GetCustomUI on the customer machine? Also - Is it possible to initiate a call to this method by myself? or maybe refresh the ribbon so it will call GetCustomUI? If anyone has an

Is there any code to read MS Office PPT on Android?

回眸只為那壹抹淺笑 提交于 2019-12-05 14:42:19
I'm looking for code to read MS Office PPT on Android, is there anyone interested in sharing the code? You might want to take a look at Apache POI - the Java API for Microsoft Documents The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java. http://poi.apache.org/ I found an useful Url here: http://code

How to move the cursor to the particullar paragraph using Microsoft.Office.Interop.Word?

核能气质少年 提交于 2019-12-05 14:02:57
We are developing C#.Net 4.0 Windows form based application using Microsoft.Office.Interop.Word reference. Now I want to move the position of the cursor to the particular paragraph. How I do it? void MoveToParagraph(Microsoft.Office.Interop.Word.Document d, int number) { Microsoft.Office.Interop.Word.Range r = d.Paragraphs[number].Range; object dir = Microsoft.Office.Interop.Word.WdCollapseDirection.wdCollapseStart; r.Collapse(ref dir); r.Select(); } 来源: https://stackoverflow.com/questions/6186873/how-to-move-the-cursor-to-the-particullar-paragraph-using-microsoft-office-inter

Localize Office add-in based on Office language pack in use rather than Windows' current language

穿精又带淫゛_ 提交于 2019-12-05 12:09:43
I'm trying to localize my office add-in, I've read through many docs and tutorials on how to do this, but they all teach on how to localize it based on what the current Windows language, not necessarily what office language interface pack is in use. So I end up in a situation where my Windows language is French, I don't have any office language interface packs, therefore all my menus in the Office are in English, except my add-in which is in French. It looks kind of odd, so I was wondering if there's a way to localize based on current office language interface pack in use. I found that the

Convert Office Documents without Office [closed]

无人久伴 提交于 2019-12-05 10:32:23
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . We are in need of converting all MS Office documents to PDF, TIFF, or any similar image format with no loss in formatting (these are official documents that cannot have tampering). Is there any way to do this without installing Office on

Finding MS Office revision and build version, using VBA

核能气质少年 提交于 2019-12-05 10:02:08
The major and minor version of an office application can be found using Application.Version . Return examples: 15.0 = Office 2013 12.0 = Office 2007 I require the revision and build version of the office application, example: Microsoft Office PowerPoint 2007 Original: major.minor: 12.0 revision.build: 4518.1014 Microsoft Office PowerPoint 2007 SP2: major.minor: 12.0 revision.build: 6425.1000 Question : Is there a way of finding the revision and build version of an office application, using VBA ? Question updated : Naming convention mistake on my side - Looking for the revision and build

DCOM Failure of Office Automation

柔情痞子 提交于 2019-12-05 09:19:44
I developed a C# program that pulls data from a SQL Server database and then generates Word documents which include the data. I've set the program up to run as part of an SSIS job on a Windows Server 2003 box. The program runs as user SQLSVC which doesn't have administrative privileges. When I log in as SQLSVC and run the program it executes correctly. However, when the program is run automatically as an SSIS job it freezes at the following line of code Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application(); When I kill the process forcibly, the

Can anyone tell me what encoding this is?

老子叫甜甜 提交于 2019-12-05 08:26:15
AAAAAAFuAAIAAAZNYWMgT1MAAAAAAAAAAAAAAAAAAAAAAAAAAADMrsHTSCsAAAALuG8NYWxleHN1Y2tzLmRpYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPJXS83SjIoAAAAAAAAAAP////8AAAkgAAAAAAAAAAAAAAAAAAAAB0Rlc2t0b3AAABAACAAAzK6zwwAAABEACAAAzdJ+egAAAAEADAALuG8AC7hIAADK3wACADFNYWMgT1M6VXNlcnM6AGFuZHJld3ByeWRlOgBEZXNrdG9wOgBhbGV4c3Vja3MuZGljAAAOABwADQBhAGwAZQB4AHMAdQBjAGsAcwAuAGQAaQBjAA8ADgAGAE0AYQBjACAATwBTABIAJ1VzZXJzL2FuZHJld3ByeWRlL0Rlc2t0b3AvYWxleHN1Y2tzLmRpYwAAEwABLwAAFQACABL//wAA It's a data field from the ~/Library/Preferences/com.microsoft.office.plist file for Microsoft Office 2011 Mac.

How to access tag information on office files via C#

☆樱花仙子☆ 提交于 2019-12-05 07:27:57
问题 I would like to write a simple bit of code that would extract only the tag information from a set of office (docx, pptx, etc.) files that exist in a directory so that it could be indexed and searched easily. When I say "tag", I mean the tag info that you have been able to add to a file since Vista. It's typically done using Explorer. For example, the pptx file in the screenshot below has the tag, "bubble" attached. But searching those tags is already built into Windows, you say? Why, yes, but

Android version of iOS Quick Look Framework

吃可爱长大的小学妹 提交于 2019-12-05 06:34:44
Is there something similar to the iOS Quick Look Framework for Android? I'm trying to display/preview PDF and Microsoft Office files inside my Activity. I know that I can use Intents to open the files using the associated viewer but I would like to know if it's possible to not leave my application. It's only possible if you write your own viewers. The iOS app is calling out to an external class which just happens to render inside your own view. Not much different to Android except, you use an intent rather than call a specific app or framework which is more flexible since the user chooses how