+####################################################################
+# Private helper functions
+
+def find_end_of_inset(lines, i):
+ "Finds the matching \end_inset"
+ return find_end_of(lines, i, "\\begin_inset", "\\end_inset")
+
+# End of helper functions
+####################################################################
+
+
+def change_insetgraphics(document):
+ " Change inset Graphics."
+ lines = document.body