#include "docwire.h"
 
int main(int argc, char* argv[])
{
using namespace docwire
try
{
std::filesystem::path("test.zip") | content_type::detector{} | archives_parser{} | office_formats_parser{} | OCRParser{} | PlainTextExporter() | std::cout
}
catch (const std::exception& e)
{
std::cerr << errors::diagnostic_message(e) << std::endl
return 1
}
return 0
}
posted on 2025-07-05 09:57  北京开发  阅读(8)  评论(0)    收藏  举报