Quantcast
Browsing all 1288 articles
Browse latest View live

OpenXML Document in VB.NET Multiple Sheets

Hi, I'm successfully creating a spreadsheet with one sheet from a dataview.Now I'm trying to create multiple sheets from multiple dataviews.I can't quite get it to add multiple sheets. Dim dv1 As...

View Article


Does Microsoft support to export embedded object from excel, such as pdf,...

Hi,I am trying to find a way to read embedded object from excel, such as pdf, jpg. Does Microsoft support that?  Thanks,

View Article


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

Get absolute coordinates a child shape

Sorry for my English. A PowerPoint slide contains a group shape (grpSp) with following...

View Article

How to read VBA code from macro-enabled document(.DOCM) using openXML in C# ?

I need to read VBA code which is included in macro enabled document(.DOCM) file using openXML in c#.I have tried following code but it returns weird string.using (WordprocessingDocument wordDoc =...

View Article


Error opening xlsx file in office 2010 when saved through Open Xml format

We have added DataValidations to the existing excel file and saved the Workbook and getting an error when trying to open the files saved with Open XML Format in MS Office 2010.Error Msg - 'Excel found...

View Article

Image may be NSFW.
Clik here to view.

Copy chart color schema to another chart

Sorry for my English :)A presentation slide contains two charts: Input and TemplateBased on those two charts I need get third Output chart which will contain chart type fromInput chart and color schema...

View Article

OpenXML generated file wont open in MS Spreadsheet Compare tool and Excel...

We are trying to build new process to auto generate Excel files using OpenXML (2.8.1.0). The very basic XLSX file will open in Excel, but when I try to use the MS tool Spreadsheet Compare tool, it...

View Article


Closed XML getting error of DocumentFormat.OpenXml Dll.

Hi, i have implemented Export to excel functionality in my dot net project. I have used Closed XML api which is based on Open XML ,When i run my code locally for exporting my dataset to excel using...

View Article


System.IO.FileFormatException: File contains corrupted data

Hi!I use OpenXml library to count the number of pages in the pptx files uploaded by user. 90% of times it success but 10% of time it fails and give the error in the title.The function I call...

View Article

Copy chart from one presentation to another presentation

Sorry for my English :) I try to copy a chart element from one presentation to another with the same positionusing C =DocumentFormat.OpenXml.Drawing.Charts; namespace...

View Article

Open XML Text is not replacing after editing word document.

Hi, I am working with OpenXML and stuck in a issue.First I am creating the word document from template file.Then using following code for mail merge Using docGenerated As WordprocessingDocument =...

View Article

How to get all text in presentation without Title?

Hello!I have an issue. I want to receive text from a slide without Title. In an example "How to: Get all the text in all slides in a presentation" we recieve whole text by tag <t> in XML, title +...

View Article


Compute max number of characters for a shape

Sorry for my English :)I know shape's (on the slide) width, height, and its text font size. Is there a way to definemax number of characters which shape can contain?I need just an approximate number...

View Article

Can we use indexing and .Count with OpenXML?

I am told that OpenXML is very fast and am porting one of my apps to it. One of the operations is rather common: to iterate through the worksheet names. I am used to doing this sort of thing with a for...

View Article


how to make openxml insert spreadsheet rows most efficiently

I use OpenXML v 2.8.1.0 to create an excel report for a web site. Spreadsheet has 22 columns. Takes 30 seconds to render 15,000 rows, but that's too long for a web page. Can I do this more...

View Article

Found for fastest, most efficient way to handle large Excel files. Need to...

Hello:This is a follow up to the following thread:...

View Article


Insert a picture into a header or footer of a word processing doc

Hi team,I have referred to the link http://msdn.microsoft.com/en-us/library/office/bb497430.aspx to add image part in the word docpublic static void InsertAPicture(string document, string fileName) {...

View Article

Get font size for slide shape

A shape which is located on the slide has a paragraph and this paragraph has A.Run instance which property RunProperties.FontSize is null.This instance also contains text. How can I get his font size?...

View Article

After save document, I can not open saved document OpenXML SDK 2.5

After I save document (object Document open myfile.docx and save it as myfileEdited) Document.SaveAs("myfileEdited.docx"); or I use Close(); when I call using (WordprocessingDocument Document2 =...

View Article
Browsing all 1288 articles
Browse latest View live


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