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

How to format Excel cells programmatically using C#?

1. How to format the font to BOLD.  In the cold below, I used f.FontId = 1, but it didn't work.2. How to add color to the font?3. How to set the column width with auto max?4. With f.NumberFormatId = 4,...

View Article


DOCX Parser

Do we have a Microsoft  Office 2013 Visualization tool to see word parser how DOCX being parsed and how its structured.  I am looking something similar to...

View Article


onenxml removing numbering and listbox from word document

HelloI'm i'm replacing some bookmarks in a word 2010 document with openxml 2.0.The problem is that it automatically removes all listbox numbering etc. leaving only the text during the elaboration.This...

View Article

What is the proper way to add strings into a spreadsheet?

Is there a high level call that inserts strings, taking care of all details? It should deal withboth data structures:(1) GenerateWorksheetPart1Content();(2)...

View Article

open xml for javascript excel sample code

hi,I am trying to edit a  excel sheet in nodejs using open xml sdk for javascript. I found sample code very useful at http://openxmlsdkjs.codeplex.com/ but most of the code is related to Word file...

View Article


Image may be NSFW.
Clik here to view.

Reflect Code Not Working

"Open XML SDK 2.0 Productivity Tool for Microsoft Office" should be able to generate code for generating documents. The Root Node however for the specific Excel file I want to generate does not give me...

View Article

Can PowerTools for Open XML be used directly, without PowerShell in the middle?

Before I embark in a wild goose chase, perhaps some experienced fellow can provide guidance (and details!)I have been looking for ways to access the Open SDK reflected code in higher level ways...

View Article

What to do with a Help file in XML format?

I recently discovered something that seems to be the answer to my prayers (danke, Cindy for pointing me to OpenXMLDeveloper.org), a higher level access to Open XML:PowerTools for Open XML.PowerTools...

View Article


Given a set of coordinates, how do I retrieve the corresponding Cell?

My application needs to change the style of cell "M:15". How do I retrieve that Cell?TIA

View Article


Problem in calculating formulas in word using open xml

Hi Team,I am generating a word document using open XML. In my word doc i have formulas like{=IF(<<MERGEFIELD>> > 100,10,0)} am able to replace the MERGEFIELD with a value lets suppose 50...

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

Does the Reflected Code fully close the spreadsheet file?

The Open XML SDK-generated source code looks as follows:// Creates a SpreadsheetDocument. public void CreatePackage(string filePath) { using(SpreadsheetDocument package =...

View Article

Inserting Table at Bookmark from passed Array

Attempting to pickup c# enough to automate a few tasks. I have a goal of reading data from a CSV, filtering and manipulating that dataset and then passing the dataset to a Word Table, inserting based...

View Article


Insert merge field in word using open xml

Hi team,I want to insert a merge field to an existing word doc. Am able to create a xml element of merge field but am not sure on how to append that to the document. Below is my code...

View Article

How to implement the feature that adjusts an Excel column to the precise...

My Open XML-based application creates a spreadsheet that contains a column with filenames. They vary in length and I would like to set the width of that particular column to precisely fit the longest...

View Article


Open XML avd Word 2007

Hi all! I programmatically insert the first document (temlate.xml) into  the second document (dummy.docx) and use the following code taken from official Microsoft site...

View Article

Is Open XML SDK safe in a windows service?

Is the Open XML SDK safe for use in Windows services (i.e. applications with no user interface). VSTO was known to have code that popped up dialog boxes or do some other UI operations in the case where...

View Article


Open XML SDK, how to delete the pages when I find a certain line in the doc file

Hi,I am using  Open XML SDK in my C#.NET project and here is what I want to do. First, I need to find a line where is for example written this: "REMOVE THE PAGES BEHIND". When I find that page I need...

View Article

Programmatic Merge of SQL Data to a Word Template

I have a client that wants to be able to produce a Customer Profile report based on data that resides in a SQL 2008 R2 db.  They want to choose a customer from a drop-down list in a web page and have...

View Article

What formula(e) does Office use to apply brightness/contrast adjustments to...

Microsoft:I have been trying to figure out how Office 2007 applies brightness/contrast adjustments to images, but I haven't had any luck matching what Office does. I have not found it detailed in any...

View Article
Browsing all 1288 articles
Browse latest View live


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