PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
OpenXML spreadsheet to PDF http://forum.pdfsharp.com/viewtopic.php?f=2&t=4582 |
Page 1 of 1 |
Author: | fabr83 [ Wed Apr 17, 2024 10:37 pm ] |
Post subject: | OpenXML spreadsheet to PDF |
I've created an Excel file (XLSX) with OpenXML. At this stylesheet I have several settings: fonts (color, size, name), borders, fills, alignments and others. I've created an initial PDF with the data at each cell. How can I add those styles? Is this possible with SharpPDF? |
Author: | TH-Soft [ Thu Apr 18, 2024 6:50 am ] |
Post subject: | Re: OpenXML spreadsheet to PDF |
fabr83 wrote: Is this possible with SharpPDF? Feel free to try SharpPDF.This is the PDFsharp forum. |
Author: | fabr83 [ Thu Apr 18, 2024 11:43 pm ] |
Post subject: | Re: OpenXML spreadsheet to PDF |
TH-Soft wrote: fabr83 wrote: Is this possible with SharpPDF? Feel free to try SharpPDF.This is the PDFsharp forum. Sorry for the mispelling. I've made some attempts but could not see where to catch those styles. The PDF I've achieved was like a TXT from notepad being print... Then I wondered that maybe was not feasible to create from a XML reference. Can you please provide some insights on how to achieve this? |
Author: | TH-Soft [ Fri Apr 19, 2024 8:22 am ] |
Post subject: | Re: OpenXML spreadsheet to PDF |
fabr83 wrote: Can you please provide some insights on how to achieve this? With PDFsharp you can draw text in any colour you like.I cannot tell you how to get that colour information from OpenXML. Maybe a library like NPOI can be helpful. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |