Attīriet PPTM 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ī PPTM 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 PPTM, izmantojot regulārās izteiksmes, izmantojot C#

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

  • Izveidojiet klases Redactor gadījumu un ielādējiet PPTM 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.pptm"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

PPTM Lv Live Demo

Checkout the free online demo for PPTM Lv.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is PPTM File Format?

Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can’t execute macros though they can contain macros. PPTM files can be edited by opening them in Microsoft PowerPoint and updating the contents. Another similar format is PPSM but it is read-only by default and starts the slideshow when opened. PPTM, like PPTX, contains slides for different presentation elements like text, images, videos, graphs and other related material.

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)

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)

XLT Lv

(Excel 97 - 2003 Template)

XLTM Lv

(Excel Macro-Enabled Template)

XLTX Lv

(Excel Template)

Back to top
 Latviešu