You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <duckx.hpp>
#include
using namespace std;
int main() {
duckx::Document doc("/home/hemingyang/Desktop/duckx/DuckX/samples/my_test.docx");
doc.open();
duckx::Paragraph ¶graphs = doc.paragraphs();
paragraphs.insert_paragraph_after("This is a new line added to the document.", duckx::formatting_flag());
doc.save();
std::cout << "Text added successfully!" << std::endl;
return 0;
}
double free or corruption (!prev)
Pls tell me how to add content in docx files
The text was updated successfully, but these errors were encountered:
#include <duckx.hpp>
#include
using namespace std;
int main() {
duckx::Document doc("/home/hemingyang/Desktop/duckx/DuckX/samples/my_test.docx");
}
double free or corruption (!prev)
Pls tell me how to add content in docx files
The text was updated successfully, but these errors were encountered: