Attīriet XLT failus, izmantojot C# un regulārās izteiksmes .NET galvenajās lietotnēs

Atrodiet un noņemiet sensitīvu informāciju no Office un OpenOffice dokumentiem, izklājlapām un prezentācijām, kā arī XLT operētājsistēmās Windows, Linux un macOS


Dokumenta teksta rediģēšana .NET API

Viens no formāta neatkarīgs interfeiss sensitīvas un klasificētas informācijas dezinficēšanai no PDF, Word, Excel, PowerPoint dokumentiem un attēliem, tostarp iespēja mainīt metadatus un noņemt komentārus. Izmantojot rīku GroupDocs.Redaction for .NET, varat rediģēt klasificēto informāciju un saglabāt rediģēto dokumentu mapē PDF, pārveidojot visas lapas rastra attēlos vai saglabāt dokumentu tā sākotnējā formātā turpmākai rediģēšanai.

Rediģēt tekstu no XLT, izmantojot regulārās izteiksmes, izmantojot C#

GroupDocs.Redaction ļauj .NET izstrādātājiem izmantot pilnu regulāro izteiksmju stiprumu, lai rediģētu XLT failu, veicot dažas vienkāršas darbības.

  • Izveidojiet klases Redactor gadījumu un ielādējiet XLT failu
  • Izveidojiet klases RegexRedaction gadījumu, lai atrastu un aizstātu tekstu
  • Izsauciet Redactor.Apply metodi ar RegexRedaction objektu

Sāciet darbu ar Redaction API

Instalējiet no komandrindas kā nuget install GroupDocs.Redaction vai izmantojot Visual Studio pakotņu pārvaldnieka konsoli ar Install-Package GroupDocs.Redaction. Varat arī iegūt bezsaistes MSI instalēšanas programmu vai DLL failā no downloads un manuāli atsaukties uz to savā projektā.

using (Redactor redactor = new Redactor(@"sample.xlt"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

XLT Lv Live Demo

Checkout the free online demo for XLT Lv.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is XLT File Format?

Files with .xlt extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. The latest version of Excel is still capable of opening this old format template files. Such a template file is used to quickly create new Excel files with default data and settings such as page formatting, font size, margins, charts, etc which can be further saved as new .xls files.

Read More

Other Lv Options

CSV Lv

(Comma Seperated Values)

DOC Lv

(Microsoft Word Binary Format)

DOCM Lv

(Microsoft Word 2007 Marco File)

DOCX Lv

(Office 2007+ Word Document)

DOT Lv

(Microsoft Word Template Files)

DOTM Lv

(Microsoft Word 2007+ Template File)

DOTX Lv

(Microsoft Word Template File )

PDF Lv

(Portable Document Format)

POT Lv

(Microsoft PowerPoint Template Files)

POTM Lv

(Microsoft PowerPoint Template File)

PPS Lv

(PowerPoint Slide Show)

PPSM Lv

(Macro-enabled Slide Show)

PPSX Lv

(PowerPoint Slide Show)

PPT Lv

(Microsoft PowerPoint 97-2003)

PPTM Lv

(Macro-enabled Presentation File)

PPTX Lv

(Open XML presentation Format)

RTF Lv

(Rich Text Format)

XLS Lv

(Microsoft Excel Spreadsheet (Legacy))

XLSM Lv

(Macro-enabled Spreadsheet)

XLSX Lv

(Open XML Workbook)

XLTM Lv

(Excel Macro-Enabled Template)

XLTX Lv

(Excel Template)

Back to top
 Latviešu