IENumerable to Generic List
Hi folks,I have had some excellent guidance to date and could use a bit of guidance on how to get an IeNumerable to a generic list to be passed into a function with the following root requirement......
View ArticlePower Point. Creating presentation. Adding image and table.
Hello!I need to add image to first slide, and add table 4x4 with random data to second slide.I have this code: using System; using System.Collections.Generic; using System.Linq; using System.Text;...
View ArticleValidation of Powerpoint presentations
HiWe have a webservice creating Office documents using Open XML SDK developed in VS 2010.We run into problems when creating Powerpoint-presentations in some scenarios. We create the presentation using...
View ArticleHow to optimize Excel export with Open XML?
Hello,I want to optimize my Excel data export, done with Open XML. I need to export more than 100.000 rows with about 30 columns.Here you have my code (data from datatable). It's very slow. Any idea to...
View ArticleHow to add an image to a word processing document using SXLT.
I am using an .xslt file to generate a docx file. I have a link of a picture in sxlt which can be found by using <xsl:value-of select="pic"/>. I used this value and successfully generated picture...
View Articlewhy is previous data from an xml file still populating Content Controls?
Hoping someone can help this newbie.I have a program that allows me to create the fields which will allow me to collect data which I can export as xml. I have a Word 2007 dotx which I have 200 - 300...
View ArticleOpen XML
Hi All,I have developed a word document which does some drawing on run time using openXML SDK's .dllMy question here is can this word document be opened on a client machine where in Microsoft...
View ArticleHow to change the header and footer in the Section Breaks Next Page using...
I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page. Scenario of example, I have a doc file which has four pages with...
View ArticleUpdate Word Footer
I have a requirement to add and update the footer of .doc and .docx files whenever a document is added or updated in a SharePoint library. I am familiar with handeling the SharePoint side of this...
View ArticlePage numbering in a word processing document
Hi,I need help how to include page numbering in a wordprocessing document.The document is generated on a web server (ASP.NET) (VB)I need help with creating the extendedfile properties part, as well as...
View ArticleUpdate Document Footer
I have a requirement to add and update the footer of .doc and .docx files whenever a document is added or updated in a SharePoint library. I am familiar with handeling the SharePoint side of this...
View ArticleHow to get Word vba equivalent Selection.Range.XML using OpenXML sdk
Hi,Is there any way to get the word's Range.xml using Open xml.Regards,AntonyAntony
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 ArticleHow to Modify Embedded Chart Range
I am attempting to update a word template with embedded charts. I was successful in leveraging the code found...
View ArticleHow to set relationship Id's properly when adding an ImagePart
Hi,I am working with OOXML SDK 2.5 and a Word .docx document.My objective is to create a method that will create a Paragraph containing an image from a byte array.When I add the paragraph to a the...
View ArticleProblem of OLE Automation of Powerpoint 2010 with C++
Hi, I'm playing with OLE automation of Powerpoint 2010 recently. I have written a piece of code as shown below. When the line "Shapes.AddPicture..." is executed, I always get an error. Who can tell be...
View ArticleHow to get updated word contents from the Word Document using Open XML Sdk.
Hi Everyone,I have created a Word Application in VSTO (C#). I have a Active word document where i have created lots of modifications like i have created some bookmarks, highlighted some text. Now after...
View ArticleInsert a Textbox into Excel using c#
helloI need to add a textbox into a spreadsheet using OpenXML sdk and set it's content. I don't mean adding text to a cell I mean as though you go into excel, go to the insert tab and select the...
View ArticleMaking the Transition to Open XML
First and foremost, I’m really after information rather than specific answers. As I think everybody has heard the expression give a person a fish, they eat for a day. Teach them how to fish, they eat...
View ArticleIssue with removing charts from the spreadsheet using Open XML SDK v2
Hi,I’m facing problem while removing the charts from the spreadsheet using OPN XML SDK v2. Actual problem is not while saving the file after removing the chart part. But when I open the saved excel...
View Article