PPTX DOCX XLSX PDF ODP
Aspose.Slides  for C++
PPS

Extract PPS Metadata in C++

Build your own C++ apps to add, edit, remove or extract metadata from PPS files using server-side APIs.

Get PPS Metadata Using C++

In order to extract PPS metadata, we’ll use

Aspose.Slides for C++

API which is a feature-rich, powerful and easy to use document metadata extraction API for C++ platform. You can download its latest version directly, just open

NuGet

package manager, search for Aspose.Slides.Cpp and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Slides.Cpp

How to Extract Metadata of PPS via C++

IDocumentProperties class represents the document properties associated with a presentation file. Developers can use this property to access the metadata as described below.

  1. Load PPS file

  2. Get Document Properties using get_DocumentProperties()

  3. iterate for all properties using loop

  4. Print properties with each iteration.

System Requirements

Aspose.Slides for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Aspose.Slides for C++ DLL referenced in your project.
 

Extract Metadata of PPS - C++


const String templatePath = u"../templates/AccessModifyingProperties.pps";

System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>(templatePath);

// Create a reference to DocumentProperties object associated with Prsentation
System::SharedPtr<IDocumentProperties> documentProperties = presentation->get_DocumentProperties();

for (int32_t i = 0; i get_CountOfCustomProperties(); i++){
	System::Console::WriteLine(u"Custom Property Name : {0}", documentProperties->GetCustomPropertyName(i));
	System::Console::WriteLine(u"Custom Property Vlaue : {0}", documentProperties->idx_get(documentProperties->GetCustomPropertyName(i)));
}  
 
  • About Aspose.Slides for C++ API

    Aspose.Slides API can be used to read, write, manipulate and convert Microsoft PowerPoint documents to PDF, XPS, HTML, TIFF, ODP and various other formats. One can create new files from scratch and save those in the relevant supported formats. Aspose.Slides is a standalone API for creating, parsing or manipulating presentations, slides and elements and it does not depend on any software like Microsoft or OpenOffice.

    Extract Metadata of PPS via Online App

    View & edit Metadata to PPS documents by using our Live Demos with following benefits.

      No need to download or setup anything
      No need to write any code
      Just upload your PPS file & edit document properties
      Instantly get the download link for the resultant file

    PPS What is PPS File Format

    PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. The more latest version of this file format is PPSX which is based on Office OpenXML standards. PPS files can still be read by latest versions of Microsoft PowerPoint, but newly created files can only be saved in PPSX file format. When a PPS file is shared with another user and opened, it starts as Powerpoint show unlike PPT file which opens in editable mode.

    Read More

    Other Supported Metadata Formats

    Using C++, One can also manipulate metadata of many other formats including

    ODP (OpenDocument Presentation Format)
    OTP (OpenDocument Standard Format)
    POT (Microsoft PowerPoint Template Files)
    POTM (Microsoft PowerPoint Template File)
    POTX (Microsoft PowerPoint Template Presentation)
    PPSM (Macro-enabled Slide Show)
    PPSX (PowerPoint Slide Show)
    PPT (Microsoft PowerPoint 97-2003)
    PPTM (Macro-enabled Presentation File)
    PPTX (Open XML presentation Format)