sgcUI sgcDocs is included in sgcUI Enterprise

sgcDocs. Office files. No Office needed.

sgcDocs is a headless Office file API for Delphi, C++Builder and .NET: create, read and convert Word documents and spreadsheets, run mail merges, process PDF files, render barcodes and build ZIP64 archives, with no Office installation and no UI framework, on Windows and Linux.

  • Delphi 7 to 13
  • C++ Builder 2007 to 13
  • .NET
  • Windows
  • Linux 64 bit
sgcDocs creating and converting DOCX, XLSX and PDF files
  • 7components: Word, mail merge, spreadsheet, PDF, barcode, ZIP and converter
  • 63conversion pairs between 14 formats, taken from the file extensions
  • 320spreadsheet functions, LET, LAMBDA and named LAMBDA included
  • 0Office installations needed, on Windows and on Linux 64 bit

Seven components, no window.

The components need no form and no parent. Create them in a console program, a Windows service or a web server, call their methods and free them.

  • Word documents

    TsgcDocsWordProcessor reads DOCX and saves DOCX, RTF, HTML, Markdown, text, PDF, PDF/A and PDF/UA.

  • Mail merge

    TsgcDocsMailMerge fills MERGEFIELD, IF and nested fields and table regions from data sets, JSON or CSV.

  • Spreadsheets

    TsgcDocsSpreadsheet reads and writes XLSX and ODS, keeps the charts and prints sheets to PDF.

  • PDF tools

    TsgcDocsPDFProcessor merges, splits, rotates, fills forms, encrypts, signs and converts to PDF/A.

  • Conversion

    TsgcDocsConverter converts 63 format pairs and writes pages as PNG images.

  • Barcodes

    TsgcDocsBarcode draws 1D and 2D barcodes to PNG or SVG and validates their data.

  • ZIP64 archives

    TsgcDocsZipArchive builds archives larger than 4 GB and lists every entry with its metadata.

  • Headless

    No Office, no VCL, FireMonkey, WinForms or WPF. The same code runs on Windows and Linux 64 bit.

A DOCX, a PDF and an HTML file in a few lines.

TsgcDocsWordProcessor builds the document, saves it as DOCX and exports it to PDF. TsgcDocsConverter then takes both formats from the file extensions.

No form, no parent, no Office. More sgcDocs examples

uses
  SysUtils, Classes,
  // sgc
  sgcDocs_Types, sgcDocs_Word, sgcDocs_Converter;

procedure CreateReport;
var
  oWord: TsgcDocsWordProcessor;
  oConverter: TsgcDocsConverter;
begin
  oWord := TsgcDocsWordProcessor.Create(nil);
  try
    oWord.New;
    oWord.AppendParagraph('Quarterly report', 'Heading 1');
    oWord.AppendParagraph('Sales grew 12% in the third quarter.');
    oWord.SaveToFile('report.docx');
    oWord.ExportToPDFFile('report.pdf');
  finally
    oWord.Free;
  end;

  oConverter := TsgcDocsConverter.Create(nil);
  try
    // the formats come from the file extensions
    oConverter.Convert('report.docx', 'report.html');
    oConverter.Convert('report.docx', 'report.md');
  finally
    oConverter.Free;
  end;
end;

Part of sgcUI.

sgcDocs is included in sgcUI Enterprise and All-Access. It is not sold on its own. Each comes with source code.

Standard

sgcGrid, sgcNavigation, sgcToolbar, sgcEditors and sgcLocalization.

€380 / developer
See Standard

Professional

Standard plus sgcCharts, sgcDashboard and sgcGauges.

€529 / developer
See Professional
Includes sgcDocs

Enterprise

All 19 sgcUI products.

€699 / developer
See Enterprise
Adds every product

All-Access

Every eSeGeCe product, sgcUI Enterprise and sgcWebSockets included.

€1,059 / developer
See All-Access

sgcDocs requires sgcUICore, sgcPDF, sgcUIPDF, sgcGrid, sgcCharts, sgcSpreadsheet and sgcRichEdit, which are all in sgcUI Enterprise, and the installer adds them. The .NET package esegece.sgcDocs ships with the Registered .NET download. There is no free Community edition.

Explore sgcUI

Put sgcDocs to work in your own application today.

The sgcUI trial includes sgcDocs and every other sgcUI product. Run the WordCreate, MailMerge, SpreadsheetCreate and PDFTools demos, or browse every feature first.

Latest from the blog

View all posts →

You are seeing the sgcDocs view of eSeGeCe.

Show me another angle →
30-Day Money-Back GuaranteeNot satisfied? Request a full refund within 30 days of purchase. See refund policy