wernight / scruffy-server

Scruffy micro web server to have your own UML class/sequence diagram page like yUML and even more lean.
https://hub.docker.com/r/wernight/scruffy-server/
Apache License 2.0
44 stars 6 forks source link

Google Docs extension #13

Open wernight opened 10 years ago

wernight commented 10 years ago

Extension for Google Docs to have UML diagrams inside the document.

Possibly take a 1-table-cell as source and generate/update an image.

Better would be to have selection taken (if any) and then it replaces it by an image and below it a legend (e.g., "UML Class Diagram") with a link to edit the UML again.

See https://developers.google.com/apps-script/

motin commented 9 years ago

This is rather easy to set-up yourself. You need this "encode()" apps script from http://webapps.stackexchange.com/questions/66827/how-do-i-convert-a-cell-to-rfc-3986-standard-urlencoded-in-google-spreadsheets and some substitutions.

See proof-of-concept here: https://docs.google.com/spreadsheets/d/1j74MHPjDiqu7L5WC8KEzJ6dolHNrRCDwZPB7uBi7mbQ/edit?usp=sharing

wernight commented 9 years ago

I'm not talking about a Sheet's formula, but a Google Docs extension. Should still be relatively simple. Feel free to suggest a PR.

motin commented 9 years ago

@wernight Ok, like https://sites.google.com/site/plantumlgizmo/ but for Scruffy. Makes sense. Personally I don't create Docs extensions atm though.