E-iceblue Releases Spire.Office.EdgeAI for Local AI Document Processing

2026-11-25 07:55:10

E-iceblue has released Spire.Office.EdgeAI, a local AI extension for .NET developers. It brings AI-powered document translation and sensitive data redaction to Word, PDF, Excel, and PowerPoint files.

In addition to these core features, Spire.Office.EdgeAI provides document summarization, data cleaning, field extraction, compliance review, OCR-based data entry, and other AI-assisted document processing capabilities.

Run AI Models Locally Without Cloud AI APIs

Spire.Office.EdgeAI runs AI models locally in your application environment. Documents do not need to be uploaded to third-party AI services, and the extension does not rely on cloud AI APIs.

It runs on standard CPU environments and does not require a dedicated GPU. On the first run, the required model files are downloaded automatically. For offline environments, the model files can be deployed in advance.

This approach is particularly useful when working with documents containing contracts, financial information, customer records, or other sensitive business data.


Translate Documents into 20 Languages

Spire.Office.EdgeAI supports translation into 20 languages, including English, Simplified Chinese, Traditional Chinese, Japanese, Korean, French, German, Spanish, and Portuguese.
Translation is available across all four document formats:

  • Word: Translate an entire document while retaining its structure, including headings, paragraphs, tables, text boxes, headers, footers, and footnotes.
  • PDF: Translate the full document by replacing text on the original pages. The page count and orientation remain unchanged.
  • Excel: Translate an entire workbook or a selected cell range. Worksheet names can also be translated.
  • PowerPoint: Translate slide content and speaker notes throughout a presentation. The AutoFitText option helps fit translated text into text boxes.

Redact Sensitive Information in Four Document Formats

The extension also provides AI-assisted redaction for Word, PDF, Excel, and PowerPoint files.

  • Word: Redact sensitive information directly in the document. The operation is irreversible.
  • PDF: Apply irreversible redaction to the original document. In-place processing must be explicitly selected.
  • Excel: Combine predefined rules with AI-based detection to identify and redact sensitive data. Three processing modes are available: Copy, InPlace, and CopyDropSource.
  • PowerPoint: Redact sensitive information across the presentation, including speaker notes, while preserving the slide structure. A redaction report is also supported.

These capabilities help developers incorporate document redaction into local processing workflows.


More AI-Powered Document Processing Features

Beyond translation and redaction, Spire.Office.EdgeAI offers additional capabilities tailored to different document formats:

  • Word: Extract fields and perform compliance reviews.
  • PDF: Generate document summaries, extract fields, and perform compliance reviews.
  • Excel: Clean inconsistent data, extract fields, and use OCR to recognize information from worksheet images or standalone images and fill empty worksheets.
  • PowerPoint: Generate speaker notes for slides that do not already have them, expand or shorten selected text, and extract fields.

Integrate with .NET Applications

Spire.Office.EdgeAI is designed to work alongside Spire.Doc, Spire.PDF, Spire.XLS, and Spire.Presentation. Its extension-method API allows developers to add AI-powered processing to existing document workflows.

The library also provides asynchronous APIs, progress callbacks, logging, cancellation, and controls for concurrent processing.


Spire.Office.EdgeAI supports .NET 6.0 and later. It is free to use with both the free and commercial editions of Spire.Office for .NET.


Code Examples for Different Document Formats

The following examples demonstrate how to use Spire.Office.EdgeAI APIs to process different document formats, including translation, sensitive data redaction, field extraction, and other AI-powered operations.

Excel Examples

using Spire.Xls;
using Spire.Office.EdgeAI;
using Spire.Office.EdgeAI.Xls;

using var workbook = new Workbook();
workbook.LoadFromFile(input);
//Translate
AiResult result = await workbook.TranslateAsync(TranslateLanguage.SimplifiedChinese);

//Redact
AiResult result = await workbook.DesensitizeAsync(new DesensitizeOptions
{
    Target = DesensitizeTarget.InPlace,
    RulesOnly = true
});

//Clean
var result = await workbook.CleanAsync(new AiCleanOptions
{
    Mode = AiCleanMode.Deep,
    OutputPath = "sample_cleaned.xlsx"
});

//Extract
var spec = InspectionSpec.From(new[]
{
    { "key": "customer", "text": "Which customer companies are listed?", "multi": true },
    { "key": "contact",  "text": "Who are the contacts?", "multi": true },
    { "key": "phone",    "text": "What are the phone numbers?", "multi": true }
});

var result = await workbook.ExtractFieldsAsync(spec);

//OCR fill
var targets = new[]
{
    new XlsOcrTarget(new PageImage(@"sample.png", 0), block)
};
await target.OcrFillAsync(targets, new OcrFillOptions
{
    OverwriteExistingCells = false
});

workbook.SaveToFile(output, ExcelVersion.Version2016);

PDF Examples

using Spire.Pdf;
using Spire.Office.EdgeAI;
using Spire.Office.EdgeAI.Pdf;

using var pdf = new PdfDocument();
pdf.LoadFromFile(input);

//Translate
var result = await pdf.TranslateAsync(TranslateLanguage.SimplifiedChinese);

//Redact
var result = await pdf.DesensitizeAsync(new DesensitizeOptions
{
    Target = DesensitizeTarget.InPlace,
    RulesOnly = true
});
//Extract
var spec = InspectionSpec.From(new[]
{
    { "key": "party",  "text": "Who are the two parties of the contract?", "multi": true },
    { "key": "amount", "text": "What is the total contract amount?", "multi": false }
});

var result = await pdf.ExtractFieldsAsync(spec);
//Compliance review
var result = await pdf.ReviewComplianceAsync(new ComplianceOptions
{
    RulesPath = "compliance.rules.json",
    IncludeConforming = true
});
//Summary
var result = await pdf.SummarizeAsync();

pdf.SaveToFile(output, FileFormat.PDF);

Word Examples

using Spire.Doc;
using Spire.Office.EdgeAI;
using Spire.Office.EdgeAI.Doc;

using var document = new Document();
document.LoadFromFile(input);

//Translate
var result = await document.TranslateAsync(TranslateLanguage.SimplifiedChinese);
//Redact
var result = await document.DesensitizeAsync(new DesensitizeOptions
{
    Target = DesensitizeTarget.InPlace,
    RulesOnly = true
});
//Extract
var spec = InspectionSpec.From(new[]
{
    { "key": "party",  "text": "Who are the two parties of the contract?", "multi": true },
    { "key": "amount", "text": "What is the total contract amount?", "multi": false }
});

var result = await document.ExtractFieldsAsync(spec);
//Compliance review
var result = await document.ReviewComplianceAsync(new ComplianceOptions
{
    RulesPath = "compliance.rules.json",
    Annotate = new ComplianceAnnotationOptions
    {
        Author = "user01",
        Initials = "AI",
        IncludeUnevaluated = false,
        CommentUnlocated = true
    }
});

document.SaveToFile(output, FileFormat.Docx);

PowerPoint Examples

using Spire.Presentation;
using Spire.Office.EdgeAI;
using Spire.Office.EdgeAI.Presentation;

using var deck = new Presentation();
deck.LoadFromFile(input);

//Translate 
var result = await deck.TranslateAsync(TranslateLanguage.SimplifiedChinese,
    new PptTranslateOptions { AutoFitText = true });

//Extract
var spec = InspectionSpec.From(new[]
{
    { "key": "topic", "text": "What is the title of this presentation? Answer with the title only.", "multi": true },
    { "key": "phone", "text": "What is the contact phone number? Answer with the number only.", "multi": true }
});

var result = await deck.ExtractFieldsAsync(spec);
//Generate notes
var result = await deck.GenerateNotesAsync(new PptNotesOptions
{
    Apply = true,
    NoteTargetMinimum = 40,
    NoteTargetMaximum = 200
});
//Redact
var result = await deck.DesensitizeAsync(new PptDesensitizeOptions
{
    Apply = true,
    RulesOnly = true
});
//Expand
var body = (IAutoShape)deck.Slides[1].Shapes[1];

var result = await deck.ExpandAsync(new[] { body }, new PptRewriteOptions
{
    Strength = PptRewriteStrength.Standard
});
//Condense
var body = (IAutoShape)deck.Slides[1].Shapes[1];

var result = await deck.CondenseAsync(new[] { body }, new PptRewriteOptions
{
    Strength = PptRewriteStrength.Standard
});

deck.SaveToFile(output, FileFormat.Pptx2016);

Download and Resources

Visit E-iceblue for more information.


About E-iceblue

E-iceblue develops document processing components for .NET, Java, Python, and other development platforms. Its product portfolio covers PDF, Word, Excel, PowerPoint, email, and OCR solutions, helping developers integrate document creation, conversion, editing, and processing into their applications.

Contact us: