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

Append WordMl into OpenXmlBody

i have a wordMl of range which i got from interop document using statement below:string myWordMl = myRange.WordOpenXMLnow i have created an openxml document and i want to append myWordMl  into the body...

View Article


How to lock specific cells programmatically while Excel export?

                                       foreach (WeekSummary summary in report.Summary)                {                    DocumentFormat.OpenXml.Spreadsheet.Row row = new...

View Article


read excel file using open xml api and import it to SharePoint list / doc.lib

hi,i would like to read an excel file and read the headers in the excel file and  insert the records into  sp 2010 splist/doc lib. is it possible, any sample code is appeciatedthnx

View Article

Excel Cell Format Wrap Text

Hello Team,I have used OpenXml to update a sheet in excel file. I have achieved this by referring the MSDNhttp://msdn.microsoft.com/en-us/library/hh180830(v=office.14).aspxNow i am updating an excel...

View Article

Insert wordMl at current selection

i am inserting a wordMl on my current selection rangehere is the wordMl i want to insert <?mso-application progid="Word.Document"?><pkg:package...

View Article


Embedding Object in Excel

I am trying to embed an object into an excel programmatically and encountering an issue. I am using the below code to embed an file into Excel.        EmbeddedObjectPart embeddedObjectPart1 =...

View Article

Inserting plain text into Content Controls in Word using AltChunk - format...

Hi,I have an application that is using OpenXML and AltChunk to insert plain text (from a XML-file) into various Content Controls (I've tried Rich Text and Plain Text controls). Now, this works, kind...

View Article

What is the best software for viewing and editing .xml Files

Would prefer a freebie but any reply is appreciated...

View Article


Image may be NSFW.
Clik here to view.

Image Insert Corrupting the Document

Hi, I need to insert images in different pages. All the images will be different and it will be inserted in to different location like table cells.I have tried the example in the MSDN  link...

View Article


Creating WordProcessingDocument from wordMl string

i have a wordMl of an interop.Rangewhich gives the whole package xml, i want to load it to a new WordProcessingDocument using either of the methodWordProcessingDocument.Open() or...

View Article

Open XML Append Column C#

I am Trying to append a column in excel sheet using C#. Help me in doing so.

View Article

How to preserve tablestyle when StylesDefinition from a template is applied

HiIn our project we are creating documents from a predefined text-document on which we apply headers, footers, margins, themes and styles from a Word template (dotx).The solution has worked fine as a...

View Article

Locating a Content Control inside a table (or other element)

Hi Folks,I have a simple word document that contains content controls (just plain text ones).  The issue that I am having is that some of the content controls are embedded in other elements (such as...

View Article


Access VBA source code using Open XML SDK

Hi,I am using Open XML SDK 2.5 and C# 4.0. I need to extract the VBA code from a macro enabled Excel file.I could not find any classes in their documentation. I tried the Productivity Tool to view the...

View Article

Formula fields are not working in mailmerge using open xml

I have created a template(.dotx) with mailmerge fields having formula fileds.By using open xml i have extracts the merge field using pacakage and replace the value form diferent xml file.the value has...

View Article


How to convert Powerpoint .pptx to PDF document?

Hi,I am using Office Interop to convert powerpoint to pdf using save as functionality with below code. I have some issues with InterOp on some pcs where I get application is busy error.Is it possible...

View Article

Create a document with an image in the header

Hi,I have been trying to achieve a seemingly simple task of adding a header and an image inside it but i can't seem to do it. I have tried several examples but none seem to work (even the ones on...

View Article


Extract first page from .DOCX document

Is it possible to extract the first page from a Word document using open XML format SDK?

View Article

Read Excel 2007 file with Open XML - Identify blank cell

Hi I am working on a .NET 4.0 console application. I am trying to read the data from MS excel 2007 document. (file format in Xlsx)I use the below code to load the data into datatable. It works fine if...

View Article

Tables in Spreadsheet

HiI am generating a spreadsheet from Open Xml from rows in a Sql Table. I am able to make the spreadsheet file but all the cells are like Text cells (including the column names). But what I wish to do...

View Article
Browsing all 1288 articles
Browse latest View live


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