How 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 ArticleCannot Reference DocumentFormat.OpenXml.Office2010.Word.DrawingShape...
According to the MSDN documentation I should be able to utilise the classes within the DocumentFormat.OpenXml.Office2010.Word.DrawingShape namespace(s) with version 2.0 of the Open XML SDK.I need to...
View ArticleExport dtat from Excel to SQL using openxml
Hi all.,I'm new in Openxml.I want export data from excel to SQL table using open xml.How to do?Tahnks in Advance.
View ArticleWorksheetPart - Need an example of how to delete the "(blank)" placeholder in...
I am using an excel file as a SpreadsheetStyle template for an Excel file that contains a pivot table.I am simply using DocumentFormat.OpenXml.Extensions.WorksheetWriter C# object instance to paste...
View ArticleMissing XML "Words" and "TotalTime" properties after editing with "Word Web App"
I just discovered that some of the extended properties are now missing in documents after editing them using "Word Web App".Previously these properties were correctly maintained while editing using the...
View ArticleOPENXML generated Excel Document - A document must contain exactly one root...
I am trying to create and write to excel. For the template, I simply copied over code from OPENXML Productivity tool for an existing excel file, and then modified the code to add my rows of data when...
View ArticleDefault text box issues when pasting into Template
I have defined and saved a master Theme and Template in PowerPoint including some master slides with various placeholders in terms of text boxes. When I open the Template and paste text boxes from...
View ArticlelastRenderedPageBreak missing when starting page/col with empty paragraphs
Is this the right forum for this topic? - I posted in the Office Open XML File Format Implementation, but was told that this forum was a better fit.Tested in MSWord 2010.For all of the following cases...
View ArticleSave word document as pdf
Hello,Office 2007 installed and PDFConverter installed. I opened word programmatically and when i try to save word file as pdf file as the following code i accept the following exception : object...
View ArticleCopy VBA code from one slide to another or one power point to another using...
I need to copy vba code from one slide to another using open XML. Any reference would help.Thanks.
View ArticleChange underlying spreadsheet data for a PowerPoint chart
I have the code below derived from the code by Eric White found at this location:http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2011/03/28/132189.aspxI have been able to change the data...
View ArticleAttempting to validate OpenXML documents created in Word produces errors
I am doing some research which includes needing to validate a set of collected OpenXML documents. I am using DocumentFormat.OpenXml.Validation in C#, and I am attempting to understand why validation of...
View ArticleRead Excel 2007 file with Open XML - Identify blank cell
Hi I am working on a .NET 4.0 console application. I am trying to read the data from MS excel 2007 document. (file format in Xlsx)I use the below code to load the data into datatable. It works fine if...
View ArticleCopy design theme from one powerpoint presentationa and apply on another.
I want to copy design theme from one power point file and apply on another power point file using open XML. Let me know if we have any way of doing it or any sample code.Or if we have any open xml to...
View ArticleDocument.xml.rels transformation and canonicalization
Hi,I need some help in transforming and canonicalization of Office XML relationship file mentioned in title i.e. Document.xml.relsI have seen that in the final signature file in OOXML Package, in which...
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 ArticleOFC.EXE to convert DOT to DOTX file for Office 2007 upgrade
Sorry. I'm not sure where the best place is for this question.I need to mass convert a folder of 1700+ word templates (.dot) plus a few .xlt files . I am using the command line OFC.exe from the...
View ArticleUsing IPersistFile.Save on word doc doesn't copy lastRenderedPageBreaks?
Not sure if these goes here or in the Word for Developers, but I'll try here first.So I'm saving a temporary copy of a Word document using IPersistFile.Save() like so:var persistFile =...
View ArticleWorprocessingML - Problem with w:num elements (numbered lists are broken at a...
Hi, I've got a question concerning WordprocessingML!I'm generating some word file with many numbered lists. It works fine for the first 2020 lists. But all further lists are broken (word displays no...
View ArticleTrying to open more than 1 document on button click
Using the below code works for 1 Excel Spreadsheet but I need to populate and open 2 Excel and 2 Word documents based on a single button click.Any ideas? Protected Sub btnDownload_Click(sender As...
View Article