./nugetz

#documentformat

5 packages tagged with “documentformat

Leadtools.Formats.Document

Supported Platforms: • NETStandard • NETFramework Load, save, export, convert, archive, and process document formats such as Microsoft Word (DOC, DOCX), PowerPoint (PPT, PPTX), Excel (XLS, XLSX), Rich Text (RTF), HTML, and XPS. Create complete end-to-end document solutions that include viewers, scanning, image processing, and more.               With LEADTOOLS, you can create applications to load, save, and convert many industry-standard and proprietary formats. LEAD Technologies is committed to maintaining and expanding the most comprehensive support of file formats on the market, and currently supports more than 165 raster, vector, and document file formats and sub-formats. In addition to the LEADTOOLS common formats, this package adds the following formats: • Microsoft Word Doc and Docx • Mobipocket e-Book MOBI • Microsoft PowerPoint Ppt and Ppx • Microsoft Outlook Pst • e-Book file format ePUB • HTML • RichText Rtf • Text Txt • Windows MetaFile Wmf • Microsoft Excel Xls and Xlsx • Windows Xps Each file format includes a variety of load, save, and display options, including compression, bit depth, color space, progressive load (multi-pass), alpha channels, multiple pages, animation, and metadata. You can trust the award-winning file format support in LEADTOOLS because of its extensive inclusion and strict adherence to today's ever-changing file format specifications. This is just a small part of a large technology offering called LEADTOOLS. To see all that LEADTOOLS has to offer, go to https://www.leadtools.com Use the following link to register for a LEADTOOLS license file that is required to use this NuGet. Additionally, the link provides access to the LEADTOOLS Installer. The Installer includes 100’s of demo applications with source code to jump start your development: https://bit.ly/LEADTOOLS_NUGET

v23.0.0.5615.9K
ImageFormatFile-FormatfileformatConvert

MPSTI.PlenoSoft.Core.Office.OpenXml.Net4

Pleno Excel é um façade para o DocumentFormat.OpenXML muito simples de utilizar. using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using MPSTI.PlenoSoft.Core.Office.OpenXml.Planilhas.Controller; using MPSTI.PlenoSoft.Core.Office.OpenXml.Planilhas.Integracao; using MPSTI.PlenoSoft.Core.Office.OpenXml.Planilhas.Util; namespace MPSTI.PlenoSoft.Core.Office.OpenXml.Testes.Unidade { [TestClass] public class TestandoGeradorDePlanilha { private static readonly String cRoot = File.Exists(@"C:\Temp\") ? @"C:\Temp" : Path.GetTempPath(); [TestMethod] public void Quando_Converte0() { var leads = new List<Lead>(); for (int i = 0; i < 10; i++) { var lead = new Lead { Properties = i }; leads.Add(lead); } var arquivo = new FileInfo(cRoot + @"\OfficeDTO.xlsx"); var plenoExcel = new PlenoExcel(arquivo, Modo.Padrao | Modo.ApagarSeExistir); plenoExcel.Exportar(leads); plenoExcel.Fechar(); } [TestMethod] public void Quando_Grava_Uma_Planilha_Excel() { var arquivoExcel = new FileInfo(cRoot + @"\PlenoExcel.xlsx"); var plenoExcel = new PlenoExcel(arquivoExcel, Modo.Seguro | Modo.SempreCriaNovo); var plan1 = plenoExcel["Plan1"]; plan1.Escrever("A", 1, "Numero 1", Style.Header); plan1.Escrever("B", 1, "Número 2", Style.Header); plan1.Escrever("C", 1, "Soma", Style.Header); plan1.Escrever("A", 2, 6, Style.Geral); plan1.Escrever("B", 2, 4, Style.Geral); plan1.Escrever("C", 2, "=SUM(A2:B2)", Style.Geral); plenoExcel.Salvar(); plenoExcel.Fechar(); } [TestMethod] public void Exemplo_De_Como_Gerar_Uma_Planilha_Excel_A_Partir_De_Uma_Lista_De_DTOs() { var arquivoExcel = new FileInfo(@"C:\Temp\PlenoExcel.xlsx"); var plenoExcel = new PlenoExcel(arquivoExcel, Modo.Padrao | Modo.ApagarSeExistir); plenoExcel.Exportar(listaDTO); plenoExcel.Fechar(); } } }

v2.0.0.11.4K
DocumentFormatOpenXmlOffice