Shapes with Open XML SDK
Hi Team Open XML.I started working on OOXML from past 1 month and I encountered so many good things about the SDK and its written beautifully. I would like to take this opportunity to thanks to OOXML...
View ArticleCreate a new shape in the slide master
I am having trouble appending a shape to a slide master. I am trying to insert a textbox with some text in the slide master, like a footer. I am very new to openxml and I was wondering if someone can...
View ArticleCopy table from Excel to Word
Is it possible to copy content from Excel to Word using OpenXML 2.5?Case: Excel file has Charts and regions of data. All of them are using defined names to identify.Now I need to copy some of them into...
View ArticleGenerated docx, problem with editing in OWA/WAC
Hi!I have successfully created a docx from a dotx with C#/OpenXML. I added an XML with some properties and the docx gets populated just fine with the custom values. I upload the document to SharePoint...
View ArticleFooter not updating on first page
Hi,i am trying to perform merging on a template - for that1. i had copied my word template, now append my first document file into it2. now i had added one more word template in that file3. i deleted...
View ArticleCreate doughnut chart using openxml
I want to create doughnut chart using openxml, c# in power point. I have got code to create pie chart. Any one can help me out in creating doughnut chart
View ArticleIs it possible to add two or more Worksheets in the same WorksheetPart?
I am a newbie in using OpenXML SDK and I'm trying to add two worksheets in a spreadsheet document. The first sheet is added just fine, but the code for adding second sheet is giving exception that I...
View ArticleCopy header with image from a docx file to another using open xml and c#
Hello,I'm a newbie but I'really would like to learn as much as possible about c# and the manipulation of docx files...I'm writing a program to merge some docx file to create a new file and it works...
View ArticlePowerPoint: How to change footer in slide on shape stores in master
Hi.like to set the footer text on a slide. I can set it with the following code, but it appears not at the location defined in the master. I am quite new to OpenXML, perhaps somebody can give me a...
View ArticleValidator missing something
Hi all;If you open the file www.windward.net/temp/Bug_16858.xlsx in the Productivity Tool and ask it to validate - it says no problems.If you open it in Excel - it has problems.Who will win The...
View ArticleSpreadsheet created by OpenXml SDK 2.5 failing validation without any details
I am trying to create a spreadsheet using Open XML SDK 2.5, and although the file can be opened in MS Excel, it gives a prompt-"We found a problem with some content in "filename.xlsx". Do you want us...
View ArticleInsert a new paragraph inside a merge field
Hi,I dont know if somebody asked this before (i've searched about it).I am trying to insert a new Paragraph inside a merge field using this code:mergefield.AppendChild(new Paragraph(new Run(new...
View ArticleHow to create multiple worksheets in an Excel workbook and write to the...
I got error opening the Excel file after adding the second worksheet with the following code. The error message was "We found a problem with some content in 'Test.xlsx.' Do you want us to try to...
View ArticleHow to copy a word document with images to another word ocument
Now, I'm facing a problem. I try to copy a word document that with images to a new word document. I use OpenXml SDK for C#. Who can help me? I have searched the Internet for a really long time, But no...
View ArticleHow to get started writing Excel Addins?
So far, my only development experience is as follows:(1) Have some artist generate a nice looking spreadsheet (just the top portion, with headers, logo, etc.).(2) Use the OpenXML Productivity Tool to...
View ArticleHow to insert the row in exisiting template in open xml
I have a scenario to generate the Excel sheet based on the existing template, pls refere the attached screen short, here i have two rows, but if i want to display the records in more than 2 ros then i...
View ArticleRemove default text "Click here to enter text." from all content controls
Hi,Whenever I add a content control inside Word 2010 document I see a default text "Click here to enter text.". I don't want my end users to see such text in the document. Is there a way to remove of...
View ArticleWrong replacement in content controls
Hi Experts,i have some Word-Documents with Plain-Text Content-Controls. Each one of them has a unique TAG to identify them later by code. In that code part i iterate over all Content Controls to see if...
View ArticleHow to keep the style when I rewrite table from html to excel
Now I am face the problem.First I created a DataSet from a xlsx file. And I had to keep the style so I can display it on web.Here is my code string GetText(string xml) {...
View ArticleExcel Open Issue
Hi, I am using open xml to generate the invoice report in excel sheet, so i loaded invoice no(F2), ship to(A13 to A18) and Sold to(D13 to D18) values, but when i open the excel sheet it throw the...
View Article