jrmuizel / pdf-extract

A rust library for extracting content from pdfs
368 stars 75 forks source link

Added an optional word delimiter. #21

Open anderejd opened 4 years ago

anderejd commented 4 years ago

Added an optional word delimiter in PlainTextOutput, to help with CSV extraction.

jrmuizel commented 4 years ago

I think it makes more sense to implement your own OutputDev for your use case instead of modifying PlainTextOutput.

anderejd commented 4 years ago

That would have required a big chunk of copy pasted code from PlainTextOutput, that's the reason I chose this solution instead. Feel free to close if you don't like it, this project is done on my side. Thanks for publishing this library by the way 👍