What does effectExtent mean if there's no effects?
Hi all;In the file ATE-3548.docx two of the images have the effectExtent set to a non-zero b value. But as best I can tell, there's effect props. So what does this mean?<w:drawing><wp:inline...
View ArticleHow to read and update chart's title in an excel file using...
Dear all,I have an excel file with chart inside of it. I have to use DocumentFormat.OpenXml and pragmatically update the chart's title inside the excel file. I would appreciate if you could share...
View ArticleProductivity Tool Reflect Code Returns Huge Code
Hello,When I run the Open XML SDK Reflect Code in the Productivity tool for the simplest word document that I can create (1 line of text), I get code with ~2000 lines. Is this right?Thank you!PS. I...
View ArticleCreate an Excel Spreadsheet with an image on the First Header with Open Xml
Hello, I have been trying to make a supposedly simple task of adding an image to the left of the First Header in an Excel Document, but i can't seem to accomplish it. I have seen a few examples of...
View ArticleHow can I use openxml to update a MergeField in a template docx file please?
Hi All,I got the following issue that need your hand.I have a *.docx file as a template, with MergeField "NameField" inside.May I ask, how can I use openxml to :1. load this template document2. locate...
View ArticleOpenXML PowerPoint SlideIdList InsertAfter : Operation is not valid due to...
I am using C# OpenXML for PowerPoint creation.I am having right Previous SlideId. Trying to insert slide next to Previous SlideId using SlideIdList.InsertAfter method, that throws exception, Operation...
View ArticleHow to delete all data in Excel file with Open Xml Sdk
Hi Team,I want to delete the data from excel sheet data from open xml.Please guide me,not only single cell ,want to to delete entire data from one specified sheet and save it.Not working code:worksheet...
View ArticleWord dropdown, set selection
Plain and simply, I have a c:\dropdowntest.docx file that has nothing but one single dropdown list. The dropdown list has two options, "Option1" and "Option2". The file is saved so that "Option1" is...
View ArticleUpdate data from embedded chart in a PowerPoint with C# OpenXML
Hello, I would like to update data from a chart into a powerpoint template.I try many things to access the embedded data but i don't know how access it. When, i browsed the different part of the slide...
View ArticleHow to replace random placeholders in word document using OpenXML and C#
I have a requirement in my MVC application where I want to programmatically replace placeholders with text or images from DB in a predefined document template. Scenario: The application needs to...
View ArticleHow to add a HTML content into Shape with Open XML in Power Point?
Hello,I have been working since a couple of years with Open XML, but using Word Processing. Now I am trying to apply the same configuration to Power Point Presentation.I would like to know if it is...
View ArticleError in installing OpenXML 2.10.1 using NuGet in Visual Studio 2010
Hi,I'm fairly new to Visual Studio projects.Due to limitations on my project, I have to use Visual Studio 2010 and implement OpenXML version 2.10.1.I installed NuGet Manager to install OpenXML 2.10.1...
View ArticleHow to identify if the document has embeded images using openxml and C#
Dear team i want to check if the document has embeded images, can please share any code snippet ?Thanks in advancedPrasad
View ArticleWhy openxml unable to load document if it has invalid hyperlink ?
Dear teammy document has hyperlinks in it, some are valid and some are invalid.when i trying to load that document in openxml, it throws an exception.Please suggest, how to resolve this issueThanks in...
View Articleopenxml-issue-with-cellstyle
I'm trying to define a CellStyle within a completly empty spreadsheet. For the CellFormat I use the following code:var workbookStylesPart =...
View ArticleOpenXML SpreadsheetDocument Header and Footer
I am able to edit the document with OpenXML WordprocessingDocument and remove then add back the header and footer with the updated company information.I am trying to do the same for OpenXML...
View ArticleSample code creates a corrupt file on Open XML SDK newest version
This sample code is out of date docs.microsoft.com/en-us/office/open-xml/how-to-create-a-spreadsheet-document-by-providing-a-file-name#sample-code
View ArticleHow to format excel cell with text color,font,alignment and number format etc...
Hi,I am new to office open xml. I have to read excel and format cell with text color,font,alignment and number format etc.This should apply to more than one sheet in the excel. Please post me if you...
View ArticleHow to add colour for bullet list in word document using openxml
Hi,How to add colour for bullet list in word document using openxml.I am able to add colour to the text in the bullet list but the colour is not reflecting the bullets.Thanks in advance.Thanks ashish...
View ArticleTrying to open word document throws InvalidDataException
I'm trying to open a .doc file using OpenXML and I am getting the following error:System.IO.InvalidDataException: 'Number of entries expected in End Of Central Directory does not correspond to number...
View Article