Quantcast
Channel: Open XML Format SDK forum
Browsing all 1288 articles
Browse latest View live

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 Article


Cannot 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 Article


Export 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 Article

Image may be NSFW.
Clik here to view.

WorksheetPart - 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 Article

Image may be NSFW.
Clik here to view.

Missing 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 Article


OPENXML 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 Article

Default 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 Article

lastRenderedPageBreak 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 Article


Save 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 Article


Copy 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 Article

Change 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 Article

Attempting 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 Article

Read 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 Article


Copy 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 Article

Document.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 Article


Validation 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 Article

OFC.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 Article


Using 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 Article

WorprocessingML - 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 Article

Trying 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
Browsing all 1288 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>