docxtractr
docxtractr copied to clipboard
Extract contents of document footers?
This package is incredibly handy, thanks!
I don't know much about XML, but looking at an unzipped docx file, it appears that, if the footer exists, each section of document has a corresponding footer XML file (e.g., footer1.xml
). Would it be possible to add a function that iterates through and extracts a document's footers (and headers, I suppose, but for the motivating use case, it's the footers I'm interested in)? It doesn't look like footers have IDs the same way comments do, but it would be great to be able to retain the section number of each footer... Is there any other information that would be useful?
Thanks in advance!
Man, how did I miss this (wicked crazy summer). Totally possible. Can def add.
I just dblchkd and the officer
package already has this baked in. Still wan't/need it in this 📦?