openxml Questions
9
Solved
Following on from my last question here
OpenXML looks like it probably does exactly what I want, but the documentation is terrible. An hour of googling hasn't got me any closer to figuring out wha...
3
Solved
I can't determine when a Cell is a date.
I noticed the DataType is null so I can't distinguish if it's a Number of a Date.
I am using the next code to extract the cells:
WorksheetPart workshee...
2
Solved
The following takes the format of existing sheet sSheet and creates a red font (along with some timestamp content) at A19:
using (SpreadsheetDocument document = SpreadsheetDocument.Open(sPath, tru...
Citation asked 31/7, 2018 at 20:2
7
Solved
I am unable to stream a word document that I create on the fly down to the browser. I am constantly getting a message from Microsoft Word that the document is corrupt.
When I run the code via a C...
1
Solved
I'm generating docx files using the Open XML SDK for .NET
The bullets in my lists are super tiny but I can't figure out why. So here's what I've done:
Generating a doc with a single bulleted ite...
Clapp asked 9/1, 2020 at 16:46
5
Solved
I spent a lot of time trying to figure out a good way to embed any file into Microsoft Word using OpenXml 2.0; Office documents are fairly easy but what about other file types such as PDF, TXT, GIF...
Concave asked 23/7, 2010 at 20:50
1
I know there are many posts on SO about this topic, but none seems to treat this particular issue.
I'm trying to make a small generic document generator POC.
I'm using Open XML.
The code goe...
Mourning asked 12/12, 2019 at 11:32
1
Solved
I've spent countless hours trying to understand ordered lists in Open XML. Here's one of many references.
I found this incredibly helpful example of a simple document creator here.
Also if I may ...
Berglund asked 28/11, 2019 at 17:25
1
We are trying to manipulate a word document to remove a paragraph based on certain conditions. But the word file produced always ends up being corrupted when we try to open it with the error:
Wo...
Westward asked 18/6, 2019 at 12:51
1
Solved
When working with Office Open XML documents, e.g., as created by Word, Excel, or PowerPoint since Office 2007 was released, you will often want to clone, or copy, an existing document and then make...
Mcgraw asked 28/11, 2019 at 13:43
1
Below code works fine using OPENXML (asp.net) and print us elements in word document with HEADING2... how can we apply bookmark to specific paragraph..
What we r trying is extract sections between...
Cingulum asked 6/9, 2018 at 10:48
4
Solved
Using the SDK I'm building Word documents that contain reports. These documents need to have TOC.
Does anybody have a complete solution that I can follow in order to understand how to do this?
(I'...
Baroja asked 18/3, 2012 at 21:57
4
I'm implementing ms word document generation using content controls and OpenXML SDK. I'd like to have some automated testing for that code (unit tests or some easy UI automation tests).
Does anyo...
Ribal asked 28/7, 2010 at 19:11
6
I am using Word and OpenXml to provide mail merge functionality in a C# ASP.NET web application:
1) A document is uploaded with a number of pre-defined strings for substitution.
2) Using the Open...
6
Solved
I have an .xlsx spreadsheet with a single number in the top-left cell of sheet 1.
The Excel UI displays:
-130.98999999999
This is visible in the formula bar, i.e. not affected by the number of ...
Hawthorne asked 16/2, 2015 at 8:52
1
Solved
1)
I was thinking purpose of he AbstractNum is to reuse the numbering format and NumberingInstance is to create new list (restart at 1). But what I've noticed is if restart the second instance of ...
Ragwort asked 30/10, 2019 at 9:40
4
Solved
5
Solved
Good morning,
I would like to edit some cells from already existing excell file. I tried use EPPlus and normal OpenXml classes. However I failed. In both situation program won't crash but always re...
Girder asked 19/4, 2014 at 10:7
2
Solved
Word seems to use a different apostrophe character than Visual Studio and it is causing problems with using Regex.
I am trying to edit some Word documents in C# using OpenXML. I am basically repl...
5
Solved
I am attempting to write out an Excel file from an ASP.NET web server using OpenXML. I have about 2100 records and its taking around 20-30 seconds to do this. Any way I can make it faster? Retrievi...
Anastase asked 10/5, 2012 at 21:55
7
While I'm trying to open excel file a message box is prompting like "We found a problem with some content in file name. Do you want us to try to recover as much as we can? If you trust the source o...
3
Solved
i would like to access some built in properties(like author,last modified date,etc.) of an open xml word doc file. i would like to use open xml sdk2.0 for this purpose. so i wonder if there is any ...
Afroasian asked 13/12, 2010 at 21:48
2
I have generated a spreadsheet with data and a chart based on the data using C# OpenXML.
I am now wanting to now embed this chart into a word document, so that when these reports are sent out, t...
3
I am looking for a way to indentify DOCX files if they are moved or renamed. Reason is obvious, I am playing with the Open XML SDK, building a hyperlink checker.
Works perfect, at least it can add...
5
Solved
I am using OpenXML to insert an image into my document. The code provided by Microsoft works, but makes the image much smaller:
public static void InsertAPicture(string document, string fileName)
...
© 2022 - 2024 — McMap. All rights reserved.