Quantcast
Channel: Open XML Format SDK forum

OpenXML not able to get the actual formula text for few cells

We are using openxml nuget package DocumentFormat.OpenXml to read excel cell values. Our requirement is to read the actual formula text from a cell using "cell.CellFormula" property,but for few of the...

View Article


.Net Winforms Manipulate Word Document “Page number”

Main Question: How do I use OpenXML via c# to change a word document page number?End Goal: Manipulate Word Document to change its page number. What I have tried/where I have looked: I have looked at...

View Article


Image may be NSFW.
Clik here to view.

Iterate all text in a word document and replace with the new ones

Hello,I am trying to iterate through all texts in a document (paragraphs, tables, header-footer, table of contents, textboxs), and translate them and replace the texts with the translated texts. I...

View Article

merging multiple docx files using open xml.

hi,i want to merge  multible word docx files by using C# in openxml , plz can any one help me.actually i tried with Altchunk but it throwing error like "document containing altchunk". so is there any...

View Article

Adding footer but footer format is different than the normal in any word

I have successfully added a footer in a document where footer is not there.But the format is different if it s a fresh footer , but if I open the document and click the footer area and save it this...

View Article


Getting the cell value from a different column

I have a spreadsheet with 10 columns, I want for example to inform the cell value and the column and get back the value contained in the cell that is in the same row found but in a different column....

View Article

Unable to open docx generated using OpenXML C# library in latest versions of...

Hi I wonder if anyone can help, we have a Word document that is created using the DocumentFormat OpenXML 2.11.3 SDK for C#.When attempting to open the file I get the following error message:Word...

View Article

Image size handling in Excel

HelloIn one of our projects we fill data into Excel spreadsheets using a webservice and Open XML.In one of the cells in the template workbook we use, there is an image/logo. The image is located in...

View Article


Read AlternateContent from Excel file

I was unable to find an example on how to get values stored as part of AlternateConfig XML tag. For example, my test Excel file has this<mc:AlternateContent...

View Article


openxml sdk 2.0 (version 2.0.5022.0) inserting date in cell format with excel...

Hi All,We are facing an issue related to date value. If we insert it as string it works fine but in the excel file the cell format is stringCell cell = new Cell() { CellReference = cellReference,...

View Article

generatedOpen XML SDK source code too large!

I was watching this video. I created a PowerPoint file and extracted the code from the OpenXML productivity tool. After I reflected the Code: I see three .xml files with a thumbnail.jpege files under...

View Article

Can I get height and width of HTML content in Open XML

I'm binding list of HTML contents into a word file using Open XML. I want to know the height and width of the HTML content to stop bind within one page. Is it possibility to get the height and width...

View Article

Embed a video file into a document using open xml

hi ,i would like to know how can we embed a video file programatically into a word document. have seen there is an option to embed documents/html/rtf using altchunk but not video file.appreciate your...

View Article


Refactoring VBA script involving With keyword

Hi, In a loop, I have a 2 by 1 table in PowerPoint slides that as I create them, I format them. How can I refactor this, please?    With pptTable.Table.Cell(1, 1).Shape .TextFrame.TextRange.Font.Name =...

View Article

Questions about the Out of Memory issue

When processing an Excel file with many rows and columns using ClosedXML that uses the OpenXML SDK, an "Out Of Memory Exception" error occurs. Also, I saw the description on the following Web page that...

View Article


How to Retrieve/Read Image binary data from ImagePart

Hi,I have a situation where that I need to extract added Images from Word 2010 files. Basically what I have tried was,1. Find 'Blip' object from word document using SDK (This step is must acording to...

View Article

Save all presentation slides as jpeg

Hi all,I would like to create jpg files of all slides in a presentation using the open XML SDK in .NET. Please guide me.I would like iterate through the slides and save them as slide0.jpg, slide1.jpg...

View Article


problem in accept revision

we are facing issue in word document related to table margin of the word document after accepting changes.problem with the formulas : formula gets shift

View Article

Deleting Content Controls from the Word Document in docx file

Hi everyone.  I'm trying to get read of the Content Controls in input docx files. Have a method to find and Delete them (below).  With it I was able to find them but when I do  SdtRun.Remove() nothing...

View Article

AutoFilter and SortState/SortCondition...sorting does not take when open the...

I have built my XLSX file in Excel.  Everything works wonderfully.I open my file...and I have my Filters in place.  Mind you...I am not actually filtering on anything...I just have it in place for the...

View Article


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