Stream in memory XLSX file using Openxml returns "Corrupted" file
Creating XLSX file using open xml 2.0 (Tried 2.5 also, but same issue), results in "Corrupted" file.Same code works well in local machine(IIS express 6.0), in server it fails to return proper...
View ArticleSmartArt Algorithm
Is there someone could help me ,some problem with SmartArt in office 2007. i konw SmartArt have snake Algorithm,linear Algorithm and so on,but i can't get the right position of shape's and the right...
View Article[Excel] Add Checkbox with OpenXML SDK and C#
Hi,how can I add a checkbox to an Excel 2007/2010 document with the OpenXML SDK and C#?Many thanksNico
View ArticleOpen XML SDK v2 Handling Multiple Threads
HiI have read a post or two that suggests the open XML sdk is not thread safe but I haven't found any official MS document that states this in fact to the contrary most online docs demonstrate how to...
View ArticleInsert Images in Header- and Maindocumentpart
Hello all,I've got a big problem. I developed a little DLL for a template-system with Open XML SDK.I want to copy a headerpart from one templates header and a maindocumentpart from another...
View ArticleGet Excel checkbox value
I am trying to import a CheckBox value (checked/unchecked) which is technically an Excel Drawing. I've gotten the raw XML using EPPlus and I still cannot find a value for the CheckBox's anywhere. They...
View ArticleReplace image in word doc using OpenXML
Hi,I want to fill my Picture Content Control that is located in my word document with this code: (I have passed content control tag and the image stream via document parameter to this function)...
View ArticleFill Picture content control in header of word doc using OpenXML
Hi,I want to fill my Picture Content Control that is located in the headerof my word document with this code: (I have passed content control tag and the image stream via document parameter to this...
View ArticleHow I can Insert a Image into the Header of Word Document using Open XML SDK 2.5
Hi Greetings to all,Can anyone help me on How I can Insert a Image into the Header of Word Document using Open XML SDK 2.5. i want both doc and docx can be added with the Header which having the Logo...
View ArticleChecking to see if a part exists
I want to know what the best what to check for a part's existence in a document is. I have a scenario where I want to see if a document has an external relationship. If it doesn't have one, then add...
View ArticleMS Word | Applying styling to a HTML formatted paragraph using...
Hi, I am using DocumentFormat.OpenXml.dll to create a document file in which we are showing some HTML formatted data. I want to add additional numbering styles (1, 1.1, i, I, A, a) to the added HTML...
View ArticleCan't find template for Open XML SDK or Office Tools on Visual Studio
Hi Guys,I can't get Visual Studio 2015 Community Edition to see Open XML SDK or Office Tools SDK. I've installed Open XML SDK 2.5 and the current version of Office Tools 365. I've opened VS and made a...
View ArticleOpen XML SDK on NuGet?
There is version 2.0 of the SDK on NuGet, but its not clear whether that was published and is maintained by Microsoft. Would it be possible to post the latest version on NuGet?Thank you!-Michael
View ArticleCell Strin Type - InnerText - return a "" for a empty cell
HiI'm reading cells from a spreadsheet and I have a cell whose type is CellValues.String.To read the value I'm usingString value = cell.InnerText;The cell (appears) to be empty and I get a String...
View ArticleHow to Change the HyperlinkBase property in a DOCX document using VB.Net and...
I need to bulk change/set the Hyperlink Base property for a set of documents. I can open the docx using .net and OPEN XML, however I'm having a problem making the next step in getting to and changing...
View ArticleHow to make left address same line with right date?
Hello..How to make left address same line with right date? Last address sentence must underline, then date not underline..Example below:Kampung Tanjung Alir, 22000, Jerteh, Terengganu....
View ArticleHow to store a number as a number?
I'm writing a small application that fetches data (text and numbers) from a database and output this in a Excel document for presentation. Inserting text as text works fine, but I'm having problems...
View ArticleHow to convert .docx file to html file with formatting using open xml sdk 2.5
HI,I am trying to convert the document file(.docx) to html file. Currently I am able to do the conversion but html file does not retain the formatting. I am using open xml sdk 2.0.For example: If a...
View ArticleASP.Net Open office XML Create dropdown list in excel without using Interop
I am using ASP.Net and Open office XML and I have been able to set the headers of the excel file.However, I want to set the value to cells from say D2 to D1000 in a drop down fashion i.e. that the user...
View ArticleSpreadsheet parsing - Out of Memory Problem
HiUsing BizTalk - I need take a spread sheet and convert it into an XML format something...
View Article