#include "PPTExtractor.h"
#include <iostream>

int main() {
    PPTExtractor extractor("example.pptx");
    std::vector<std::string> slidesText;

    if (extractor.extractText(slidesText)) {
        for (size_t i = 0; i < slidesText.size(); ++i) {
            std::cout << "Slide " << i + 1 << ":\n";
            std::cout << slidesText[i] << "\n";
        }
    }
    else {
        std::cerr << "Failed to extract text from PPTX." << std::endl;
    }

    return 0;
}