openxml-sdk Questions

3

Solved

We have a system that stores some custom templating data in a Word document. Sometimes, updating this data causes Word to complain that the document is corrupted. When that happens, if I unzip the ...
Olag asked 15/5, 2014 at 8:27

2

Solved

I'm using OpenXML SDK 2.0 to add data to the spreadsheet template but I ran into a problem (since I've been using OpenXML for a day that's not so hard to believe). I can't figure out how to add new...
Borodin asked 12/7, 2012 at 14:6

1

I'm building a Word document in OpenXML with C#. One of the fonts I must use is a custom-made branded font. This font will not be available on customer machines. Is it possible to embed font-fil...
Skip asked 4/3, 2014 at 16:20

1

Solved

I have to create a big XLSX file. I use OpenXmlWriter to do the task as fast as possible. The file is properly create, but i can't change the data type of the field. It's always standard type, and ...
Emmerich asked 27/2, 2014 at 13:5

1

Solved

I'm trying to create an empty Word document (DOCX) using OpenXML SDK 2.5. The following code is not working for me because MainDocumentPart is null. public static void CreateEmptyDocxFile(string ...
Floozy asked 19/2, 2014 at 21:58

1

Solved

My asp.net c# web-application is creating word documents by filling an existing template word document with data. Now I need to add a further existing documents to that document as next page. For ...
Sealskin asked 9/1, 2014 at 10:16

2

Solved

I started experimenting with Open XML SDK 2.0 for Microsoft Office. I'm currently able to do certain things such as retrieve all texts in each slide, and get the size of the presentation. For exam...
Darryl asked 15/8, 2011 at 20:0

2

Solved

Has anyone ever had any luck figuring out how to add a comment to Excel using the Open XML SDK 2.0? I couldn't find any documentation on where to get started on this issue.
Exserviceman asked 16/8, 2010 at 15:50

1

Using Open XML SDK, the following gives "Memory stream is not expandable" when I reach the line FeedData(msData): // Bytes in, bytes out internal static byte[] UpdateDataStoreInMemoryStream(byte[]...
Cauline asked 14/12, 2013 at 22:33

1

Is there a tool that can identify the exact location of errors in an Excel document created using the OpenXML SDK? I've created an Excel file using the Microsoft OpenXML SDK 2.5 (also tried v 2.0 ...
Choe asked 29/8, 2013 at 16:28

2

Solved

In our old MSWord-97 based system we use COM to interact with a .doc file, and embed an OLE object, so the embedded document is visible in the parent (not as an icon). We're replacing this with a ...
Clitoris asked 28/7, 2010 at 15:12

2

i want to generate a word document as an input i have this string "open packaging conventions" and each word will have a different style the result should be open packaging conventions Wordproces...
Depreciation asked 11/2, 2012 at 16:18

0

I want to create a PowerPoint presentation based on a template in C#. I am using the OpenXML 2.0 SDK. My first step. I took my .pptx template, changed it in C# code and copied it in my project. ...
Record asked 28/10, 2013 at 9:23

1

Solved

This question could seem rather basic, but how do I insert a shape (i. e. a rectangle) in a slide using OpenXML in c#? I've searched around and all I see is "create a slide with the shape and use ...
Grew asked 15/9, 2013 at 7:31

1

Solved

I am trying to insert an image into a document from C# using the Open XML SDK 2.5. The document is subsequently going to be uploaded to Google Drive and converted to a Google Document. I am curren...
Trakas asked 2/9, 2013 at 8:52

3

I'm using Visual Studio 2010 (VB.Net) and Open XML SDK 2.0. How do you insert a formula into an Excel 2010 worksheet? When I do this I also wish to set the CellValue property of the cell to a DBNul...
Holster asked 10/6, 2011 at 16:9

1

Solved

Open a Word (2007/2010) document that has a table in it, select the table and right click, select AutoFit-->AutoFit to Window How can I implement this action in C# using the OpenXML SDK 2.5?
Sophomore asked 2/8, 2013 at 20:13

1

Solved

Can someone help me in understanding the Shared Strings in MS Excel? I tried to understand using some blogs but could not get complete idea. Everyone is explaining how to access Shared String using...
Motorboating asked 27/6, 2013 at 7:24

1

Solved

I want to read only the xml used for generating equation, which i obtained by using Paragraph.Range.WordOpenXML. But the section used for the equation is not as per MathML which as i found that the...
Flatways asked 26/5, 2013 at 12:11

1

Solved

The following creates an XLSX, adds two worksheets with some data. I then want to be able to get the spreadsheet later based on name (or preferably the id) so I can add/modify the sheets at a later...
Luciolucita asked 23/5, 2013 at 21:51

1

I am using OPENXML SDK 2.0 to stream the spread sheet file. The source data is come from data table and writing this to Spreadsheet using openxml. If there is a one of the column data of a data tab...
Oldfangled asked 16/5, 2013 at 14:13

1

Solved

I am trying wo write Numbers from a DataTable to an Datasheet - unfortunately, this does not work as expected, e. g. the DataSheet is corrupted. I am using the following code: private void AddDataT...
Debrief asked 17/5, 2013 at 10:42

1

The Title states the error I am getting. I'm trying to hide all the text in a word doc using OpenXml. Currently when I try and append the Paragraph properties I receive the above error. I can't fin...
Christiansand asked 1/5, 2013 at 14:56

1

The idea is simple, but the answer may get complicated: In fact, I can check the run properties for the font size. If absent I need to check the style applied to the paragraph in order to find th...
Castile asked 3/1, 2013 at 19:26

2

Solved

I have the following code that adds a cell with values and data-type for that cell in OpenXML SDK: Cell cell = InsertCellInWorksheet(column, row, worksheetPart); cell.CellValue = new CellValue(i...
Buoy asked 3/4, 2013 at 15:34

© 2022 - 2024 — McMap. All rights reserved.