Faster Find By Underline
Hello all,I have a working piece of code that returns all Ranges that are underlined. The problem is that it takes quite some time (30+ seconds) on 300+ page documents. I'm hopeful there is a faster...
View ArticleLatest Version of DocumentFormat.OpenXml.dll that could support content apps...
Hi,I am looking for a latest version of Open XML SDK (above 2.5) which could support PowerPoint documents generation with content web apps contained within. I tried to use Open XML SDK ver-2.5, but it...
View ArticleProgram creates the document but generates an error. Is there a way to...
Hi All,I had been trying to find a way to add a header to my document that worked and seemed simple enough for me. I found a solution and tried to modifiy it to work with my program. I created a...
View ArticleCreating documents using the Open XML SDK 2.5 - Problem with many...
I am programmatically creating a Word 2013(and 2010,2007) document. This contains many WordprocessingShape groups, each group containing a text box and up to 4 lines. I can always open the documents I...
View ArticleEmbedding Documents/Object in Word by Using the Open XML SDK
Hi,With the help of following link "http://msdn.microsoft.com/en-ca/library/ee355229.aspx" i am able to embed documents in word successfully. After inserting the document as object i have to mention...
View ArticleNew vs Existing worksheets
I wanted to use the code at this link to add strings to multiple "existing cells" on an "existing sheet". I want to get away from creating new sheets every time I use this code to export a table of...
View ArticleCan't add sheet to existing Excel spread sheet
I am using the following code to try add another sheet to an existing excel file... Dim workBookPart As WorkbookPart = spreadsheetdoc.AddWorkbookPart()This code works fine for inserting the first...
View ArticleCan you show a way to for a Word document to begin with the page orientation...
I am trying to create a word document to that changes to landscape after reaching a certain point. I have added a page break and changed the page orientation to landscape, however the entire document...
View ArticleHow to generate Word document programmatically from template and data?
I’m tasked with the server side Word Document generation and need advice what approach to take. Users should be able to create template documents (using Word, not using Visual Studio) and then my C#...
View ArticleAddAltChunkHTML to DOCX Inserts BOM
I am inserting html text into a docx word document. All works okay except the end result docx file has a BOM at the beginning of the document.xml. I do not understand this although I suspect an...
View ArticleOpenXML Excel file, works in Excel 2007, OpenOffice, etc but not in Excel 2010
Hi everyone,I have a problem. I host a free website, sharing source code and ideas with other developers. One of my projects is a very simple C# class, which generates an Excel 2007 .xlsx file. All...
View ArticleFormulas and equations not getting converted while html conversion
Hi,Am converting SomeFile.docx to SomeFile.html from Docx to Html using the below code, in this code, am able to get images but formulas and equations are not getting as images while conversion to...
View ArticleInserting an image into an Excel Spreadsheet: Part Deux
I was having a terrible time figuring out how to place an image on an Excel spreadsheet using the OpenXML SDK. Finally, I found this terribly complicated code sample on the internet somewhere that...
View ArticleHow to save Word as PDF using Open XML SDK 2.0
How do we use Open XML SDK 2.0 to save word files as a PDF? Thomas Abruzzo thomas@tampsystems.com
View ArticleBar3DChart Scaling
I am creating some embedded Bar3DChart elements using OpenXML and PowerPoint. The scale of the chart on the left wall is as expected auto changing based on the embedded data of the chart. I have...
View ArticleModify font style, merge cells and coloring cells using Open XML sdk
Hi, I am using OpenXML SDK for read excel file, modify the contents and save it in to a folder in C# Requirement 1: First column to be in bold Requirement 2: Make different colors for cell1, cell2...
View ArticleError while opening OpenXML docx file - The specified package is invalid. The...
Hello,I have a problem with opening some docx files using the following code. I get the error that " The specified package is invalid. The main part is missing."using (WordprocessingDocument wdDoc =...
View ArticleOpenXMLWriter Performance Issue while writing large excel file. (35000 rows...
Hi,Writing an large excel file using SpreadsheetDocument takes around 2 mins.surprisingly when i comment the cell.Datatype line the excel file generates in 10 secs. But in this case opening in excel it...
View ArticleIDENTIFY CHARTSHEETS OPEN XML SDK
I am looking for a way to identify if an Excel sheet is a WorkSheet or a ChartSheet, in the below when it executes the last line, it will throw an exception if the sheet is a ChartSheet. Is there a way...
View ArticleHow to identify if an Excel sheet is a WorkSheet or a ChartSheet
I am looking for a way to identify if an Excel sheet is a WorkSheet or a ChartSheet, in the below when it executes the last line, it will throw an exception if the sheet is a ChartSheet. Is there a...
View Article