fix
This commit is contained in:
@@ -120,6 +120,9 @@ PYBIND11_MODULE(pdfengine, m) {
|
||||
.def("extract_text", [](const pdfengine::PdfPage& self) {
|
||||
return get_or_throw(self.extractText());
|
||||
})
|
||||
.def("extract_annotations_text", [](const pdfengine::PdfPage& self) {
|
||||
return get_or_throw(self.extractAnnotationsText());
|
||||
})
|
||||
.def("extract_text_with_bounds", [](const pdfengine::PdfPage& self) {
|
||||
auto res = get_or_throw(self.extractTextWithBounds());
|
||||
py::list py_list;
|
||||
|
||||
Reference in New Issue
Block a user