Qt编辑docx文件
https://github.com/amiremohamadi/DuckX #include <iostream>#include <duckx/duckx.hpp>
int main() {
duckx::Document doc("file.docx");
doc.open();
for (auto p : doc.paragraphs())
for (auto r : p.runs())
std::cout << r.get_text() << std::endl;
}
页:
[1]