ms-office

How to check a cell text is strikethrough or not in .xlsx file using apache poi

纵饮孤独 提交于 2019-12-09 07:13:28
问题 I need to check the text format of a cell in .xlsx file (Microsoft Excel file) is strike through or not using Apache POI libraries. Look following Image Please Check this image ! I need to check whether B3 Cell text is strike through or not. 回答1: Finally I found a way to do this, code as follow //Using workbook XSSFWorkbook workbook = new XSSFWorkbook(new FileInputStream(new File("abc.xlsx"))); //Getting first sheet XSSFSheet sheet = workbook.getSheetAt(0); //Checking A1 cell that

Specify value for ~remoteAppUrl in an Office add-in manifest

依然范特西╮ 提交于 2019-12-09 05:44:58
问题 I'm writing an add-in for Outlook using the new framework. The manifest in the project template uses ~remoteAppUrl to represent the location of the web files. It works great during development, but to publish to the Office Store I need the production URL there. If I save the production URL to the manifest, the production server gets used during debugging, and so local changes don't show up. The documentation mentions Visual Studio filling in this value during debugging: Next, Visual Studio

Creating an Equation Editor 3.0 equation in a Word 2003 document using a marco (or through the API)

北战南征 提交于 2019-12-09 04:37:29
I think the title is fully descriptive now. Anyway, I need to generate a word document from my delphi application. It needs to choose from one of four different equations (with some specific parameters for each document). So far I have manage to create the whole document programmatically except the equation. Is it possible to create equations programmatically? if so, where is de API documentation from MS? if not, which solution can be used? Going the VBA route that Brian suggested will only give you the code to open Equation Editor; it won't give you the code for actually creating the equation

Powerpoint: Manually set Slide Name

丶灬走出姿态 提交于 2019-12-09 02:49:31
问题 Context: A PowerPoint slide in C# has a property Slide.Name (usually contains an arbitrary string value). In my C# application I would like to use this property to identify slides (the slide order is to unreliable). Question: How can I manually set the Slide.Name property in the PowerPoint Application? My problem is very like to the: “How to name an object within a PowerPoint slide?” but just on the slide level. Any help would be appreciated. 回答1: There is no built-in functionality in

How to call VSTO class from other c# project

时光怂恿深爱的人放手 提交于 2019-12-09 01:43:18
问题 In my solution I have 2 projects. One is the controller, which in the final product is used to check if a execution is issued from console/non user input and therefore will execute the wanted changes in background based on imput from a xml-file, or if the execution was issued by user input, which will open an interface. A non user input would maybe a planed task or something like that, but thats is for an other time now and I just write that for some context. In both cases, sooner or later

Read word document in C#

大城市里の小女人 提交于 2019-12-09 01:19:45
问题 I want to read a word document in the server (both doc and docx). The server does not have office installed, therefore i can't use com objects and also no commercial softwares. Is there a way that I can use office tools alone and read the word docs (2003 and 2007) 回答1: Unfortunately there are no good free options for reading .doc and .docx files. Even commercial options are sparse at reasonable prices, but there are good extremely expensive options. For reading .doc files the only free option

Excel merge cell date and time

半世苍凉 提交于 2019-12-08 16:27:15
问题 I want merge cell in Excel 2013 column date (2016-01-01) and column time (16:00:00), How do I format cells to get 2016-01-01 16:00:00 ? Here is my example https://postimg.org/image/clxeqb66h/ I get 42677 16:00:00 回答1: You can achieve this by using TEXT function. As long as the date is on the A1 cell.. =TEXT(A1;"YYYY-MM-DD") =TEXT(A1;"HH:MM:SS") 回答2: ADD the two values Dates and Times are stored in Excel as numbers of days since 1 Jan 1900 and fractions of a day for the time. So to combine a

Not a valid Office Add In

好久不见. 提交于 2019-12-08 15:48:14
问题 I developed a new Office 2007 addin using VS 2008 and VSTO. after this I go to Office->Excel Options->AddIns->COM AddIns and GO... If I select the .dll which I ve created I get the error '<path>' is not a valid Office Add In. If I run it using the Visual Studio 2008 at my development machine, it works fine and I see the add-in. I searched so many posts but didn't get a solution. 回答1: Excel kept rejecting the Add-In, so the solution for me was doing it directly via the registry. Save the below

XML schema for Offfice 2007 [closed]

家住魔仙堡 提交于 2019-12-08 13:55:41
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I need the xml template for Word 2007. In Word 2003 it starts like the following and continues. What I need is the generic template of Word 2007 in xml format which can be used as the base for WordML to xml

Storyboard Add-In for PowerPoint Unable to Load

与世无争的帅哥 提交于 2019-12-08 13:37:08
问题 I recently installed the Office 2016 32 bit edition on my Windows 10 Enterprise OS. I had a Story Board Add-In with PowerPoint - Office 2013, which now does not work. I can see the Add-In but when I click any of its menu items, I get this message: TF86001: Team Foundation was unable to load the Office Add-In. This may be caused by a Team Foundation Client installation problem or lack of .Net programmability Support in the Office Application. For more information, see the following Microsoft