![](https://secure.gravatar.com/avatar/aa5c165e09d0c8cf80aa3e1e866a133a.jpg?s=120&d=mm&r=g)
23 May
2016
23 May
'16
9:39 a.m.
Hi Tavmjong
I have been looking at how the styles are written from the "style" attribute-value pairs in XML editor to the svg file when drawing is saved. It is done via sp_repr_css_write_string() in repr-css.cpp.
On applying the extension, the block that is written has been implemented via merge_styles.py script (revision 13161).
How is the script connected and extracting various style values from the XML editor and showing it up as a class?
--
Kamalpreet Kaur Grewal
Blog: http://kamalpreetgrewal.com/