Can not open Excel file after inserting comments programmatically
Hi,After inserting comments programmatically to an Excel file,I tried to open it.But it asks "Excel found unreadable content in MyTemplate.xlsx.Do you want to recover the contents of this...
View Articleinterested in implementing Office:EncryptionProvider how do I ensure it works?
Hello,I am trying to create a COM-addin that implements the Office::EncryptionProvider Interface to provide custom encryption of documents, but I cannot get it to call the queryProviderDetail function...
View ArticleWhat formula(e) does Office use to apply brightness/contrast adjustments to...
Microsoft:I have been trying to figure out how Office 2007 applies brightness/contrast adjustments to images, but I haven't had any luck matching what Office does. I have not found it detailed in any...
View ArticleCreate a hyperlink to an existing cell to another sheet using Open XML sdk
I want to set hyperlink to the existing value in the cell to another sheet. Here is the code i am using, but its not working. Please help me to figure out thisHyperlinks hyperlinks1 = new...
View ArticleZoom Level in Excel
Hi,Does anyone know how to set the zoom level of an excel sheet using open xml?Elizabeth Abraham
View ArticleWriting data to Excel templates
Hi all,I have a development task that seems to be going awry. I've written a wrapper around OpenXML to help me do some of the common tasks - writing strongly typed data to cells, finding worksheets...
View ArticleVenturing into OpenXML, Visual Studio, VB
Hi,I'm a relatively long time Word user and VBA dabbler. I'm desiring to venture into learning to work with OpenXML (e.g., my first project would be learning extract a CustomXMLPart from one document...
View Articlehow can i update charts' data in word document by using OpenXML
There was 18 charts In my word document . I can get the charts by code like this:private MainDocumentPart mainDocPart;......ChartPart c_p = mainDocPart.ChartParts.FirstOrDefault();Then I can update the...
View ArticleOpenXml : PowerPoint . Add an Image and a Title into a Slide
Hi all, I'm using OpenXml for the first time and I've tried for several days to create a simple presentation in c#. my goal is: given a list of images as input ,create for each one a slide with a...
View ArticleHow can I change the xlsx file data of the chart in Word document?
I have asked a related question in this form.The problem is I can only change the data in Chart.xml but can't change the data in .xlsx file related to the chart.xml.the code is...
View ArticleReading HTML tag in Content Controls
Hi All,I have build an application where i dynamically generate word document using predefined Templates. I am using Open XML. SO i generate XML programmatically and associate it with WORD 2010.I am...
View ArticleMerge Documents alignment issue & font issue
Hi , I am merging the two documents using open xml. In Appended document alignment and font are different when compared to original document. Is there is any solution to retain the font and...
View ArticleHow to add rows in excel sheet using OpenXML
Trying to insert rows in a table in excel sheet before the last row.Implementing with following logic. Not able to insert row with below logic. Could any please help me to achieve this....
View Articlehow to enter multi lines of data in cell
Hi , dear all,I'm using OOXML to generate an xlsx doc and separate 2 lines with 0xD 0xA , but can't get multi line effect . Could any one help me with this ?
View ArticleGenerate multiple docs by substituting values for placeholders
Hi,Does anyone have a utility that would generate multiple documents using one template with placeholders.The placeholders' values can be in the form of text or number.I could have written a script in...
View ArticleRetrieve Excel cell values from every row and cell in a WorkSheet
Good Afternoon,I am utilizing the Open XML 2.0 to retrieve cell values with in a workbook. In my code, I am attempting to retrieve the cell values from every row and every column within the worksheet...
View ArticleProblem with OpenXML SDK 2.0
i used DocumentFormat.OpenXml.dll to convert document to open xml ......and i succeed partially as follows.1. successfully converted .docx to xml2. Giving an error that file hass corrupted data while...
View ArticleHow to replace content in template docx document using C# and Open XML SDK
HiI have a "template" docx document which contains the desired layout, and wish to insert content using C#. The template has been created using Developer ribbon in MS Word. The snapshot of the...
View ArticleProtecting Word, and Excel documents, workbooks using OOXML SDK via Office...
I have Word and Excel Documents and Workbooks with protection on them so content cannot be changed without unprotecting them via password. On the Office client there are methods to protect and...
View ArticleInsert new row in excel
Hi,I'm trying to Insert a new row in excel sheet using Open Office xml sdk. Please let me the code to do the same. Thank...
View Article