Search code examples
google-docsexport-to-text

Export Google Doc **with** suggested changes to plain text


My research team uses "suggesting mode" in Google Doc to flag changes made to papers that we jointly write (in latex format/syntax). When I export the paper to "plain text", the text unfortunately ends up containing the original verbiage rather than the most recent version of suggested changes. I need the same capability in Google Docs as MS Word provides, which is the "tracked changes" (suggesting mode edits) being exported into the text file without first having to click the "accept" button on the suggested changes beforehand. Is there an app that already exists or which I could write that would incorporate the suggested/tracked changes when exporting the Google Doc to plain text?


Solution

  • The solution turned out to be more complicated than I originally anticipated, which is why it is explained on a different (but related) Stack Overflow question. The solution given for Programmatically temporarily altering a Google Docs and then replacing with the pre-altered version also answers this question.