use Open XML SDK with files Open XML protected password for read
Can I use Open XML SDK with files Open XMLprotected password for read?
View ArticleASP.Net Open office XML Create dropdown list in excel without using Interop
I am using ASP.Net and Open office XML and I have been able to set the headers of the excel file.However, I want to set the value to cells from say D2 to D1000 in a drop down fashion i.e. that the user...
View ArticleDelete legend entries from an Excel chart
Aiming to remove legend entries from an Excel chart from code I tried:new LegendEntry( new Index() { Val = (UInt32Value)i }, new Delete { Val = true }));where i is the index of the entry. What is...
View ArticleCopy body of a word document into another document including contained pictures
Hello, I'd like to copy (working with the WordprocessingDocument) the body of a word document into another document, including the contained pictures. The copy process works fine, but the image in the...
View ArticleOpenXML - How to detect the active worksheets (current worksheets that user...
I have a function for user to upload xlsx. Then, the program reads and converts excel data to a datatable.If there are more than one worksheets in the file, I want the program reads the active one...
View ArticleOpen XML Unordered Lists Bullet Alignment
Is there a way to control the left margin when an unordered list is converted? So basically what is happening the bullet is out of the margin. It should be moved over and line up with the header as it...
View ArticleInsert a Picture into the Picture/Image Content Control using Open XML SDK 2.0
I have created a word template as followsHere PizzaPicture is a Picture Content Control, PizzaName is a Plain Text Content Control and PizzaDescription is a Rich Text Content Control I am able to...
View Articlecreating answer file
I need to learn how to write answer file from scratch to install specific software such as word viewer .. any help ??
View ArticlePowerShell - how sort XML file related with attributes
I have XML file (specifically .cproject from eclipse) and for SVN reason I need sort this file inside. Sort is related for attributes id, name, etc... I made C# project with this functionality. Example...
View ArticleHow to Get Multiple Tables per Worksheet
I'm successful in generating a multi-worksheet workbook in Excel using MS xmlns="urn:schemas-microsoft-com:office:spreadsheet and XML. Problem is if I try to include more than one Table per worksheet,...
View ArticleCreating Excel spreadsheet using System.IO.Packaging
Hi, I am creating Excel spreadsheets dynamically on a Web server using System.IO.Packaging. It has been working great for some time. I have noticed that the Excel files were sometimes very large for...
View ArticleOpenXML - could not load type documentformat.openxml.spreadsheet.sheet
Hello!I have this error: could not load type documentformat.openxml.spreadsheet.sheet (i'm using nu-get packet OpenXML)On my local machine all works fine, then i posted my App to a server, and it...
View ArticleRemove Special Characters
Hi, I am having a word document and i need to search text and replace the text with some value, but the text is [Today], so how to replace special characters with empty string in open xml using...
View ArticleRemove spell check from template
Hello,I am working on code that takes .pptx template and replace text/images inside it depending on keywords.So I am using keyword like "%number%" and check it with code like:static void...
View ArticleProblem with mailmerge field in header/footer
Hi,I have code in one of my projects (C#) that do an automated mailmerge via OpenXML on word.dotx. The datasource is in the database and the C# code does the magic of changing the text value of the...
View ArticleCan i use Open XML SDK for Saving Mail Attachments from Exchange Server?
Hi, I want to save mail attachments from Exchange Server to my local drive. Can i use Open XML SDK for this?Thanks,Mohan.Mohan Raju
View ArticleHow change row number position in the sheet.
Hi all!I want change my excel file and remove from them all existing empty rows before my data.Example: I have before I want to have after: I don't know how I can fast modify my files in Open XML 2.5....
View ArticleHow to read Multilevel Numbering format in Word 2007 document?
Hi,How to read Multilevel Numbering format using OpenXML SDK and also is there any relation between the parent and child sequence like 4-->4.1-->4.1.1 and 4.1.2Selvam S
View ArticleOpen XML | How to get values from merged cells
Hi I have spread sheet as below:I need to get values from C3:D3, C3:D4...C6:D6I wrote below code using (SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(fileName, false)) {...
View ArticleOpen xml row height
how to increase the row height or cell padding of word table which has data already? I don't want to create new table, just update the row height of already existing table. help me out please.
View Article