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

Difficulties Updating Columns Collection In Worksheet Using SAX

Hey guys,I am working on a project where I am using a DataReader to read large amounts of data (100,000+ rows, 20+ column) and am streaming those into a worksheet using the SAX OpenXmlWriter methods to...

View Article


Problem to re-open Excel file

Hi,  I've got exception likeSystem.IO.IOException was unhandled HResult=-2147024864 Message=The process cannot access the file 'C:\dp13\New0.xlsx' because it is being used by another process....

View Article


how to programatically access built-in properties of open xml word doc?

i would like to display some built in properties of an open xml word doc file. i would like to use open xml sdk2.0 for this purpose. so i wonder if there is any class or any way i could...

View Article

System.IO.FileFormatException on opening excel worksheet embedded in...

I have PPTX files generated by users with PowerPoint 2016. The slides have embedded excel worksheets which I need to access for further processing. I am using Open Xml SDK v2.6.1 in my project. On...

View Article

Problem to refer to file

Hi, I getSystem.IO.IOException was unhandled HResult=-2146232800 Message=Cannot modify a read-only container. Source=WindowsBase StackTrace: at System.IO.Packaging.Package.ThrowIfReadOnly() at...

View Article


Problem to slow process

Hi, It is writely rather slowly into New0.xls by these codes. Where is the problem? I expect to COPY from onegiven Excel file into New0.xls. var ExcelObj = new Excel.Application(); //Excel.Workbook...

View Article

How to use openxml to get slide data by selection pane

Dear experts,now i have a requirement to develop a translate powerpoint content. I use OpenXML to extract the data from slide. But the result is all text in the slide.is there any Class/API to get...

View Article

Problem to open Excel file

Hi, I expect to copy details from one given Excel file into another Excel file (called New0.xlsx) by these using (FileStream fs = new FileStream(openFileDialog1.FileName, FileMode.Open,...

View Article


TextWrappingValues

Hello,How do I set the TextWrappingValue to Around in my C# open xml file.TableStyle tableStyle = new TableStyle() { Val = "TableGrid" }; TableLook tableLook = new TableLook() { Val = "04A0" };...

View Article


Problem to ObjectDisposedException

Hi, I getSystem.ObjectDisposedException was unhandled HResult=-2146232798 Message=Cannot access a disposed object. Object name: 'SpreadsheetDocument' Source=DocumentFormat.OpenXml...

View Article

Excel Workbook Data Refresh using OpenXML

Hi,I need to automate the Excel Workbook Data Refresh(Source and Pivot table). Can we do this using OpenXML SDK?I am using VB Script to Refresh the Workbook but this needs excel software in order to...

View Article

Different part name between Excel and Open-XML-SDK

When I call the function WorksheetPart.AddNewPart<DrawingsPart>, the result part filename is /xl/drawings/drawing.xml, which is different from what Excel 2013 names it...

View Article

Open XML Reading Excel file using Powershell

Hello All,I'm new to OpenXML and my objective is to read an excel document using Powershell. The reading of the document will be on a server where excel is not installed hence the use of OpenXML. The...

View Article


How can I get table column actual width from xml excel 2003?

I need read column width and row height from xml excel 2003 for printing.But I found that is no law.Fox example:    Open a xls file and set columns width 1mm、2mm、3mm、4mm、5mm.Then file save as  xml...

View Article

Powerpoint needs to be repaired issues

Hi everyone,I have a powerpoint file that needs to be repaired each time I try to open it. I have saved a copy of the repaired version and have tried to make the xml exactly the same however powerpoint...

View Article


Save chart as image by using Open XML

create an Excel file in .NET using OpenXML and Draw chart. How to save this chart as image.Thanks in advacen

View Article

Fill Picture content control in header of word doc using OpenXML

Hi,I want to fill my Picture Content Control that is located in the headerof my word document with this code: (I have passed content control tag and the image stream via document parameter to this...

View Article


Problem to cell's data type

Hi, I want to know why I get nothing to cell's Data type, using these WorksheetPart worksheetPart = (WorksheetPart)workbookPart.GetPartById(sheet.Id); WorkbookStylesPart wstylePart =...

View Article

Update to cell's properties

Hi, I want to write to Excel cell with value, by also putting exact values to such propertiesfont.Color.Rgb.Valuefont.Color.Theme.Value is there an example to this?Many Thanks & Best Regards, Hua Min

View Article

Where do i have to store a Custom SmartArt Color (.gcsx) or a Custom SmartArt...

HelloI created a Custom SmartArt Layout (.glox), Custom SmartArt Color (.gcsx) or a Custom SmartArt QuickStyle (.gqsx).Discribed...

View Article
Browsing all 1288 articles
Browse latest View live


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