How to read password protected XLSX file using Open XML
Hi,How to read password protected XLSX file using Open XML, I do have the password.I know lot of people have asked same question lot of times, but what i found that this question has been asked about...
View ArticleServer Generated Word Doc will Validate but not Open
I've posted this question over on Stack Overflow but it's not getting a lot of traction. Hopefully I'll have better luck here. I'll leave the progression of my work on the problem there and just post...
View ArticleSmartArts Types
How to add a private SmartArt Type beside the given ones (list, process, hierarchy, ...) to insert its individual layouts?
View ArticleOpenXML: Finding and Manipulating Embedded Charts in a Word Doc
I'm very close on this.I'm trying to create a function that will locate and update an embeded chart within a Word document. Ultimately, the document will have sevral charts.So far, my function can...
View ArticleWrite DataTable result to Excel using OpenXML
The following code converts a DataTable (the dt variable) into an array and then writes the array into a Range on a worksheet (wsh var).object[,] arr = new object[dt.Rows.Count, dt.Columns.Count]; for...
View ArticleExtract content from Word 2003 Document
Hi,The client has Word 2003(.doc) documents in bulk ,which are created based on a template (.dotm). The requirement is to extract the content (the actual data/paragraphs) from these documents. I know...
View ArticleAltChunks gives corrupted document.
Hi,My Company generates a very large amount of Word documents that are assembled via OpenXML from data in a database. Some of the content is database fields which contains RTF text, which we add as...
View ArticleIndentation problems in word 2007
Hi Everyone,I am creating a word document using open xml sdk 2.5 using C#. I am generating the main content part, styles part, numbering part using XSLT. After finishing my work, when i opening the...
View ArticleOpenXML and powershell Copy of Worksheet to Workbook
Hello Everyone, I looked at a few threads and quite didn't find a simple answer. I have a powershell script that pulls SSRS reports in EXCELOPENXML format. These reports are pulled in a loop with...
View ArticleProblem with inserting html to tablecell
Hi everybodyI had a Problem with inserting Html string into table cell in a table. I used altchunk, and append it as a new child to one table cell. Afterwards I use MS word 2013 to open the generated...
View ArticleInsert formatted text into bullet strings
Hi all, I am new to Openxml, and currently got a problem with my project. I am implementing a document genenrator, and in the template I have some list strings. The text I want to use for updating the...
View ArticleWhy do I get errors with OpenxmlValidator but not with Productivity Tool?
I have a simple (mostly blank) World Document saved in .docx format from Word 2013.OpenXmlValidator throws the following errors, yet the Productivity Tool says there are no errors. Also some of the...
View ArticleCreating Powerpoint with charts using open xml
I wish to create a powerpoint file and then add charts to that file dymanically (chart on each page) through providing the chart title and the chart data and selecting one of the predefined charts...
View ArticleOpenXml - Insert Watermark in Word with VB.NET
I have a web applications (asp.net) and I need to insert text diagonal Watermark, in a word file (word 2010) with OpenXML, I use the following steps to open the file:Dim wordmlNamespace As String =...
View ArticlePower Point pptx auto fit text
Hello!I am writing a pptx generator. I am putting text into slides. I want that it take determine width. For excample, text "param pam pam" should take 1.5 inch. For it purpose I put <a:normAutofit...
View ArticleAdd custom properties to ".xlsb" files using openxml sdk in VB.net/C#.net
Hi,I am creating an asp.net application which adds custom properties in office documents.I am using open xml sdk dll for adding custom properties for xlsm, xlsx files.I am using...
View ArticleColoring cells in excel sheet using openXML in C#
Hi,Please explain, how to color the two different cells (C4,F6) with two different colors in the excel sheet using OpenXML in C#.thanks,Elangovan P
View ArticleCan't install -- Open XML SDK 2.5 is not supported on .NET Framework Version...
My corporate client provided me a high powered laptop (with secure network access) for development purposes. When I attempt to install the OpenXMLSDKV25.msi it reports "You should have .NET Framework...
View Article.NET application - reopen word at particular bookmark
HiThere is a requirement to open a word in browser (IE9) at the particular bookmark/page on link click of web application page.Application Details: .Net 4.5/Asp.Net MVC application I have the following...
View ArticleVMLDrawing part
Hi,The code part VmlDrawingPart vmlDrawingPart = worksheetPart.AddNewPart<VmlDrawingPart>(); from the below given link is not working for me.I'm getting an exception saying that "only one...
View Article