openxml Questions
1
Solved
I am new at OpenXML c# and I want to read rows from excel file. But I need to read excel sheet by name. this is my sample code that reads first sheet:
using (var spreadSheet = SpreadsheetDocument...
Toothpick asked 22/4, 2018 at 12:25
3
I am trying to create an AddAlternativeFormatImportPart in a .docx file in order to reference it in the document via an AltChunk. the problem is that the code below causes the docx file to read as ...
Mandymandych asked 23/12, 2011 at 14:30
2
Solved
This is my code that modifies a PowerPoint presentation, saves it as a new file, closes it, then tries to open that file.
var doc = PresentationDocument.Open(@"d:\temp.pptx", true);
//... procces...
Ralf asked 10/4, 2018 at 8:33
4
I was developing an application which read data from an excel file, but when I try to open it, an exception was thrown if the source file is saved with the xls format (File contains corrupted data...
1
Solved
I have a table in Microsoft Word.
I need to merge two cells in a row of a table.
I get the cells I need:
Wordprocessing.TableRow row = table.Elements<Wordprocessing.TableRow>().ElementAt(i);...
2
Solved
Sorry my English :)
There is a code
using (var sourceDoc = PresentationDocument.Open(@"d:\source.pptx", false))
{
using (var destDoc = PresentationDocument.Open(@"d:\dest.pptx", true))
{
}
}
...
Boxthorn asked 23/3, 2018 at 15:44
3
Solved
I am using a modified version of this code to create an excel document, add cells, and style cells. I am trying to modify this code to also be able to add images to a sheet. I am getting nowhere an...
5
Solved
I am using the Open XML SDK to open an Excel xlsx file and I try to read the cellvalue on position A1 in each sheet.
I use the following code:
using (SpreadsheetDocument spreadsheetDocument = Spre...
Fanjet asked 25/2, 2011 at 8:49
1
I am using pandoc (via pypandoc) to convert docx files into markdown, on a non-Windows machine. Those files can contain images, but also other embedded objects.
pandoc is actually able to translat...
Ddene asked 15/12, 2017 at 9:52
1
Solved
I would normally use ClosedXML to generate Excel files. A Core project is forcing me to use only OpenXML.
The resulting Excel file will be downloaded.
I am having an issue where the memory stre...
Shill asked 15/1, 2018 at 16:36
2
Solved
How do you set the format of a text cell to wrap when generating .xlsx files with OpenXml? Here is the code I have currently:
public void Excel()
{
var viewModel = new RequirementIndexData();
v...
1
I developed an app that is supposed to add an image to a word document. It takes a copy from the word document and adds the picture to the copy. I tried to add text and it worked just fine but by a...
3
Solved
I use EPPlus for Excel file generation.
I mean I need to convert HTML text (bold, italic, font color, name, size parameters) to Excel Cell. I suppose it needs to create the multi-styled cell, like...
3
Solved
I need to open an existing Word document (.docx) with an existing table (with, for example, 3 columns) and add a new row to that table. Is there any way of doing this? I am using Open XML
I am cre...
4
Solved
I'm trying to read data from the .xlsx files using SharpZipLib to unpack it (in memory) and reading the inner xml files. Everything is fine but recognizing the dates - they're stored in julean form...
0
I am working on a code to export CV profile data to a Word document, following a template.
I am using C# and OpenXML.
I load the template-file to a MemoryStream, then make a new WordprocessingDocu...
1
Solved
I generated an excel file with OpenXml 2.7.2 in .NETCoreApp 1.1 and saved it into a project folder. Then in my function I read the bytes and try to return it as a File. I don't get an error, but in...
Swallowtailed asked 15/8, 2017 at 21:40
3
Solved
How can I save a org.docx4j.openpackaging.packages.WordprocessingMLPackage instance into ByteArrayInputStream, then It can be downloaded from server.
Thanks.
1
Solved
I have an Excel Sheet which I am using as a template file for exporting data.
The Excel Sheet is XLSM file and has few codes written in it in VBA.
Each time the file is copied and renamed with ...
4
Solved
I have a program that spits out an Excel workbook in Excel 2003 XML format. It works fine with one problem, I cannot get the column widths to set automatically.
A snippet of what I produce:
<...
1
Solved
I am trying to use Open XML to create a file but when trying to add just the first row of headers the file is being corrupted and I am unable to open, can anyone tell me what I am doing wrong here?...
Psephology asked 15/6, 2017 at 15:57
3
Solved
I downloaded the OpenXML SDK Productivity Tool 2.5 from Microsoft's Website
However when I want to install it, I get told I need to install .NET Framework 4 first and the install won't continue wit...
Calculate asked 11/12, 2015 at 7:33
2
Solved
I'm trying to maintain a row (header fields) on every Excel page.
I'm using OpenXML contained in the EPPlus libraries.
I've tried following line of code:
myWorkSheet.PrinterSettings.RepeatRows = ...
2
Solved
I've got lots of XLSX files and I need to append a new row after the last one in the file. I'm using OpenXML and so far I know how to open/create spreadsheet, but my search for adding new row...
Tonisha asked 12/7, 2011 at 13:54
3
Solved
I have a function that reads from an excel file and stores the results in a DataSet. I have another function that writes to an excel file. When I try to read from a regular human-generated excel fi...
Trichloride asked 6/8, 2014 at 16:38
© 2022 - 2024 — McMap. All rights reserved.