This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let customStyles = { | |
| "code" : { | |
| "title" : "Code", | |
| "style" : { | |
| [DocumentApp.Attribute.FONT_FAMILY] : DocumentApp.FontFamily.CONSOLAS, | |
| [DocumentApp.Attribute.FONT_SIZE] : 11, | |
| [DocumentApp.Attribute.BACKGROUND_COLOR] : "#E8E8E8", | |
| }, | |
| }, | |
| "comic" : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /version 3 | |
| /name [ 6 | |
| My Set | |
| ] | |
| /isOpen 1 | |
| /actionCount 1 | |
| /action-1 { | |
| /name [ 12 | |
| Fit artboard | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function calcRect(rectArray) { | |
| var rect = { | |
| rect : rectArray.join(", "), | |
| topLeft : { | |
| x : rectArray[0], | |
| y : rectArray[1], | |
| }, | |
| bottomRight : { | |
| x : rectArray[2], | |
| y : rectArray[3], |