![]() New_par.appendInlineImage(resp.getBlob()) Var new_par = Doc.insertParagraph( j, substr) Var substr = par_text.substring(0,start) Var url = getURL_(par_text.substring(start,end)) Var totalElements = Doc.getNumChildren() Here's a workaround I've come up with by now, not elegant, but it works so far: // replace with the image fetched from URL Some fields in the Google form are multi-line text fields, that's where '\r\r' comes from. I've created a script which runs upon form submission, traverses a sheet corresponding to the form, find unprocessed rows, takes values from corresponding cells and put them into a copy of a Google document. ![]() I have a Google form created in a spreadsheet. Does anybody have idea how to do this?ĮDIT: Just to make it clear what my script does. Now I want to extend it to contain images. I have a Google Apps script which replaces placeholders in a copy of a template document with some text by calling body.replaceText('TextA', 'TextB').
0 Comments
Leave a Reply. |